So much purple. 2023-11 net8 release at dotnetconf, c-sharp 12. Rough thoughts, reading links
dotnet8 at release (Nov 2023)
.NET Framework v8 (see this impressive summary), is a LTS version providing 3-years of support ending November 10, 2026.
Whats new in C# 12?
- https://devblogs.microsoft.com/dotnet/announcing-csharp-12/
- Mads - Language Designer
- Every feature in C#12
- Standouts:
- Collection expressions constructors
List<int> x4 = [1, 2, 3, 4];
- Collection expressions spread operator
List<int> x8 = [...x4, 1, 2, 3, 4];
- Primary constructors on classes
public class BankAccount(string accountID, string owner) {...}
- Collection expressions constructors
Hardware Intrinsics in .NET Core
https://devblogs.microsoft.com/dotnet/hardware-intrinsics-in-net-core/
https://xoofx.com/blog/2023/07/09/10x-performance-with-simd-in-csharp-dotnet/
Explore the CLR
https://chnasarre.medium.com/how-to-dig-into-the-clr-bd67d884f8da
LINQ marbles
https://linqmarbles.info/sum
Configure Await
https://devblogs.microsoft.com/dotnet/configureawait-faq/
https://blog.stephencleary.com/2023/11/configureawait-in-net-8.html
Dotnet and Containers
https://github.com/richlander/container-workshop/blob/main/dockerfile-samples.md
https://opencontainers.org/about/overview/
Videos