Hacker News new | past | comments | ask | show | jobs | submit login

Oh neat I’ve never heard of NativeAOT. I’ve only used Unity’s AOT compiler “Burst” for C# (I assume that is something different?).

Cool stuff.

edit: Actually I meant to say Unity’s IL2CPP, which transpiles IR to C++. Burst is a different tool with similar goals—it compiles IR straight down to native via LLVM.




To be precise, runtime is an umbrella term. Swift, C++ and Rust usually have """runtime""" just as much. Which includes but not limited to:

- Automatic or semi-automatic memory management

- Threadpool and, optionally, async abstraction implementation

- APIs to introspect type system properties / reflection

Swift very much has all these. And so does .NET.

As for Unity, it has diverged and lags behind "vanilla" .NET in features, language versions and performance significantly, so the experience of using it won't translate to what is expected to be "normal" C#/.NET of today.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: