3 ms·
Using a system like LLVM locks you into C-like behavior. You can work around it, but it's harder and can come with unnecessary overheads. Nanopass is one appro
by shakna 10y ago
Using a system like LLVM locks you into C-like behavior. You can work around it, but it's harder and can come with unnecessary overheads.
Nanopass is one approach to compiling that tends to be more general.
However, LLVM is great if you just want to compile without learning the intracies of assembly. It even gives you access to multiple backends.
Linking against a framework let's you get up to speed faster, and someone else handles the security in your compiler, for the most part.
But, when you need flexibility, you'll probably need to do it yourself.
(See Scala and Dotty, as Scala becomes even less Java-like).