Yesterdays 4h of ulisp / picocalc experiments. I said I was gonna build a REPL t...

@mnl@hachyderm.io

Yesterdays 4h of ulisp / picocalc experiments. I said I was gonna build a REPL task manager but of course veered into what I actually want to build, which is a window manager for ulisp.

Failure modes of are interesting. The big hurdle was not the lisp interpreter or any of the lower level microcontroller / bootloader work, but the 7000 line ino file and how C definitions and the magic arduino c++ header surgery work. Gpt5 / glm5.1 was the only one able to cruise through it, at the cost of thinking tokens, but even large (but quantized/optimized for speed on wafer) models like deepseekv4 or glm5.1 on wafer get caught up trying to figure the exact semantics of where a function definition needs to live.

Organization of a codebase, consistency of naming and purely naming/structural patterns are in many ways more important than the code. I also forgot how incredibly intricate human written code can be, with many quirks and cleverness that fits into the “short context window but vast subjacent external understanding” (at a lack for words here) that characterize at least a large category of programmers.

After having spent so much time in large llm codebase that imo hold their own weight pretty well, I realize why work so well for me: the way they view the codebase resembles my own: I have a pretty large immediate context window (I can scroll through code and codebases and understand a lot of the relationships in it, even if I’m fuzzy on the details) but remember absolutely nothing over the longer term: I need consistent naming, consistent structure, explicit variable names, reliable and watertight design patterns.

Ulisp is the opposite of that, and at the very least will require moving from arduino to a proper cmake setup to do continued work, which honestly I already knew after working on larger embedded c codebases last year. C in particular has been the most problematic language I encountered with llms so far, because you can so easily build tremendous implicit complexity with c macros that require a lot of explicitly written out reasoning to become reasonably robust to pattern match or at least elicit understandable compiler errors.