Hacker News new | ask | show | jobs
by baggers 2987 days ago
I'm biased but I'd go Common Lisp

The basics:

- SBCL: generates fast[0] code. runs well on windows

- Quicklisp: The package manager which lets you install the packages mentioned below

I've got a video here that should help with getting set up on windows https://www.youtube.com/watch?v=VnWVu8VVDbI&t=1s

Then you could try the SDL2 approach:

- cl-sdl2: Bindings over sdl2 https://github.com/lispgames/cl-sdl2

- cl-sdl2-mixer: audio playback https://github.com/lispgames/cl-sdl2-mixer

- Some basic math library like: 3d-matrices, rtg-math, sb-cga

Or maybe an existing engine:

- https://github.com/borodust/trivial-gamekit

Come down to #lispgames on freenode if you need a hand as there is usually someone there who has touched this stuff[1]

I'll also pimp my own stuff while I'm here just in case someone is looking for a lispy layer over gl

- https://github.com/cbaggers/cepl

Main downside of Common Lisp is that Emacs or Vim are pretty much a requirement to get a nice development environment, without which you are pretty much in 'writing Java in notepad' territory.

[0] for some definition of fast that I don't want to belabor this comment with.

4 comments

To get started quickly with SBCL/Quicklisp/Emacs/Slime on Windows:

https://common-lisp.net/project/lispbox/

or

http://www.iqool.de/lispstick.html

Lispbox is very old (though worked good enough at the days; I actually started with it). The current "Lisp environment in a box" thing is Portacle - https://portacle.github.io/.
I couldn't get anywhere with those last time I tried (2013). LispStick doesn't seem to have been updated since 2014 and LispBox has had no commits since 2010. Have you used either of these recently? For those wanting to go this route I'd recommend Portacle which can run on off a usb and includes git
Thanks. I haven't used windows for development in years and was not aware they went stale.
To toot baggers' horn, he has a great video series where he does game development in lisp: https://www.youtube.com/watch?v=82o5NeyZtvw&list=PL2VAYZE_4w...
I tried atom-slime and it worked pretty well. But, the community generally uses either vim or emacs: Oni might work, since it’s just an electron wrapper around neovim
there’s lispbuilder-sdl which I was one of the founders of years ago, although it maybe suffering from bit rot these days

https://github.com/lispbuilder/lispbuilder