Hacker News new | ask | show | jobs
by janetacarr 13 days ago
I have my qualms with Janet. Mostly, it's lack of package management versioning and lack of libraries in general (advanced HTTP routing, etc).

I do LOVE that Janet can create binaries with JPM, scripts, and is very portable. I once put the Janet programming language on the Playdate game console as POC.

I actually do enjoy writing Janet, but every time I do people think I created the language (I did not).

5 comments

Julia Evans has a fun blog post using Julia to visualize Gunzip: https://jvns.ca/blog/2013/10/24/day-16-gzip-plus-poetry-equa...

you should totally do a "Janet writes Janet" version

Have you tried jeep?

https://github.com/pyrmont/jeep/

It let's you vendor deps and easily install modern Janet bundles without jpm.

If you want server side, as veqq says there's joy which implements its own lightweight http server. If you want a client, it's quite trivial to use the Janet C API to wrap libcurl or any other HTTP client. If you're open to LLM development have the LLM write the wrappers and write your actual logic in Janet.
> advanced HTTP routing

What do you concretely mean by this? I use https://github.com/joy-framework/joy for all web stuff and can probably get your missing features in within the week.

TLS. There are some curl wrappers but last time I checked they did not work
There's a few that don't work, but one works phenomenally well— CosmicToast/jurl is incredible (unless you're on Windows—the library as a whole does work on Windows but the build script doesn't have Windows instructions in it, you have to hack that yourself).
Besides the 2 the others shared, Joy does that too.
WUT UP YOU FRICKEN H-nvm.

i watch ur streams on twitch lol