4 ms·
Fuchsia is having a mainstream browser ported to it, as one can see by searching the Chromium project's commit logs for the string "fuchsia," whereas a mainstre
by hollerith 3y ago
Fuchsia is having a mainstream browser ported to it, as one can see by searching the Chromium project's commit logs for the string "fuchsia," whereas a mainstream browser has never run on Plan 9, nor is there a realistic chance of it happening in the future. My definition of "mainstream" is having had more than 1000 users on its best day ever and able to render most popular web sites without tons of glitches and bugs.
Plan 9 has its own low-level graphics and windowing libraries that have never received any porting effort by any of the mainstream browsers. Porting a mainstream browser to Plan 9 is about 50 times more labor than has ever been put into Plan 9 even when Bell Labs was footing the bill (in the early 1990s or earlier).
- moody__ 3y ago>Porting a mainstream browser to Plan 9 is about 50 times more labor than has ever been put into Plan 9 People put a lot of effort in to Plan 9 (and 9front specifically these days), so I want to point out that this is mostly the fault of these "mainstream" browsers being so complicated. It is actually easier for us to emulate an entire virtual machine and run a linux + chrome setup within it then it would be for us to port all the code over. I also find it no surprise that Fuchsia is getting some chrome dev time, but I have a hard time of believing that it's due to popularity. Google has little interest in maintaining chrome for other more used systems like the BSD's. Seems like they are only interested as a byproduct of wanting to sell appliances running Fuchsia.
- hollerith 3y agoThese "mainstream" browsers being so complicated is a large part of why I don't like them, but the reality is that no matter how much I don't like it, the web is unavoidable with the result that if I were to run Plan 9, I would need to run a second OS with which to browse the web (and I like to save snippets of the web, so I either need to keep those snippets on the second OS or rig something up to make it easy to send the snippets to my Plan 9 install). (And I regularly need to upload documents and images stored on my computer to the web, so I'd either need to keep my documents and images on the second OS or rig something up to avoid the tedium of manually copying the document or image every time from Plan 9 to the second OS so I could upload it.) I.e., not having any mainstream browser is a big deal for an OS, so when someone asked for a comparison between Plan 9 and Fuchsia, I thought I'd mention it. More precisely, it is a big deal for a user-facing OS, and Plan 9 is mostly user-facing. In fact, I've never heard of anyone using it as, e.g., a web server.
- moody__ 3y agoIndeed, thankfully using a 9front system from another OS is quite nice. My workstation at home is a Linux machine with a drawterm window open fullscreen. You can think of drawterm like our version of windows RDP, with a shared clipboard and a way of sharing files seamlessly between the host and the remote system. Under the hood, drawterm is just an implementation of /dev/draw that gets given to a remote system, so you're not forwarding compressed images but individual draw RPC messages. Over a LAN connection you can even play doom at 1080p.
- hollerith 3y agoWhat's the security story like for 9front? For years, Android, iOS, Windows, MacOS and ChromeOS has used a verified boot process that prevents any malware from surviving a reboot in any of the system software, i.e., anywhere except for the user's home directory and maybe other directories created by the user that the user is responsible for maintaining. I don't suppose 9front has that? Also when I used drawterm (as part of Plan 9 from Userspace on a Mac) the drawterm windows had no anti-aliasing, which I might have been able to get used to, except that the native-Mac windows used anti-aliasing and switching back and forth I found a jarring experience (and I was never able to figure out how to configure the Mac (and my browser) not to do the anti-aliasing). (Technically, my browser was doing its own low-level drawing, but it had been carefully tuned by the maintainers of the browser to visually resemble the results of the native Mac drawing systems.)
- deleted 3y ago[deleted]
- eschneider 3y agoAs for secure boot, assuming plan9 can boot from a read-only volume, that shouldn't be hard to implement. The (simplified) way it works on most systems is that secure boot is implement in the SOC and that's used to verify the installed bootloader and then the verified bootloader verifies that the boot volume is unmodified (think checksum, but a bit more complicated to make it boot faster. :) There isn't anything about that that couldn't be incorporated into almost any boot process.
- cmrdporcupine 3y agoWhen I worked at Google the efforts to port Chromium over were seemingly tied in large part to needing to have parts of it to get the Chromecast ecosystem running on it. Because the devices they were targeting for Fuchsia to use were built on top of that. (though a lot of that UI also got rewritten in Dart/Flutter instead, so) I wasn't directly involved but was a tiny bit of a voyeur. I seem to recall (this was 3-4-5 years ago) that there was a lot of push to try to componentize things in a more Fuchsia-ish way, but this naturally ran up against the realities of how huge and big the Chrome codebase is. And Chrome has its own IPC system (mojo) and its own component model(s), its own threading system, etc. and assumes POSIX stuff throughout, etc. My suspicion at the time was that as something like Chromium gets ported to Fuchsia the result will be less that Chrome becomes friendly to Fuchsia, as much as that Fuchsia becomes less distinct, and more a "typical" OS, out of pragmatism. I dunno, I'm curious to see how that effort is going. But I think it accords with your point. Porting big applications to "alternative" operating systems with more interesting or exotic models... you either end up losing the OS's distinctiveness (in which case why not just run in a VM), or having to rewrite a lot from scratch.
- moody__ 3y ago>Porting big applications to "alternative" operating systems with more interesting or exotic models... you either end up losing the OS's distinctiveness (in which case why not just run in a VM), or having to rewrite a lot from scratch. Very well said.
- IshKebab 3y agoI guess the advantage is that other apps can still take advantage of the OS's unique features. As I understand it Fuchsia has a POSIX compatibility layer which maybe they'll have to use for Chrome, but they wouldn't need to use it for new apps.
- MisterTea 3y agoMost plan 9 users have no desire to ever see a major browser ported. Ever. The best we have is netsurf and works for 90% of what people need which is simply viewing static text, information. The why is simple: We can run Linux or BSD in a VM and run a browser in there. Besides, the goals of most users is to explore new and exciting ways to share information that doesn't require the efforts of a billion dollar commercial entity with an army of programmers. The people who come to plan 9 don't come to it because it runs chrome or steam. We're here because we like the architecture. There's so much more work to do and things to explore. Complaining something doesn't work means you're not really interested in OS design so that's fine, just move along and find what you want. That or patches welcome.
- ori_b 3y ago> Porting a mainstream browser to Plan 9 is about 50 times more labor than has ever been put into Plan 9 even when Bell Labs was footing the bill https://orib.dev/interject.html https://orib.dev/interject.html
- somat 3y agoI Think the problem is more that there is no c++ compiler for plan 9 than browsers being to complex.