Hacker News new | ask | show | jobs
by bmacho 748 days ago
No janet despite https://ianthehenry.com/posts/janet-game/ (article copyrighted between 1899-1907, but doesn't look vintage that's a shame)
2 comments

Janet seems to have fallen through the cracks. I went back to fennel for scripting stuff, mostly because I can just go and get a lot more Lua libraries and run it everywhere (even on my iPad with a-Shell) with zero hassle.
Do you think that Fennel adds enough value on top of Lua to justify the extra compilation step?

I mean it is valid to use it for the fun of it, just wondering. Lua is already more or less a Scheme clothed in a more conventional syntax. On top of that the fact that Lua already has excellent metaprogramming capabilities kind of negates the typical advantage of using a lisp-style syntax. So what is Fennel bringing to the table?

Compared to Lua, Fennel brings to the table:

- Lisp syntax, so structural reading, navigation, and editing,

- above-average Lisp macro system, so fundamental extensibility,

- pattern matching, so a bit more expressiveness, and

- some compile-time safety checks.

Also, more parenthesis. Which are a great reminder of more civilized times in computing.
Hi! Considered Janet very seriously, but couldn't see an immediate path to get where I wanted to go with it (web app, using WebGL (ThreeJS)).

There were some useful references in this thread: https://janet.zulipchat.com/#narrow/stream/409517-help/topic... and maybe I can try them later.

As it was, even with a proven production path, I still barely got something playable on time... ("Playable" is perhaps generous.)