Even though I get paid to write Java I’m very much so looking forward to AOT C# and may just make it my main language once it’s released. With AOT C# we’ll finally have a mainstream and _ergonomic_ natively compiled language (i.e. not Go). With .NET MAUI for cross platform apps, and AOT Blazor WASM it seems like the one platform to rule them all.
My only gripe with the language I think is async/await but that isn’t a deal breaker considering only Go and Java (eventually) have decided against it.
I get paid to write both (Java and .NET languages), depending on the project.
AOT C# has existed since 2002 in various forms actually.
I wouldn't bet too much on MAUI, in fact I would kind of bet on older GUI stacks until the UI political wars at Redmond kind of settle down on what they actually want to bring forward.
Uno and Avalonia are safer bets for cross platform .NET applications.
Uno, Avalonia, Maui, whatever! It’s probably better supported than JavaFX!
> In 2021 Java and C# aren't the same languages as in 2021
IMHO beginning with the addition of Linq C# walks the way of C++. It is increasingly becoming a language of many faces / aspects. Don't know if this is a good thing.
Programing languages are products, like everything else, adapt, or stagnate and slowly die away.
Even C23 isn't the same as K&R C.
Re:Crystal 1.2.0
by regularfry on Friday October 15, 2021 @05:29AM
(#28875883)
That was, what, 2007? I'm not sure "increasingly becoming" is the right description here.
In 2021 Java and C# aren't the same languages as in 2021. The midori team rejoined .NET and has brought many of the learnings into .NET Core, since C# 7.0, C# has been surfacing CLR features that were only available to C++/CLI, and .NET 7 (yeah still one year away) will finally fix the whole ongoing AOT story.
There are runtimes like Meadow for embedded development, runing on top of NuttX.
Java has been feeling the pressure of languages like Go, and also so also improving its value types, GPGPU programming and AOT story. Also supports embedded development and there is that phone OS out there, even if the language is a subset of the real deal.
C++20 has taken most of the top selling D features (auto, modules, if constexpr, ranges,...), even if in a more clunky way, as always. Then GPGPU programming has made it the SQL of graphics programming.
While many argue that Go isn't a systems programming language, others ship compilers, GC, unikernels, Nintendo Switch games, and even firmware written in Go.
Rust has been gaining steam across Linux kernel, the OSes from Amazon, Google, Microsoft, ARM.
Meanwhile D is still trying to find its niche, without offering the ecosystem of the languages above.
The community is great, the language could have been a deal changer 10 years ago, specially when Facebook and Remedy Games played with it (imagine Unity with D instead of C#), but now I fear it has lost the opportunity.