The Plan 9 design wasn't as great as people like to think and it wouldn't have survived in the advertised form if Plan 9 actually had taken off. Actually it was already losing that aesthetic coherence quite early on in its lifetime. Hierarchical nouns, a fixed collection of verbs and a stream of bytes is aesthetically pleasing and can be helpful for developers hacking around, but is too limited and low level a vocabu…
Linux Namespaces Are a Poor Man's Plan 9 Namespaces
111–120 of 311 posts
Re: Linux Namespaces Are a Poor Man's Plan 9 Namespaces
#112Earlier quoted context omitted.
io_uring is a more modern API to file access. Actually I think it would be great if everything was a file and the communication with the kernel was only with io_uring.
> it would be great if everything was a file This is a bad design. Process is not a file because you cannot send signals to a file, or cannot debug a file. Network socket is not a file because you cannot get file's peer address. Shared memory is not a file. And so on.
Wouldn't the same be applicable to files, processes, devices and so on?
Re: Linux Namespaces Are a Poor Man's Plan 9 Namespaces
#113Earlier quoted context omitted.
More like the reverse. Coding in 9front's C from the book from Francisco J. Ballestero's felt and still feels like the future today. Golang for example borrows lots of stuff from 1-9c compilers from plan9/9front, Limbo and Plan9 design such as static binaries and cross compiling from anywhere to everywhere.
[flagged]
But 9front has good points to borrow from.
Cross GCC (or clang) sucks a lot compared to [1-9]c compilers by a huge margin. Current compilation suites are brain damaged. Don't get me started on cross compiling packages for foreign archs and hunting bugs. Or the compat32 disaster on Debian and derivatives like Trisquel/Ubuntu. Slackware does it fine, tho.
Also, I hope that FS from ori_b gets ported into the future Hyperbola BSD.
Re: Linux Namespaces Are a Poor Man's Plan 9 Namespaces
#114As of someone who discovered Plan 9 far too late to do anything about it: everything is a poor man's Plan 9 something. Everything. All of it. Plan 9 lived in the goddamned future.
Plan 9 had many improvements over Unix of its times. It opened up too late to conquer the world though. Some good things from it were imported into Solaris and Linux later. Technological progress likes to reinvent itself, looping back to the same idea that did not work last time, and maybe making it a hit finally. Two examples: - Apple Newton, 1992 (a flop) -> Palm Pilot, 1997 (niche success) -> Apple iPhone, 2007 (w…
Re: Linux Namespaces Are a Poor Man's Plan 9 Namespaces
#115As of someone who discovered Plan 9 far too late to do anything about it: everything is a poor man's Plan 9 something. Everything. All of it. Plan 9 lived in the goddamned future.
And then replies slowly devolve into arguing about irrelevant things that were solved with the existence of Linux because plan9 sucks and Linux is just a kernel which is actually used by people and therefore they actually found ways to solve problems they were most annoyed by. All these "X is poor man's Y" are a cope. Plan9 is poor man's because noone uses it. I'm sure on most people the irony of this statement will…
Re: Linux Namespaces Are a Poor Man's Plan 9 Namespaces
#116Earlier quoted context omitted.
It is, but for what it's worth using the mouse is much more pleasant than what we're used to ime. It's weird at first, especially with the teleporting thing but it works really well. Also, if you're gonna try it do it either with a proper three-button mouse or with a large-ish and easy to press scroll wheel button. Otherwise it's really frustrating.
One problem I had is that I often just messed up the buttons, especially in the chords, and there's not a whole lot of feedback. I also messed up some things like letting go of the mouse button too soon by accident. Granted, I never spent that long with it, but it's not very mnemonic and requires some amount of motor skills I don't seem to have (e.g. in Vim "dw" is mnemonic for "delete word" and you get more feedback…
I think the main thing people get confused by besides the chording is the teleporting of the cursor, but then you realize it's actually really useful once you get used to it (at least I did).
Re: Linux Namespaces Are a Poor Man's Plan 9 Namespaces
#117Earlier quoted context omitted.
> it would be great if everything was a file This is a bad design. Process is not a file because you cannot send signals to a file, or cannot debug a file. Network socket is not a file because you cannot get file's peer address. Shared memory is not a file. And so on.
I am probably looking at it from a too high-level perspective, but the RESTful paradigm was widely adopted in every domain and proved that you can model pretty much any concept as resources, with CRUD primitives and hyperlinks between them. Wouldn't the same be applicable to files, processes, devices and so on?
And like it or not OOP shows that it's possible for one idiom to describe all the things when it's flexible enough.
Re: Linux Namespaces Are a Poor Man's Plan 9 Namespaces
#118Re: Linux Namespaces Are a Poor Man's Plan 9 Namespaces
#119I wonder if it would be easier to back-fit to an OS like Serenity where the whole code is in a mono-repo, from kernel up to web browser?
Re: Linux Namespaces Are a Poor Man's Plan 9 Namespaces
#120Earlier quoted context omitted.
"That's the direction Powershell took, and to some extent was what other OSes were doing at the time of Unix. But Unix has become so ubiquitous and influential that we've forgotten that programs could pass more than ill-specified strings around ... The first step would be to stop putting "Unix philosophy" on a throne " Well yes, but I think it will be hard or rather impossible to convince the unix crowd of anything g…
There are still tons of stringly-typed interfaces in powershell.