3 ms·
Oh cool I love janet, I've been using it everywhere I can recently. There definitely weren't many good resources on it last year, though it wasn't too hard to l
by giraffe_lady 4y ago
Oh cool I love janet, I've been using it everywhere I can recently. There definitely weren't many good resources on it last year, though it wasn't too hard to learn despite that.
This language also completely converted me to PEGs for entire classes of problems, and I'm now often annoyed in other languages that don't have them. Libraries exist, but having it built in is so nice, and the s-exp syntax works much much better for them than almost anything else you could come up with.
A moderate issue I had was finding functions for what I wanted, since the docs were set up more tutorial style, then there was just a huge list of every function. Spent a lot of time skimming through that guessing what I could be looking for.
Another thing I ran into is the concurrency/fiber system still feels like a work in progress. There are several different ways to handle concurrency depending on how you want to combine the abstractions, and some parts of the (otherwise excellent) standard lib don't work well with it. It also combines nastily with a lot of C libraries, which is rough in a language that seems to expect you to use C bindings often. Understandable limitation and there's probably not a good clean solution.
Anyway this book looks great, I really hope it brings more people into janet. It's an excellent language for a lot of applications where people reach for the imo extremely overrated lua.