3 ms·
What's the difference between it and Common Lisp? Isn't Common Lisp also AOT compiled?
by DeathArrow 5y ago
What's the difference between it and Common Lisp? Isn't Common Lisp also AOT compiled?
- baq 5y agoAOT doesn't necessarily mean GC-less, right?
- brabel 5y agoMaybe they actually mean VM-less, which would probably imply GC-less because if you have a GC, you pretty much have a VM doing the GC (unless it's simple ref-count). For embedded, you need VM-less, I think, as VMs tend to be too heavy.
- bitwize 5y agoGambit has a VM and a GC, and is still AOT-compiled to C. (The Gambit VM is an intermediate representation of Scheme code which is then compiled down to C code.)
- white-flame 5y agoVMs imply a non-native bytecode execution. Garbage collection doesn't require any of that. It's just normal library code usually called by the allocator, and well-specified memory object/pointer layouts.
- jdc 5y agoFirst of all, Common Lisp is a language with several implementations, some of which offer AOT compilation. Secondly, a garbage-collection (aka automatic memory management) does not exclude AOT.
- jdc 5y agoSee also the Boehm GC, a garbage collector for C and C++. https://en.wikipedia.org/wiki/Boehm_garbage_collector https://en.wikipedia.org/wiki/Boehm_garbage_collector