Lurker News
Back to discussion

Comment by aasasd

aasasd2 replies#
I'm currently using a CPU-slow machine, and I've discovered everything is slow among the popular scripting languages, except Lua. I've thought JS has good startup time, but some of my Lua scripts that are doing file i/o finish faster than node.js does a ‘hello world.’ Lua is also very lightweight on memory, to my knowledge. I think it can even do true multithreading, via libraries.

So, there's a Lisp on top of Lua―compiled, not interpreted: https://fennel-lang.org
It's deliberately feature-poor, just like Lua: you use libraries for everything aside simple functions and loops. And it suffers somewhat from double unpopularity of Lua and Lisp. But it works fine.

DickieStarshine1 reply#
Have you looked at Julia?
MiroF3 replies#
Julia is compiled to machine code, not interpreted
vanderZwan1 reply#
That has nothing to do with how "lispy" it might be. Part of the compiler is implemented in femtolispe no?

Continue this thread — 1 reply

fiddlerwoaroof6 replies#
Many lisps compile to machine code too. Compilation vs. interpretation is a feature of an implementation, not a language.

Continue this thread — 6 replies

e12e#
Julia is currently (only) jit. AOT is stil work in progress AFAIK.

It's about as "compiled" as Luajit is.