Mobile runtimes are moving target, especially with the transition from MonoVM to CoreCLR and NativeAOT. Things like globalization APIs got rewritten at one point from ICU to native APIs. It's not a tiny change, even if the change is good.
TODAY at 12PM PT - .NET MAUI Community Standup
CoreCLR and Profiling Your MAUI App
The .NET MAUI team discusses what CoreCLR will mean for .NET MAUI apps and the new tools he has been adding to MAUI Labs to make profiling your MAUI app a breeze!
🎥 youtube.com/watch?v=F1isgO3X…
ALT Spot art.
Photo of presenter(s)
text reads: .NET MAUI Community Standup: CoreCLR & Profiling your MAUI app
.NET MAUI Community Standup tomorrow!
Šimon Rozsivál joins me and David to talk CoreCLR on MAUI and the new profiling tools he's been adding to MAUI Labs.
If you care about app performance, this one's for you.
Oh. And while speaking of language itself, CoreCLR (a new runtime / VM) must be mentioned as well.
It is VERY optimized, much ahead of JVM already (and JVM is very good VM). Dotnet team did some crazy performance upgrades to new CLR.
A C# backend with new CLR, high performance code and Kestrel webserver can handle some absurd load.
بحث interop بیشتر به نظرم میره سمت CoreCLR و JIT. اما اضافه کردن سنتکسهای جدیدتر، برای interop با زبانهای دیگه، یکم جاهطلبانه و عجیبه.
جدا از این، خیلی از اینها syntactic sugar هستن. برای دولوپری که سالیان سال، با اون روش مرسوم یه کد رو زده، ریسک از بین رفتن readability بالاست که بخوان سوییچ کنه روی این جدیدا. مگر اینکه از قبل، پروژه، با این سینتکسها و conventionهای جدید نوشته شده باشه.
نمونه: تایپ record! سالها طول کشید که همه بفهمن اصلا چیه و usageش چیه!
.NET MAUI moves to CoreCLR in .NET 11 Preview 4, bringing unified runtime behavior, dotnet-trace on mobile, and performance building blocks like R2R, PGO, and a path to NativeAOT.
#dotnet#dotnetmauibbb.dev/u7rgxv2q0i
In this drop, SearchValues<T> turns string scanning into a hot path rocket with SIMD doing the heavy lifting for 3-10x wins. Plus real-world takes on EF Core vs SQL at scale, MAUI on CoreCLR, and a tidier Process API.
#csharp#dotnetbbb.dev/z7x5ihjo7d
From my POV, IL2CPP is a competitive advantage that Unity isn't realizing now. They could do so much with it, but they don't!
It will be a long while until CoreCLR is an alternative across all platforms (web!). Even then it would be much smarter to double down on IL2CPP instead.