Monday 2025-02-24 Assorted Links
Assorted Links links
Published: 2025-02-24
Monday 2025-02-24 Assorted Links

Assorted links for Monday, Febuary 24:

  1. shared_ptr overuse in C++

    The pitfall can be divided in two:

    • Passing smart pointers to functions that don’t have to deal with ownership
    • Improper use of shared_ptr in non-owning objects
  2. .NET 9 Networking Improvements

    In this release, we made two impactful performance improvements in HTTP connection pooling.

    • We added opt-in support for multiple HTTP/3 connections.
    • We also addressed lock contention in HTTP 1.1 connection pooling (dotnet/runtime#70098).

    One of the main pain points when debugging HTTP traffic of applications using earlier versions of .NET is that the application doesn’t react to changes in Windows proxy settings. This issue was mitigated in dotnet/runtime#103364, where the HttpClient.DefaultProxy is set to an instance of Windows proxy that listens for registry changes and reloads the proxy settings when notified.

  3. What’s New for ASP.NET Core & Blazor in .NET 9
    1. Making Static Files Lightning Fast with MapStaticAssets
    2. Blazor Gets Even More Interactive and Hybrid-Friendly
    3. Simplified Authentication State Management
  4. Simplify your .NET data transfers with the new Azure Storage Data Movement library
  5. New York Times goes all-in on internal AI tools

    The New York Times is greenlighting the use of AI for its product and editorial staff, saying that internal tools could eventually write social copy, SEO headlines, and some code.