3 ms·
I'm pretty sure that C# AOT does not eliminate the need for a JIT in the runtime system. Just as one example, how could expression trees be implemented without
by swift 10y ago
I'm pretty sure that C# AOT does not eliminate the need for a JIT in the runtime system. Just as one example, how could expression trees be implemented without one?
- pjmlp 10y agoYou cannot use them. In .NET Native you have to explicitly inform the compiler of any kind of reflection behavior you might require.
- zgramana 10y agoNot quite right. Mono has the lovely mkbundle tool which can do what the poster wants: AOT your intermediate/byte code and build a statically linked executable containing your app, the runtime, and all your deps (except for key system dynamic libraries like libc or Security.framework, similar to how go works). No restrictions on reflection, unlike .NET Native (which has slightly different design goals). I've used it many times for just this reason with great results. Plus, the runtime was re-licensed to MIT/X11.
- pjmlp 10y agoMy .NET experience is only on Windows, thanks for the clarification.