logoalt Hacker News

janetacarryesterday at 1:54 PM5 repliesview on HN

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).


Replies

FelipeCortezyesterday at 1:58 PM

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

show 1 reply
ramblurryesterday at 5:44 PM

Have you tried jeep?

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

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

Karrot_Kreamyesterday at 5:44 PM

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.

veqqyesterday at 4:26 PM

> 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.

show 1 reply
cod1ryesterday at 10:36 PM

WUT UP YOU FRICKEN H-nvm.

i watch ur streams on twitch lol