Compiling a Lisp: Overture
Overture to our small Lisp to x86-64 compiler
Stay updated with breaking news from Chris Wellons. Get real-time updates on events, politics, business, and more. Visit us for reliable news and exclusive interviews.
I have been working on a hobby project to reimagine the C core of Emacs in Rust. On this journey, I reached the point where I needed some way to represent the text of a buffer. The simplest approach is to just use a large string or array of lines. However these each suffer from poor performance as either the size or line length of text increases. GNU Emacs has famously used a gap buffer to represent editable text.
I build shaders, renderers, games, and other stuff that's fun to stare at.
I implemented a method of generating Voronoi diagrams on the GPU. It runs in real time with WebGL. Play with some fun demos, or read an explanation of how it works.