Show more
@sir I feel this is the appropriate place to say that not only is plan 9 a neat academic concept etc, but it can also be used as a badass, elegant development environment. The entire OS feels like it was designed by programmers, for programmers, and the tools behave as a cohesive whole instead of a cluster of random software kludged together. But I'm sure you already know this, seeing as how you've written a Rio clone. Anyway, enjoy this picture of my work desk/9front workstation setup/shrine:

https://pintobyte.com/tmp/work_desk.jpeg

Pretty sure Google isn't capable of making a micro-anything

Sometimes I feel bad about how complex Sway is. Then I remember literally everything else

@sir You can turn that back into hating Rust, as Fuschia(the OS) has more Rust code than C++

Ironically Fuchsia will also be used for spying on you, albeit from ring 0

I may have become distracted from hating on Rust by hating on Fuschia

Bonus: Fuschia uses their own Clang and GCC toolchains (yes, both), so you have to build those first, or download their pre-built binaries (lol) (which only support glibc-based systems, of course)

The Minix microkernel (which I can say with a straight face) is ~18,000 lines of C, supports two architectures, and is deployed in production spying on your computer from ring -2

Also worth pointing out that Fuchsia's kernel is an, ehem, "microkernel", in only the strictest sense of the word... so that number doesn't even include any drivers

Correction, GCC is tens of millions of lines of code these days

Another example:

Google Fuchsia's kernel is 199,570 lines of C, C++, and assembly, not including a suitable C/C++ toolchain (it uses GNU extensions, so we'll assume GCC is necessary - about a million lines of code). It supports two architectures, x86 and arm64. It takes about 22 minutes to build on server-grade hardware. It also doesn't work and is far from complete.

The entire self-hosting plan 9 system, including its compiler and entire userspace, desktop windowing system, text editors, POSIX compatibility layer, games, media players, and so on - is 268,001 lines of code. It supports seven architectures and takes less than 10 minutes to build the entire operating system on a raspberry pi.

Good software engineers write simple software with simple tools, and it works. Bad software engineers write complicated software with complicated tools and it only works insofar as you run it on CPUs designed in the last 6 months on one of 2-3 operating systems on 1-2 architectures and provided you don't look at it too funny

As the old saying goes, "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies."

Rust is a crutch which is enabling the proliferation of awful software from the latter camp under the guise of a moral imperative for "more secure" software

Imagine if the Encyclopedia Brittanica were published online before Wikipedia was big, and people pointed at it as evidence of Wikipedia's inevitable doom

This is how I feel about Google Maps with respect to OpenStreetMap

Sometimes I just want to deliberately downplay "security issues" just to piss of securitybros

In a vain attempt to be productive and produce original content today, I wrote *almost* a chapter of my Wayland book. Only one more section and I'll have written the entire chapter but where did that motivation go

I only have 4,147,200 pixels with my lite travel setup :blobsad:

Show more
Mastodon

cmpwn.com is a private Mastodon instance for friends of SirCmpwn.