Re:Why I rewrote my Rust keyboard firmware in Zig: consisten...
by p0nce on Sunday March 07, 2021 @08:37AM
(#26375727)
Yes. But you could see the new crop of native languages as: as close to LISP as possible without codegen in the runtime. There is this 2x gap between JIT and AOT.
(EDIT: Other than that I'm not sure if any of the new kids can introspect on the content - lines of codes - of a function, like LISP would).
[ Parent
| on HN ]
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten...
by pjmlp on Sunday March 07, 2021 @05:09PM
(#26380257)
Lisps support AOT compilation since several decades, image tree shaking, and actually having a compiler in the runtime allows for tooling that most languages lack.
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten...
by p0nce on Sunday March 07, 2021 @05:44PM
(#26380519)
Can you avoid having a compiler in the runtime?
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten...
by pjmlp on Monday March 08, 2021 @02:46AM
(#26383200)
Sure, AOT compilation + tree shaking.
This is one way,
http://www.lispworks.com/documentation/lw70/DV/html/delivery...