Email or username:

Password:

Forgot your password?
Top-level
rob pike

@neauoire Well, back in the early '80s we did it for graphics:

9p.io/cm/cs/doc/87/archtr.ps.g

Compiling on the fly, not exactly what you likely mean by self-modifying code, but hey, we generated instructions to put dots on the screen using the parameters of the call to generate near-optimal code in all cases.

1 comment
Devine Lu Linvega

@robpike Not really what I was looking for, but fascinating details on bitblt which I hadn't come across before. Thanks for sharing. I realize that the later implementations were bound to the hardware by instructions, but are there bitblt emulators around that would let me paint, say, a X11 window with its primitives? Curious to play around with it :)

Go Up