> Can this be used as a sort of Nim script? And if so, I understand that it 
> wouldn't have limitations in terms of using wrapped libraries, would it?

yep - it can run anything that can be compiled

> Or is Nim script significally faster when started?

I haven't timed it, but I expect nimscript to the faster for small scripts (due 
to startup time) while nlvm would be faster for longer-running things - that 
said, the optimization pipeline is not yet enabled for this first JIT commit, 
so ymmv and eventually nlvm startup times can likely match those of nimscript 
more or less

> Does it only compiles C? Before compiling, does it also stores the C files 
> inside the cache?

`nim` does this, yes - `nlvm` does not, see 
<https://github.com/arnetheduck/nlvm#introduction> for more info.

Reply via email to