Hacker News new | ask | show | jobs
Ask HN: Writing an os in React, good idea?
3 points by reactbro 3187 days ago
Hi!

I have this idea. I want to write an OS in React. Wouldn't that be so cool? I've done some back-of-the-envelope calculations and concluded that given the O(n) complexity of fiber.js in combination with declarative data fragments I should be able to get about 2X the performance of x86 assembly but with superior DX. Given that the future of all software engineering is eventually gonna catch up with the latest cutting-edge techniques that we have seen in the web development community the last couple of years I think it's probably best to get started ASAP. I know the undertaking is large, so I need some guidance about how I should fund it. Should I apply for a PHD? YC2018? Any help appreciated.

PS. I'm using a throwaway account because I don't want my boss to find out that I'm planning to leave my job.

6 comments

This looks a lot like a joke-question, but whatever.

Well, technically it's possible to write an OS in React, if you're basically just running a browser and do everything inside that.

Since a lot of desktop apps nowadays are just repackaged versions of chrome with a single website in them, you might actually have a better user experience for /some/ use-cases.

But if you actually plan on doing that, please just make an browser-based OS that is a wrapper for this site:

http://www.windows93.net/

Edit: I'm only answering semi-seriously because sometimes it's the stupid and laughable questions that foster new, maybe even completely unrelated ideas.

React is the view layer. Maybe you can write the UI in react, but everything else would just be JavaScript, no?
This is a troll... can we just ban this account and delete this post?
I'm sincerely confused, are you being serious?
Apply for PhD? Have you completed your BSc?
DX?