30 ms·
Saw this rant about Fuchsia on reddit that appears on the surface to make some good points: https://www.reddit.com/r/programming/comments/6a026o/googles_fuchsia
by tyingq 10y ago
Saw this rant about Fuchsia on reddit that appears on the surface to make some good points: https://www.reddit.com/r/programming/comments/6a026o/googles_fuchsia_smartphone_os_dumps_linux_has_a/dhbjmvx/ https://www.reddit.com/r/programming/comments/6a026o/googles... Not my area of expertise for sure though.
Any kernel dev types here had a chance to look at Fuchsia? Is the criticism warranted?
Update: Fixed link to point at the right comment.
Edit: Should have mentioned the tone is a bit over the top. More interested in the actual points raised though.
- steveklabnik 10y agoI don't see the rant; that's just the link to the whole discussion. Did you mean to link to a particular comment? I haven't followed Fuchsia that closely, but I was under the impression that the team consisted of some all-star kernel developers; former BeOS people for example?
- tyingq 10y agoFixed the link: https://www.reddit.com/r/programming/comments/6a026o/googles_fuchsia_smartphone_os_dumps_linux_has_a/dhbjmvx/ https://www.reddit.com/r/programming/comments/6a026o/googles...
- cjbprime 10y agoCan't tell which comment you mean, but if you mean the criticism that Dart is used as a userspace language, that's not related to the choice of kernel (which seems fine to me).
- tyingq 10y agoIt wasn't that, no. Fixed the link...it is pointing to the right spot now.
- kyrra 10y agoDid you intend to link to this? https://www.reddit.com/r/programming/comments/6a026o/googles_fuchsia_smartphone_os_dumps_linux_has_a/dhbjmvx/ https://www.reddit.com/r/programming/comments/6a026o/googles...
- tyingq 10y agoYes...updating. thanks.
- swetland 10y agoI'd suggest that it's possible we're using simple, but functional placeholder implementations of things so the entire system can boot and run, and then various parts of it can be worked on at various paces, in parallel, etc. Lot of moving parts in a kernel, or OS, and one could try to write all of them in their final form first and hope they all work together when done, or one could take a more incremental approach. Personally, I think the evolution of the general kernel design / syscall interface, love it or hate it, is more interesting than have we optimized the timer implementation yet... https://fuchsia.googlesource.com/magenta/+/master/docs/concepts.md https://fuchsia.googlesource.com/magenta/+/master/docs/conce... https://fuchsia.googlesource.com/magenta/+/master/docs/syscalls.md https://fuchsia.googlesource.com/magenta/+/master/docs/sysca... (It's all a work in progress, which has been and will continue to evolve)
- Ajedi32 10y ago(For context, swetland is currently the main contributer to Magenta, Fuchsia's kernel: https://github.com/fuchsia-mirror/magenta/graphs/contributors https://github.com/fuchsia-mirror/magenta/graphs/contributor...)
- swetland 10y agoThe stats are a little unfair there, as I've done a lot of rearranging and housecleaning, which tends to inflate github's scoreboards. I suspect more of my work is outside the kernel than in (driver model/hosting/managing, userspace core glue, etc), but certainly I'm to blame for a reasonable chunk of kernel code too.
- mckillop 10y agoI also encourage anyone that sees something that could be done better to sign up and submit some code!
- tyingq 10y agoI suspect some are holding back since there's not been much shared about the end purpose. At the moment there's still speculation as to whether it's for mobile devices, desktops, both, or something else.
- CountSessine 10y agoWe all have bad days, but some of this rant is really toxic. Dear god. I looked at the kernel and it's awful Stuff real operating systems have solved decades ago WTF? This is hilarious. Did they decide to reinvent all the wheels badly just because someone at Google was bored? The ex kernel developer in me feels insulted that a serious company would release something this immature So, have they actually released Fuschia? I was under the impression that this was still being developed in the open until such time as it actually becomes a "real operating system"? And IMHO the world needs a good open-source microkernel OS; I'm ok if the scheduler is suboptimal on release - that can be fixed eventually. Linux will never be a microkernel OS, but Fuchsia can always be optimized. Performance-wise it just needs to be good-enough on release.
- potatolicious 10y agoA quote that, while not automatically true, seems to apply to many situations: "People who are brutally honest generally enjoy the brutality more than the honesty." - Richard Needham
- on_and_off 10y agoA bit off topic, but thanks for this quote ! It resonates a lot with my experience.
- deleted 10y ago[deleted]
- tyingq 10y agoThat's a good point...I should have mentioned the tone. Despite it, though, there is some actual content in the rant.
- ProAm 10y ago> Did they decide to reinvent all the wheels badly just because someone at Google was bored? This is how projects are born and die at Google. They live until no one is interested in them anymore and they are abandoned.
- Kenji 10y ago>Their tlb shootdown is not only synchronous, but it only shoots one page at a time, synchronously. QNX6.6 introduced this too (as a fix for a race condition that existed in QNX6.5 and lower) and it was a huge pain to get actual realtime inbetween the TLB flush storms. Like, this is a make-or-break issue right there. TLB flushes can easily eat 10% of all CPU cores if you start and end a process every second.
- hnur 10y agoWell there is this: https://lwn.net/Articles/718267/ https://lwn.net/Articles/718267/
- erikpukinskis 10y agoWhen you are trying to invent a new version of anything low level, sometimes it makes sense for you to just stub out a supporting library out with a naive implementation, because you then have an interface that you can move around easily. If you are wrapping an existing implementation, with lots of optimizations and corner cases, you'll just get bogged down in refactoring all of those expectations over and over. Today I implemented an immutable-ish array in JavaScript. I'm using it because I needed something that could work in conjunction with the non-relational, non-key-value database I am building. There were other libraries that provided immutable arrays, probably much better than my implementation. But because I wrote both the immutable data structure and the database, and both implementations are naive, I can very easily trade functionality back and forth between them in order to get the interface right where it needs to be. There's a good chance I'll then swap out my data store for some existing algorithm, but I really won't know which algorithm I even need until after I've built several applications on top of the naive implementation. Really, the key here is that this is prototyping. When you're building a prototype, you don't do the thing that will lead to the most correct code, you do the thing that will teach you the most about what the design should be.