1. 23
  1.  

  2. 4

    The Plan 9 C compilers are fast. Really fast. I remember compiling kernels served from remote filesystems in ~6 seconds… Does marvels for quick turnaround time…

    1. 5

      Yes. The whole plan 9 toolchain is a joy to use, and it’s amazing to see how the Plan9front people have kept it up to date and usable, with working SSH clients, wifi drivers, USB 3, hardware virtualization that can run Linux and Openbsd, and the cleanest NVMe driver I’ve ever seen.

      I actually use the system regularly for hacking on things, while it’s definitely not the most practical choice, I really enjoy it.

      1. 3

        Wait up, wifi drivers? I need to set that up on one of my several gazillion laptops posthaste

        1. 1

          9front uses openbsd’s wireless firmware, so if your card works on obsd, itll probably work on 9front

          1. 3

            It has far fewer drivers, though. You’ll probably have good luck with an older Intel card, but you should check the manual. As with all niche OSes, don’t expect it to work on random hardware out of the box. And as with many niche OSes, older thinkpads are usually a good bet for working machines.

            1. 2

              yes good point, now that i am thinking about it, even then the support for wireless is quite bare. when i ran 9front on a thinkpad a couple years ago i think i recall the centrino wireless-n line of cards working well. for anyone interested, here are the docs

      2. 1

        What made it (or make it) so fast? Did.it have to leave out some other feature to achieve that? Or was ist just the plan9 source, I remember hearing that it had no ifdefs and other preprocessor instructions, that let it compile so quickly.

        1. 3

          the plan9 source was definitely a part of it (include files did not include other files), but the compiler itself also eschewed optimizations in favour of fast code generation. the linker wasn’t that fast, though.

          Here’s a quote from the original papers that came out in the early nineties:

          The new compilers compile quickly, load slowly, and produce medium quality object code.

          All in all the kernel was a few megabytes in size, compiling several hundred thousand lines of code. Comparably less than the core of the Linux kernel at the time, and not counting the many myriads of drivers linux had that Plan 9 didn’t. More here: https://9p.io/sys/doc/compiler.html

      3. 1

        Plan 9 has alway been a bit of a frustrated dream to me. It seems like such a breakthrough, and every user (or ex-user) is so passionate about it… Although it seems to be really mouse-centric, and I’m more like the keyboard-kind-of guy. Also, about the video… “Has anyone heard of UTF8?” lol