by nprateem · 3y ago · 0 comments
* compiles (ie no interpreter/VM required)
* is statically typed and has generics
* has exceptions or option types
* doesn't have a borrow checker
* isn't purely functional but has map, filter, pattern matching, etc
* has reasonable traction
Is there anything like this?
Beyond that, it actually looks really cool!
AOT is already a thing since .NET 1.0, but NGEN has always had the inconvenience of AOT on install with dynamic linking.
WinRT brougth MDIL on Windows 8.x, replaced by .NET Native on Windows 10.
Mono has always had AOT, specially due to Xamarin for Android.
Unity uses AOT for C# code, via translation of IL into C++, IL2CPP.
Currently Native AOT only supports CLI and libraries, .NET 8 hopefully will support GUI applications as well.
Otherwise, D, Nim, Delphi, FreePascal.
I suggested to GP to take a look at V, though, because V has a Go-like syntax + it has everything GP is looking for.
Why do you see that a negative though?
Overall it provides guarantees I don't need for what I want to write so doesn't justify the additional cognitive overhead.
Maybe Carbon eventually.