Join Nostr
2026-09-07 10:23:34 UTC

Ramin Honary on Nostr: The challenge of writing portable Scheme code is that every implementation has myriad ...

The challenge of writing portable Scheme code is that every implementation has myriad little idiosyncrasies. Today I discovered the #MITScheme tries to read #Emacs -style file header comments (for example `;; -*- encoding: utf-8 -*-`) and this can cause the reader to crash for some reason. I am not sure if it is a bug or a feature, but it did throw me off for a whole day while I tried to figure out why MIT Scheme wouldn't compile a library file.

I also happen to be hung-up on a bug in #Guile 3.0.11. It seems to me like the optimizer is emitting bad code, because I get a `SEGFAULT` on an expression that #Gauche has no trouble executing. I am still working on a bug report, and trying to figure out a work-around.

#tech #software #Scheme #Schemacs #SchemeLang #R7RS #Lisp #GuileScheme #GaucheScheme