4 ms·
Tangential but I’ve been writing a lot of Janet recently using Joy[0], web framework, to build a small web app. Would love to hear what you learned about Janet
by roxolotl 1y ago
Tangential but I’ve been writing a lot of Janet recently using Joy[0], web framework, to build a small web app. Would love to hear what you learned about Janet from doing this work and how you feel about the language afterwards.
The one thing I’ve noticed is that it seems like Janet had a burst of interest 2020-2022 but it has since slowed down. Would love to see it become popular again. The main reason I’m using it is because I like how it’s both powerful and lightweight. I’d use clojure but I don’t want Java. I’m tempted to also try Common Lisp but so far Janet has been great.
[0]: https://github.com/joy-framework/joy https://github.com/joy-framework/joy
- agentkilo 1y agoI think Janet is quite...liberal? It's a practical language, but doesn't force a specific paradigm on you. There're "escape hatches" in different levels of the language, and I like that. Maybe the most "opinionated" things in Janet are the ev stuff and fibers. I think they're done right though, you just need to be careful with the event loop when embedding Janet.
- nicce 1y agoHow it compares with Lua?
- 77pt77 1y agoThis one actually has real arrays (mutable and immutable)
- giraffe_lady 1y agoStrictly better unless you need an extremely small runtime rather than a very small one, or are exposing a scripting API to users who will recoil from prefix notation.
- behnamoh 1y agoIf you like Janet and Lua, might as well try Fennel, which was made by the creator of Janet.
- nicce 1y agoI have read about Fennel many times and considered on trying it - I didn’t know that they have the same author!
- deleted 1y ago[deleted]