Questions tagged [aot]

Ahead-of-time (AOT) compilation

Ahead-of-time (AOT) compilation is the act of compiling a high-level programming language such as C or C++, or an intermediate language such as Java bytecode or .NET Common Intermediate Language (CIL) code, into a native (system-dependent) machine code with the intention of executing the resulting binary file natively.

4 questions
19
votes
2 answers

How do Java AOT compilers work?

There are a few number of tools out there (Excelsior JET, etc.) that claim to transform Java app's into native executables (*.exe). However it is my understanding that these tools are really just creating native wrappers that invoke/execute java…
smeeb
  • 4,820
  • 10
  • 30
  • 49
9
votes
1 answer

Pros and cons of JIT and AOT

In which respects "Just In Time" compilation is better than "Ahead Of Time" compilation? And vice versa.
Gulshan
  • 9,402
  • 10
  • 58
  • 89
6
votes
1 answer

Why is Android Runtime's AOT compilation more performant than Dalvik's JIT?

With Android 5.0, Google has introduced the Android Runtime, or ART. ART "brings improvements in performance, garbage collection, applications debugging and profiling." However, it also replaces Dalvik's Just-in-Time compilation with Ahead-of-Time…
Mitch Lindgren
  • 454
  • 3
  • 10
1
vote
3 answers

Why do we oppose AOT and JIT compilation. Can they be complementary?

I'm just not sure as to why JIT (Just-in-time) and AOT (Ahead-of-time) are often presented in contradiction to another. If we do not care about about portability, it feels to me that a program could very well be AOT compiled and then, at runtime…
jeremie
  • 153
  • 4