Live data from Hacker News

Lisp: Icing or Cake?

dthompson.us

21–30 of 58 posts

Re: Lisp: Icing or Cake?

#21
post #20

I recently created 3D boss fight prototype using Clojure: https://prototype-game.pages.dev

I cannot make the controls work on mobile. I'll try when I have a PC in front of me again.

Yes it is for PC web. You can check sample video with your phone here: https://x.com/ertuctn/status/1796627956120399898

Re: Lisp: Icing or Cake?

#22
post #19

No janet despite https://ianthehenry.com/posts/janet-game/ (article copyrighted between 1899-1907, but doesn't look vintage that's a shame)

Janet seems to have fallen through the cracks. I went back to fennel for scripting stuff, mostly because I can just go and get a lot more Lua libraries and run it everywhere (even on my iPad with a-Shell) with zero hassle.

Re: Lisp: Icing or Cake?

#24

I'm very curious what sort of games were made in elisp. It's not really the first thing that comes to mind when I think about games programming.

Malyon it's a ZMachine interpreter which works mostly fine.

Re: Lisp: Icing or Cake?

#25
post #22
post #19

No janet despite https://ianthehenry.com/posts/janet-game/ (article copyrighted between 1899-1907, but doesn't look vintage that's a shame)

Janet seems to have fallen through the cracks. I went back to fennel for scripting stuff, mostly because I can just go and get a lot more Lua libraries and run it everywhere (even on my iPad with a-Shell) with zero hassle.

Do you think that Fennel adds enough value on top of Lua to justify the extra compilation step?

I mean it is valid to use it for the fun of it, just wondering. Lua is already more or less a Scheme clothed in a more conventional syntax. On top of that the fact that Lua already has excellent metaprogramming capabilities kind of negates the typical advantage of using a lisp-style syntax. So what is Fennel bringing to the table?

Re: Lisp: Icing or Cake?

#26
i encourage the readers of this comment thread to check out the spritely institute, especially it's blog [0].

i don't wanna spoil what it's all about, but i ensure you it's a topic (and institute!) worth diving into. i poured 10h+ just reading the blog and all the related links and projects :)

[0] https://spritely.institute/archive/

Re: Lisp: Icing or Cake?

#27
Nice piece. Maybe because I havent seen many articles these days with any sort of objective comparison of software approaches in general. Ok… I’ll admit that any attempt I’ve made to find such pieces never makes it past all the SEO spam these days.

A little surprised to not see any games using Janet- since it seems to be both made for gaming and has a surprising number of ‘batteries included’ like a web server and graphics. Then again, I’ve only stumbled upon it pretty recently myself. From my minor hacking with it, it’s def worth a peek in the Lisp/games arena.

Re: Lisp: Icing or Cake?

#28
post #23

This was… a hoot (pardon the pun) to read, since I’ve been eyeing Guile as a go-to for future stuff I build. Nice going on the WASM front.

If you like puns, strap yourself into your chair before reading this essay from Andy Wingo if you haven't seen it yet:

https://wingolog.org/archives/2024/05/16/on-hoot-on-boot

Re: Lisp: Icing or Cake?

#29
post #26

i encourage the readers of this comment thread to check out the spritely institute, especially it's blog [0]. i don't wanna spoil what it's all about, but i ensure you it's a topic (and institute!) worth diving into. i poured 10h+ just reading the blog and all the related links and projects :) [0] https://spritely.institute/archive/

+1. They seem to attract excellent people and do very cool stuff.

Re: Lisp: Icing or Cake?

#30
post #12

“ We’re not living in a world of Lisp machines, but a world of glorified PDP-11s.” Quite a summary. Btw any icing with sdl I wonder.

Lisp is unsuitable for modern CPUs because of memory hierarchy. Lisp operates primarily with lists, which can have pointers all over memory. This was not a problem on earlier CPUs because all memory was the same with similar random access time. Modern CPUs cannot access pointers in memory with the same speed, they need to follow locality rules for performance. This means that an algorithm using something like C or Fortran arrays will always be faster than a Lisp list based version.
Post reply on HN