4 ms·
Maybe a stupid question, but is AOT a new name for what just few years ago we used to call "normal" compilation?
by TeMPOraL 10y ago
Maybe a stupid question, but is AOT a new name for what just few years ago we used to call "normal" compilation?
- eatonphil 10y agoMaybe the point is that Javascript is JIT compiled?
- nickpsecurity 10y agoNo, lol, it's exactly normal compilation. It's a buzzword that differentiates languages without normal compilation (esp using VM's or interpreters) from special implementations of them that do support that. The latter have "AOT" compilation. Wikipedia states the difference is AOT compiles the bytecode of an existing VM. It's still just a compiler, though, given the end result is mostly the same.
- jeff_petersen 10y agoI suppose the contrast is with JIT compilation, which has a lot of mindshare now so it's valuable to make the distinction
- lacampbell 10y agoYeap. It's quite a common linguistic phenomenan, when a term like JIT stops being a fringe thing and enters mainstream discourse among an audience, what used to just be "normal" now gets a name. "Imperative programming" might be another one. IRL, think about how "cisgender" has entered into mainstream vocabulary in the past few years, or "heterosexual" many years before that.
- pjmlp 10y agoYes, because nowadays VM with dynamic compilation are a thing on mainstream computing, which used to be only available on mainframes or specialized hardware systems like those developed at Xerox PARC, DEC and ETHZ. So ahead-of-time compilation, as linguistic term and CS literature, was born as a way to differentiate from dynamic compilation.