3 ms·
Janet is a cool language. Back in March, we managed to port it to Cosmopolitan Libc so you can build Janet code as an Actually Portable Executable. Here's the d
by jart 5y ago
Janet is a cool language. Back in March, we managed to port it to Cosmopolitan Libc so you can build Janet code as an Actually Portable Executable. Here's the diff you need: https://github.com/janet-lang/janet/compare/master...ahgamut:cosmopolitan https://github.com/janet-lang/janet/compare/master...ahgamut... The Janet team helped us identify a lot of things we needed improve with our C library implemention too! While we've ported other languages too, like Python, Lua, etc. those users will still owe much thanks to Janet.
- mark_l_watson 5y agoThat is cool! Other commentators were asking about good use cases, and living in Cosmopolitan seems to fit the bill. I like the language, except I have never liked the “low parenthesis” Common Lisp loop/for macros, which Janet’s “for” loop reminds me of. Pardon the stylistic nit-pick.
- JasonFruit 5y agoI agree: it makes a necessary small special case a huge special language of its own.
- 41b696ef1113 5y agoTo be clear: do you package the Janet runtime + Janet code into a single run-anywhere executable? I have done a couple of toy utilities in Janet, and knowing I can produce a single distributable binary makes it even more appealing. As an aside, Cosmopolitan is news to me, but looks quite nifty.