6 ms·
It is ironic, that writing OS is easier than writing a browser.
by vbezhenar 6y ago
It is ironic, that writing OS is easier than writing a browser.
- mkl 6y agoThat hardly seems ironic. Operating systems have been around for several decades longer than web browsers, and many are orders of magnitude simpler.
- ithkuil 6y agoIndeed you could write an order of magnitude simpler browser, and also write the web pages it could render. Probably most people wouldn't bother using it since they want to read some other, legacy web pages (you know, to pay their bills, shop online, check the weather forecast, book their flights). The analogy with operating systems is not silly, actually. Operating systems have indeed benefited/suffered from the network effect caused by "content" (programs). OSs were indeed becoming also feature-rich bahemoats that are hard to recreate faithfully enough in order to run that legacy stuff.
- Matthias247 6y agoOperating system is imho a rather wide term. There is not that much to a simple operating system. They are mostly a scheduler. Manage some tasks, have the ability to switch between them - that's it. Things like FreeRTOS are not a lot more. However when people refer to Windows or macOS as OS, they also include the whole collection of standard software as part of the OS. Control panels, browsers, GUI frameworks, etc. At that point it probably includes a browser
- GordonS 6y ago> However when people refer to Windows or macOS as OS, they also include the whole collection of standard software as part of the OS. Control panels, browsers, GUI frameworks, etc I'd add hardware drivers to that list too. Many are of course written by 3rd parties, but to the average consumer they are "part of the OS".
- monocasa 6y agoTao of Programming 3.3 There was once a programmer who was attached to the court of the warlord of Wu. The warlord asked the programmer: "Which is easier to design: an accounting package or an operating system?" "An operating system," replied the programmer. The warlord uttered an exclamation of disbelief. "Surely an accounting package is trivial next to the complexity of an operating system," he said. "Not so," said the programmer, "When designing an accounting package, the programmer operates as a mediator between people having different ideas: how it must operate, how its reports must appear, and how it must conform to the tax laws. By contrast, an operating system is not limited by outside appearances. When designing an operating system, the programmer seeks the simplest harmony between machine and ideas. This is why an operating system is easier to design." The warlord of Wu nodded and smiled. "That is all good and well, but which is easier to debug?" The programmer made no reply.
- farisjarrah 6y agoAre there actually more of these Tao of Programmings? I would be interested in reading more of these.
- Marcusn3 6y agohttp://www.mit.edu/~xela/tao.html http://www.mit.edu/~xela/tao.html
- ilaksh 6y agoBecause browsers are now actually mature operating systems with many, many features and APIs. I think a lot of people actually as much or more applications in their browser these days than normal applications. A lot of times they don't realize they are running an application though until it freezes the browser or pops up a window begging for money. But it's amazing how much code is downloaded for seemingly trivial applications sometimes. But anyway if you take Chrome as an example, they are literally adding just about every OS feature including accessing USB devices.