Enable cl-annot for all files in an asdf project

posted on 2020-02-21

Quick lisp tip for enabling cl-annot reader macros across an entire asdf project.

Beware RESTART-CASE in a hot codepath

posted on 2019-11-15 19:00:00

Quick lisp performance tip about using restart-case.

Beware foreign memory in lisp images

posted on 2019-10-21 17:50:00

If you're developing a game in Common Lisp, two things are probably true:

  • you're using CFFI to call into a C library, like SDL2.
  • you're building a lisp image to ship your game.

Taken together, you're open to a very subtle bug.

Building a Cross-Platform Lisp Binary

posted on 2019-08-06 19:00:00

Let's say you've created an awesome desktop game using Common Lisp. Good job. Now, how will you share your creation?

Unfortunately lisp has yet to take over the world, so if you want widespread use of your game you must produce a binary for each platform you want to support.

This post will cover:

  • How binaries are generally built in Common Lisp
  • Building a binary for a sample-game which includes an external library (SDL2)
  • How to set up CI (Azure Pipelines) to produce binaries for a sample-game on Linux, Mac, and Windows (using Pipelines' free plan).

Bootstrapping a blog with lisp

posted on 2019-05-03 19:00:00

I recently participated in the 2019 Lisp Game Jam. I wanted to share some of the things I learned in the process. So I decided to start a lisp+gamedev blog.

But before I can post anything I need to actually set up a blog. And what better way to blog about lisp than with lisp itself?

This blog covers game-dev, linux, lisp, mac, web, windows

View content from 2020-02, 2019-12, 2019-11, 2019-10, 2019-08, 2019-05

Unless otherwise credited all blog material Creative Commons License by Ark