asciilifeform: ^ the animal in the lions book, rewritten for x86.
asciilifeform: all-process table. Similarly, theres no malloc() in the kernel, but rather just a page allocator. The pipe implementation copies one byte at a time. Amazingly, even the bootloader is a pleasure to read. Another nice thing about Xv6 is that it comes with a short textbook that explains OS concepts in terms of their implementations in Xv6.'
asciilifeform: 'Xv6 is a rewrite of v6 UNIX in modern C that runs on multicore x86 chips. It compiles in a couple of seconds and is trivial to boot up in QEMU. It took me a while to see the genius of Xv6, which is that it is simpler than I would have thought a working multicore OS with shell and filesystem could be. For example, it lacks wait queues and ready queues in Xv6, both wakeup and scheduling are accomplished by looping over the
asciilifeform: turned it up ~by accident~ while looking for entirely unrelated thing.
asciilifeform: BingoBoingo: i'm still waiting for the magical 1986 or so of our day, when thinking people stop even recreationally giving a shit about the stuffed shirts
asciilifeform: mircea_popescu: an allocator that knows that it is acceptable to lose some old bits is called a circular buffer and behaves like a looped tape, yes
asciilifeform: and it won't be a matter of a few changed lines, either.
asciilifeform: ... not that the thing is in any way close to being pogoizable
asciilifeform: but it does NOT make sense for it to evolve in the direction of being 'a good unix util'
asciilifeform: moreover, since unix has no future, but unfortunately we are stuck with a junkyard of rusting x86 and arm boxes, it makes sense for bitcoin to evolve in the direction of being an os
asciilifeform: my argument here is not that the behaviour of the classic debug log is a beautiful thing, but that any change to bitcoin that MAKES MANDATORY the presence of so much as an 8kB proggy on the machine, is LETHAL
asciilifeform: there is no human user on, e.g., pogo.
asciilifeform: trinque: you don't ever flush your toilet ?
asciilifeform: we threw it out, because it is really a harmful thing, but later ended up with an impression that it will have to be - in a separate process, yes - put back, if pogo is to be deployed to civilian households