Hacker News new | ask | show | jobs
by alper 43 days ago
Is this like Janet?
3 comments

It's full Clojure, immutable and stuff, with full C++ interop and native compilation. Janet is strongly Clojure influenced but more of an embedded scripting language. I like both quite a bit.
The beautiful thing about Janet is how lightweight and portable it is, no JVM.

I use Janet for all my agentic scripting. Python is forbidden in my harness. Janet scripts for everything. Love it.

Please, let me know which AI you have working with janet, I find everything I try to fail horribly, i thinks its clojure.
I use Maki[1] harness and GML-5.3, GLM5.3 Flash and Deepseek-4.1 Flash 1017, with a little bit of MiMo-2.6.

The key I've found is a strong skill. At the beginning, sure there were problems. However, I implemented an AGENTS rule that said if a Janet script failed more than twice on the same "gotcha", the correct syntax was added to the skill. The skill is regularly reviewed, consolidated and pruned. The Janet skill is a floor and loaded at the start of every session.

Edit: Also worth mentioning is that I developed a Janet module with runtime type guards and other helpers to encode the "gotchas". https://github.com/jennystats/janet-kit

[1] https://maki.sh

Thank you!
Agents are very good at dealing with less used languages as long as you have skills defined for each. That's really the trick.
jank is Clojure, but instead of the JVM it embeds Clang and LLVM, so it can understand C++ headers directly and call C++ with no bindings. Other LLVM languages (Rust, Swift, Zig, etc) are reachable the usual way, through the C ABI.

From the TFA:

Templates, virtual functions, exceptions, overload resolution, and RAII all just work in jank. No boilerplate necessary. Just include your headers and go! jank can include any C++ source, link to any C or C++ library, and it uses the C++ type system. jank even compiles to C++!

More like Jolt