6 ms·
Perhaps a group could make a Linux distro with the goal of forking, and Plan9ifying, the source of every package they ship. No one would have to use the resulti
by derefr 16y ago
Perhaps a group could make a Linux distro with the goal of forking, and Plan9ifying, the source of every package they ship. No one would have to use the resulting distro (other than to demo the neat way that the Plan9ified packages integrate so easily with one another) but the original authors/maintainers of the upstream packages could adopt the Plan9ification patches a la carte, gradually increasing Plan9ification across the board. The patches of one package would always be guaranteed to work with the patches from any other, as the resulting combination has to hang together in the demo distro—and, since this would only be an eventual goal of the group, they would also have to make sure that all their patches didn't expect any Plan9ification on any other package's part.
- anant 16y agoDisclaimer: I'm the author of the Glendix project. As someone already pointed out Glendix tries to bring binaries over to make Linux feel more Plan9-ish. Unfortunately, I no longer have the luxury of being a grad student and so my time these days is very limited and have had to move on to other things. But if there's someone motivated enough to push Glendix further, I'd be more than happy to help! As for the question of 'Why Plan 9', to put it simply - reading the source code makes me feel like a hacker again. A long time ago if you didn't understand how something worked, you could just peek at the source and everything would be clear. Plan 9 maintains that, the source code /is/ the documentation. Alas, I wish I could say the same of 'modern' free/open source software (Linux/BSD/GNU/what have you).
- anon_d 16y agoHow did you have time to work on it when you were a grad student?
- anant 16y agoBy convincing the right people that it was relevant to my course :) Also, Glendix was the culmination of my Bachelor "major project". Yes, it is sometimes possible to do useful work in academia. Gasp!
- anon_d 16y agoI'm finishing my bachelors next spring, and I would kill to work on Glendix or Plan 9. Suggestions?
- anant 16y agoPorting one of the fine Plan 9 based filesystems to Linux seems like an excellent operating systems project. This would directly benefit Glendix as many applications require these synthetic filesystems provided by the Plan 9 kernel. /net is a good example of how sockets are done away with, and /dev/draw provides a useful graphics API. You could argue in your project thesis that filesystems sometime provide a better abstraction than traditional programming-language based APIs; and prove it by porting one such filesystem over to Linux.
- anon_d 16y agoProject thesis Unfortunately, I've already done my senior project. Though, I'd be happy to hack on Glendix stuff in my free time. /net I've not done any network or kernel programming, and I'm only slightly familiar with /net. If I wanted to hack on this, where would you recommend I start? It seems like a Glendix /net could be implemented in user space. Yes?
- jacquesm 16y agoThat's not a trivial exercise. The philosophy behind plan 9 is radically different from some of the ways things are done in Linux, and it would take a great effort to get this even close to production grade. Plan 9 is structurally very different from Unix under the hood, it is in many ways a better unix but backwards compatibility was not what they had in mind when they designed it. Unix is said to have 'everything is a file' as its mantra, plan 9 shows what 'everything is a file' really means.
- davidw 16y ago> The philosophy behind plan 9 is radically different from some of the ways things are done in Linux, and it would take a great effort to get this even close to production grade. So it's not just "NIH and ego", it's the fact that people are loath to abandon working software for benefits that probably seem somewhat abstract? The "crossing the chasm" approach is to find a niche where your product can win and then go from there. Taking on Linux head-on is just not going to be a winning proposition.
- jacquesm 16y agoIt was NIH and ego that stopped adoption from some of the more advanced knowledge available at the time when the relevant portions of linux were developed. There was no 'working software' to abandon at the time, there is now.
- davidw 16y agoPlan 9 came much later than Linux, if I'm not mistaken. Things like microkernels were around then, sure, but is Plan 9 interesting because its a microkernel or because of how you interact with it and how it's architected (everything is really a file)? Edit: it appears that Plan 9 existed internally at Bell labs at about the same time Linux was being developed, but was only released to the public, under a commercial license, in 1995. It was finally open sourced only a few years back. Also, there certainly was plenty of existing Unix software out there when Linux (and BSD) came out. Not nearly as much as now, but nothing to laugh at either.
- mhw 16y agohttp://www.glendix.org/ http://www.glendix.org/ is going in that kind of direction, albeit without explicitly doing the bit about porting existing packages. Instead it looks like they're building enough support in Linux to run Plan 9 binaries, and then bringing over the Plan 9 equivalents. The other existing option would be Plan 9 from User Space (http://swtch.com/plan9port/ http://swtch.com/plan9port/) which includes Rob Pike's innovative editors, sam and acme. Of course, the biggest problem these days is sourcing a true three-button mouse to really get the feel of the user interface. Mouse chords in acme don't really feel right with a mouse wheel.
- eru 16y agoYes. Though not all mouse wheels are created equal. Some of them are much more suited to third-button use than others.
- sethg 16y agoA less ambitious goal would be to patch some of the widely-used higher-level applications so that they would run on Plan9. E.g., if I could get a virtual Plan9 machine with Python/django, PostgreSQL, and lighthttpd, I would have a starting point where I could do something practical, and then I could explore how to use the specific features of Plan9 to make those tools more productive. It looks like even that would be a big undertaking: http://www.mail-archive.com/plan9-gsoc@googlegroups.com/msg00248.html http://www.mail-archive.com/plan9-gsoc@googlegroups.com/msg0...