Live data from Hacker News

The Essence operating system at Handmade Seattle 2021 [video]

media.handmade-seattle.com

21–30 of 42 posts

Re: The Essence operating system at Handmade Seattle 2021 [video]

#21
post #15

Earlier quoted context omitted.

There are two huge hurdles that no hobby operating system can realistically overcome, without major tradeoffs (like being 100% POSIX-compatible): accelerated graphics, which in this day and age are required even for basic 2D rendering, especially if you have a hidpi monitor, and a web browser. Everything else, compared to those two problems, is easy stuff. Graphics is just incredibly complex, opaque and obtuse kernel…

I would place "driver support" as on the same level. Porting a web browser to work on your platform (chromium, webkit) doesn't require rewriting the whole thing, and chromium etc already are designed in a way to isolate browser code from OS-specific code (as we can see by chromium code for windows/linux/macOS/android being mostly shared). On the other hand, making it so your OS works with the large number of common U…

Drivers are mostly not too hard, you just have to do them. USB seems like a challenge though. If your driver model isn't too wild, you can repurpose drivers from the BSDs and Linux. And maybe even windows networking drivers if ndis works for you.

A 1.0 launch really doesn't need to support everything. It just needs to support a large enough handful of common devices. Hell, Apple OSes barely support any hardware.

Re: The Essence operating system at Handmade Seattle 2021 [video]

#22
post #21
post #15

Earlier quoted context omitted.

I would place "driver support" as on the same level. Porting a web browser to work on your platform (chromium, webkit) doesn't require rewriting the whole thing, and chromium etc already are designed in a way to isolate browser code from OS-specific code (as we can see by chromium code for windows/linux/macOS/android being mostly shared). On the other hand, making it so your OS works with the large number of common U…

Drivers are mostly not too hard, you just have to do them. USB seems like a challenge though. If your driver model isn't too wild, you can repurpose drivers from the BSDs and Linux. And maybe even windows networking drivers if ndis works for you. A 1.0 launch really doesn't need to support everything. It just needs to support a large enough handful of common devices. Hell, Apple OSes barely support any hardware.

> Drivers are mostly not too hard

Except when they are, which is anytime something is poorly documented, which is pretty much all the time. Let's not even get started on vendors who don't WANT you to write drivers for their hardware.

> Hell, Apple OSes barely support any hardware.

Would be interesting to see an OS target specifically Apple HW to make it a bit easier on the devs.

Re: The Essence operating system at Handmade Seattle 2021 [video]

#23
post #21

Earlier quoted context omitted.

Drivers are mostly not too hard, you just have to do them. USB seems like a challenge though. If your driver model isn't too wild, you can repurpose drivers from the BSDs and Linux. And maybe even windows networking drivers if ndis works for you. A 1.0 launch really doesn't need to support everything. It just needs to support a large enough handful of common devices. Hell, Apple OSes barely support any hardware.

> Drivers are mostly not too hard Except when they are, which is anytime something is poorly documented, which is pretty much all the time. Let's not even get started on vendors who don't WANT you to write drivers for their hardware. > Hell, Apple OSes barely support any hardware. Would be interesting to see an OS target specifically Apple HW to make it a bit easier on the devs.

For any hardware you're likely to support on v1, there's probably a FreeBSD driver, a NetBSD driver, a Linux driver, and if you're lucky a leaked datasheet that's easy to search for. And a windows driver if you're desperate enough to disassemble that.

If that's not documentation, I dunno what is. Each of them will be wrong, of course, but they're all likely to be wrong differently, so you can learn from the differences.

Re: The Essence operating system at Handmade Seattle 2021 [video]

#25

God I would kill to make the pipe dream of competition in the OS space happen, there are many interesting hobbyist projects like this that just peak at some of the features and ideas that the current dominant operating systems don't touch.

There are two huge hurdles that no hobby operating system can realistically overcome, without major tradeoffs (like being 100% POSIX-compatible): accelerated graphics, which in this day and age are required even for basic 2D rendering, especially if you have a hidpi monitor, and a web browser. Everything else, compared to those two problems, is easy stuff. Graphics is just incredibly complex, opaque and obtuse kernel…

Web browsers are not part of the OS I believe. It's an application that can be ported to your OS.

Note though that at the same event, a few days earlier, a hobby OS was presented which ship with its own ex-nihilo web browser implementation: SerenityOS [0]. There is still a lot to go but apparently they have:

1. A lot of resources (dozens of active developers).

2. A plan (meaning organization, resources, tooling, etc).

It's still a hobby thing but it's promising.

[0]: https://news.ycombinator.com/item?id=29270776

Re: The Essence operating system at Handmade Seattle 2021 [video]

#27

God I would kill to make the pipe dream of competition in the OS space happen, there are many interesting hobbyist projects like this that just peak at some of the features and ideas that the current dominant operating systems don't touch.

There are two huge hurdles that no hobby operating system can realistically overcome, without major tradeoffs (like being 100% POSIX-compatible): accelerated graphics, which in this day and age are required even for basic 2D rendering, especially if you have a hidpi monitor, and a web browser. Everything else, compared to those two problems, is easy stuff. Graphics is just incredibly complex, opaque and obtuse kernel…

Having 3D support and a browser is far from enough. Unless people have access to the the apps they need, they aren't going to use that OS. And they won't settle with alternatives they deem subpar.

An OS is only a means to run software. Nothing more.

Re: The Essence operating system at Handmade Seattle 2021 [video]

#28
post #20
post #18

Earlier quoted context omitted.

This can be somewhat mitigated by running these OSes as VM guests, under Linux (or Windows) supervisor. That way, you only need to implement the virt devices. This makes some things not achievable (e.g. 0.7s startup time), but can make bootstrap phase of growth much easier.

“Linux is a free set of buggy device drivers” https://news.ycombinator.com/item?id=13660437

And a POSIX layer.

Re: The Essence operating system at Handmade Seattle 2021 [video]

#29

The GUI is cool and all, but someone could implement that for Linux or BSD. I'm more interested in how the kernel differs from Linux, and what the plan is to increase hardware support (if any).

I believe the kernel design is inspired by the original NT design.
Post reply on HN