Comment by ๐Ÿš€ stack

=> Re: "Stumbled across Janet, a functional programming language..." | In: s/programming

I generally just use C for CGI, precomputing most of the game logic ahead of time when possible...

ECL and GCL for common lisp. If you want scheme (I do not like it personally), Chicken or Gambit is a good choice.

Janet may be a good choice. But it is some flavor of lisp.

=> ๐Ÿš€ stack

Jan 18 ยท 1 day ago

3 Later Comments โ†“

=> ๐Ÿš€ stack ยท Jan 18 at 02:41:

Earlier I was misleadingly talking about my goto SBCL lisp which is super fast and great, but make a standalone executable you basically dump the memory image to a 100MB file.

ECL and GCL generate smallish executables and interoperate with C. ECL can even be embedded into a C application as a scripting language.

=> ๐Ÿš€ stack ยท Jan 18 at 02:58:

Internally, Janet uses arrays to represent code, rather than the traditional lisp way of using linked lists.

Because of that, you cannot use normal lisp list operations to operate on code, which makes it a lisp with awful macro capabilities, even worse than Scheme.

You sort of can use array operations, but dealing with subscripts makes it impossible to create beutifly simple recursive macros of CL.

To me, the raison d'etre of Lisp is being able to manipulate code easily, or in other words, macros. Common Lisp is the only Lisp variant that does not screw it (or anything else) up, as evidenced by its specification remaining unchanged in 40 years.

If you ever wonder why Lisp looks the way it does, it is to enable macros.

=> ๐ŸŽต hedy ยท 3 hours ago:

janet is cool, but my lisp of choice these days is usually fennel. it's a lisp that compiles to lua. I'm familiar with lua, and anything I can do with lua can be done in fennel. there is great tooling support for emacs and it's a joy to use.

Original Post

=> ๐ŸŒ’ s/programming

Stumbled across Janet, a functional programming language that clocks in at 1MB

=> ๐Ÿ’ฌ gritty ยท 11 comments ยท 2 likes ยท Jan 17 ยท 3 days ago

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/stack/23975
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
34.353658 milliseconds
Gemini-to-HTML Time
0.565675 milliseconds

This content has been proxied by September (ba2dc).