.Net 8 preview 1 即將到來,讓我們來提前看看都要發佈什麼吧。
.Net 8 preview 1 即將到來
.NET 8 的第一個預覽版將在幾周內發佈,微軟的 David Ortinau 在斯德哥爾摩舉行的一場在線技術活動中說。這個消息是在.NET Frontend Day 的一個.NET MAUI 的演示中透露的,這個活動可以在 YouTube 上觀看。.NET 8 將在 2023 年 11 月 10 日左右的.NET Conf 2023 活動中發佈,.NET GitHub 倉庫顯示.NET 8 的開發工作已經完成了 44%。.NET MAUI 和 Blazor 是今天.NET Frontend Day 的重點,GitHub 倉庫顯示有很多與它們相關的問題,例如“MAUI Android 的 ImageSharp 性能很差”、“Blazor WebAssembly 在低內存的移動設備上崩潰”等。Steve Sanderson 在一月份的 YouTube 視頻中展示了一個名爲 Blazor United 的新項目,它是一個原型項目,之後會被移動到了 GitHub 流程中。
可發帖可羣聊的技術交流方式已經上線,歡迎通過鏈接,加入我們一起討論。 https://www.newbe.pro/links/
將會帶來什麼?
目前已知的包括:
- BCL: Utility methods for working with randomness. - BCL: 處理隨機性的實用方法。
- CLR AppModel team: NativeAOT size improvements. - CLR AppModel 團隊: NativeAOT 大小優化。
- System.Text.Json Improvements: Missing member handling, Source generator support for required and init properties, Interface hierarchy support, Snake Case and Kebab Case, Add JsonSerializer.MakeReadOnly() and IsReadOnly APIs. - System.Text.Json 改進: 缺失成員處理,源代碼生成器支持必需和初始化屬性,接口層次支持,蛇形命名和烤串命名,添加 JsonSerializer.MakeReadOnly()和 IsReadOnly APIs。
- Mono: .NET Hot Reload supports adding instance fields, properties and events - Mono: .NET Hot Reload 支持添加實例字段,屬性和事件。
- WebAssembly: experimental “Webcil” a new container format for .NET assemblies - WebAssembly: 實驗性的"Webcil",一種用於.NET 程序集的新容器格式。
- Mono: Debugging .NET WebAssembly App supports loading symbols from symbol server as configured in Visual Studio - Mono: 調試.NET WebAssembly 應用程序支持從符號服務器加載符號,按照 Visual Studio 的配置。
- General SIMD improvements - 通用 SIMD 改進。
- Fundamental PGO improvements - 基本 PGO 改進。
- Loop Optimizations - 循環優化。
- JIT Throughput Improvements - JIT 吞吐量改進。
- .NET Libraries - System.Numerics and System.Runtime.Intrinsics - .NET 庫 - System.Numerics 和 System.Runtime.Intrinsics。
說點我看得懂的👽
其實很多我也看不懂,找點我看得懂的。
- 如果一個實現類實現了多個接口,那麼現在使用接口序列化,就只會得到對應的接口才有的屬性。 而且接口之間接口也將按照預期。https://github.com/dotnet/runtime/pull/78788
- 你可以通過 JsonSerializer.MakeReadOnly 方法來標記一個 JsonSerializer,加快序列化過程中對 Options 的檢查。https://github.com/dotnet/runtime/pull/74431
- AOT 之後的程序集大小在 windows 和 linux 都減少了快一半。https://github.com/dotnet/runtime/issues/79003
- WebAssembly 的調試支持從符號服務器加載符號。https://github.com/dotnet/runtime/pull/79284
- NativeAOT support for macOS x64 and arm64!https://github.com/dotnet/core/issues/8133#issuecomment-1402637515
參考資料
感謝您的閱讀,如果您覺得本文有用,請點贊、關注和轉發。
可發帖可羣聊的技術交流方式已經上線,歡迎通過鏈接,加入我們一起討論。 https://www.newbe.pro/links/
- 本文作者: newbe36524
- 本文鏈接: https://www.newbe.pro/Others/0x01B-dotnet-8-preview-is-coming-soon/
- 版權聲明: 本博客所有文章除特別聲明外,均採用 BY-NC-SA 許可協議。轉載請註明出處!