Janet 1.42.0 released with bug fixes and documentation improvements
The Lisp dialect emphasizes compile-time/run-time blending and ships major documentation revamp led by sogaiu.
What to know
- Janet 1.42.0 shipped with critical fixes for garbage collection issues, fiber stack corruption, and thread-safety bugs alongside extensive documentation improvements led by contributor sogaiu.
- Users praise Janet's seamless blending of compile-time and run-time execution as a distinctive feature, though documentation quality remains the ecosystem's acknowledged weak point.
- The release prioritized completing long-pending changes and getting them into users' hands; maintainers are actively addressing feedback on tooling gaps and documentation completeness.
The dispute Whether the changelog format (many repeated "Improve docstring" entries) serves users well—some saw it as bloat when the improvements are purely documentation, while others defended structured commit messages for generating release notes. · positions read across 24 posts and comments
Janet is well-designed with distinctive features that overcome problems in other languages.
-
“I really like Janet. I think it was the first programming language I encountered where there was basically no distinction (in code) between compile time and run time.”
ChrisDenton · Lobsters
Documentation quality is severely inadequate and a major barrier to adoption.
-
“However, it must be said that the documentation is the worst I've ever seen across any language ecosystem.”
FIGBERT · Lobsters
Developers struggle with tooling integration and version management despite maintainer efforts.
-
“Now, when I run `jpm build`, I see… error: could not load native”
FIGBERT · Lobsters
“Do you have any examples? They shouldn't really come up. A few of us are working on the documentation, but it's a slog.”
veqq, Janet maintainer · Lobsters
sogaiu Janet contributorveqq Janet maintainerbakpakin Janet contributor
The record 0 articles and posts · last 30 days
What people are saying 24 voices from 1 site · verbatim
- Why do library references in the official Janet guide become stale so quickly, and what's the plan to keep them current?
- What's the recommended way to manage multiple versions of Janet and its dependencies without cache conflicts?
- Sep 10
-
Installing packages globally has been the default in Python, Lua and many other languages for years - I'm not sure it came to Janet from C. If you prefer having them per-project, you can pass the `--local` flag to jpm (I think `-l` also works).
- Sep 5
-
`jpm clear-cache` then `jpm update-installed` to upgrade packages. `sh` became
- Sep 2
-
These are understandable issues, you're correct—and I'll join the Zulip. But I'll also note that a lot of these, I think, are just C-isms: packages being global installs, compiled independently of the projects consuming them, was a big part of the issue I was experiencing above and pretty much disappears when you statically link rather than…
-
Maybe time to check it out again, I loved `sh` but my code broke some time last year when homebrew decided to upgrade janet. I have since rewritten my stuff in python with worse syntax (boo) but it was just not worth troubleshooting.
-
Janet's not the only language like this, though - the same issue exists in Racket, for example. The community's pretty small and writing professional docs is hard. Discussions around things that are "outdated" (not really) are extra confusing (eg. jpm, mendoza, sh library). In practice you can use them just fine and not worry about it. Especially…
- Sep 1
-
It was a lisp joke that if you see the same syntax repeated, it should be lifted to a macro/function. Tongue-in-cheek.
-
Ahh, sorry I misunderstood. You mean the commit messages should be more "structured" in some sense?
-
I was using "syntax" in the racket [sense](https://docs.racket-lang.org/reference/syntax-model.html#%28tech._syntax._object%29), i.e. there should be a macro for that changelog.
-
Ah, that kind of version issue! You need to do `jpm clear-cache` before `jpm update-installed` to update the packages. I use this update script although I'll change it later today to remove `sudo` via a different installation path: https://codeberg.org/veqq/setup-linux/src/branch/master/install-newest-janet.sh But we're on it…
-
Also, for the record, I appreciate that documentation is a slog and that a random person complaining on the internet can be frustrating. So: I really like Janet! It's been an incredible introduction to a whole new side of programming that I've never encountered before! JanetDocs in particular is a really wonderful source in getting me up and…
-
Hah! Feeling silly about the LSP comment, as I clicked on that link and it was already in my history. Wonder why I didn't get it up and running. I use Helix. On the version issues, I'm having some right now actually. I found a bug in a PEG I wrote, so I tweaked it and have attempted to recompile. I also updated Janet via `brew` today. Now, when I…
-
> rider changes They only impact the documentation, no behavior. Some (positional) parameters have been renamed to be consistant with others, because the parameters are shown in the documentation.
-
> LSP What editor do you use? We have multiple LSPs. Personally I use: https://github.com/CFiggers/janet-lsp via https://github.com/CFiggers/vscode-janet-plus-plus/ which... already has all the features in the "planned features". > version issues Do you have any examples? They shouldn't really come up. Maybe we can squash some misleading stuff. A…
-
I've been doing some Janet programming for single-user projects at work, as I'm a big [Ian Henry](https://janet.guide) fan and have been wanting to learn a Lisp for a while. I previously bounced off several due to what seem to me to be obtuse installation processes—Janet is a nice single binary. I've had a lot of fun with it! In particular…
-
That's the feature that made me fall for Janet! The 2nd half of this comment is all about it/the convoluted ways I'd tried to do it in languages before:
-
> janet-pm ... under-documented `janet-pm` can perfectly use `jpm` stuff, but is meant to implement 90% of obvious stuff, so you can build your own package manager on top of! So we have e.g. https://github.com/pyrmont/jeep/ and others which work on bundles and `jpm` stuff. Sogaiu is working on documentation for it. I also wrote…
-
If I'm remembering right (it's been a bit) that's exactly what they do with their boot.janet as well. The whole thing is structured so that the bare minimum of environment setup is done in C, just enough to hand it off to boot.janet which handles the rest of it. Boot.janet itself gets pre-compiled at build time so that it doesn't need any parsing…
-
This can also give you "bundler" functionality for free -- just read in your resources during compile and they're in the final executable.
-
Thanks for the info, from the docs it seems JPM is still the way to go!
-
Note that a lot of the nice libraries that used to be separate are now part of the `spork` library collection, e.g. https://janet-lang.org/spork/api/sh-dsl.html instead of the `sh` library the older Janet book recommends in https://janet.guide/scripting/. There's also a spork version of the `cmd` library that chapter recommends (forget the exact…
-
I really like Janet. I think it was the first programming language I encountered where there was basically no distinction (in code) between compile time and run time. Just put your code in a global and it runs at compile time without needing any further changes.
-
I think those refer to documentation improvements, not syntax changes. (See [here](https://github.com/janet-lang/janet/pull/1815/changes "Janet PR Improve docstrings of filter and friends").) In general, though, I defend trying to write commit messages suitable for generating release notes. But perhaps this is an example of that not being a great…
-
Congratulations on your release! > Fix GC collecting active fiber during nested `janet_continue` > If GC triggers inside the inner fiber's execution, the inner fiber is not in any GC root set and can be collected, including its stack memory, while actively running. It's always a little reassuring when I discover I'm not the only person being…
- Aug 31
-
As a occasional Janet user, I will offer some constructive criticism on the "What's changed": Let's get some syntax for > Improve docstrings of filter and friends by @sogaiu in #1815 > Improve docstrings for each and friends by @sogaiu in #1816 > Improve docstrings of reduce and friends by @sogaiu in #1817 > Improve docstrings for reverse and…