Live data from Hacker News

Essence: Desktop operating system built from scratch

nakst.gitlab.io

91–100 of 299 posts

Re: Essence: Desktop operating system built from scratch

#91
post #27
post #24

I like the UI, but I'm disappointed to find that the author is using orthodox C++ instead Modern C++

What do you mean by "orthodox C++"?

Usually orthodox c++ looks something like: https://gist.github.com/bkaradzic/2e39896bc7d8c34e042b

this is from bgfx

Re: Essence: Desktop operating system built from scratch

#92

If you want a fleshed out demo [0], we had the author present at our conference recently. Worth a watch. [0] https://media.handmade-seattle.com/essence/

Thank you, that's a really great overview.

Wow. Just wow. I wish everything in my life was designed like this.

Re: Essence: Desktop operating system built from scratch

#93

So first off: Very cool. Amazingly polished, and self-hosting! Especially since it looks to be an actually-independent project with POSIX as an optional compat layer. I feel like the features that are unique are mostly in 3 groups: 1. Features that shouldn't be unique to this system. Tabbed windows have occasionally happened on other systems, and probably should become more common, and there's no reason it shouldn't…

or the file manager showing when files are open

On Windows and Linux this is not difficult, I believe; the functionality is already present in things like https://docs.microsoft.com/en-us/sysinternals/downloads/hand... and lsof.

Re: Essence: Desktop operating system built from scratch

#94
post #28

Here’s to all the people who make their own operating systems. It’s great to see what a unified vision and some offbeat thinking can produce.

it's neat. there's like a whole indie os dev scene these days. kinda like when people used write os gui shell fanfiction, now they're writing their own novels with kernels from scratch and everything.

You can look around the osdev.org forums for plenty of that.

Re: Essence: Desktop operating system built from scratch

#95
post #45

This is insane, I can't imagine how much work went into it. I had a similar idea as a kid, I was pissed at all the bloat consuming my cpu and ram on windows so I wanted to build my own os that would run a single app taking advantage of 100% of the hardware. I learned some assembly and managed to create a bootable floppy disk, then quickly gave up, realizing how much work a functioning os would take...

It's a lot of work.

One guy pulled it off. https://en.wikipedia.org/wiki/TempleOS

Re: Essence: Desktop operating system built from scratch

#97

Earlier quoted context omitted.

Its x86 only currently. I know the owner does want to add arm support but its not being worked on.

Curious, is porting complex C++ projects to arm64 just a matter of updating build/CI systems or does it actually involve changing core code and adding branches if (x64) {} ... if (arm64) {}.

An os kernel needs a lot of custom work for the hardware. Example: manipulating page tables, handling interrupts, making context switches work.

Re: Essence: Desktop operating system built from scratch

#98

So first off: Very cool. Amazingly polished, and self-hosting! Especially since it looks to be an actually-independent project with POSIX as an optional compat layer. I feel like the features that are unique are mostly in 3 groups: 1. Features that shouldn't be unique to this system. Tabbed windows have occasionally happened on other systems, and probably should become more common, and there's no reason it shouldn't…

Tabbing like this is auported by the Sway window manager, and probably also i3 since Sway is an attempt to be compatible with i3 configs.

Re: Essence: Desktop operating system built from scratch

#99
post #20

So first off: Very cool. Amazingly polished, and self-hosting! Especially since it looks to be an actually-independent project with POSIX as an optional compat layer. I feel like the features that are unique are mostly in 3 groups: 1. Features that shouldn't be unique to this system. Tabbed windows have occasionally happened on other systems, and probably should become more common, and there's no reason it shouldn't…

What’s the state of the art for file systems in the age of M2 drives that are bonkers fast? I dunno about everyone else, but knowing hierarchically where my disk space is going is a really common concern.

Good point but likewise one has to wonder why the need for folder hierarchies anyway. With bonkers fast disks and cpus the organising of files should be able to be dynamic and driven by some form of metadata and tags rather than static tree structures. The web doesn’t first require you to define a structure before search so why should a desktop?
Post reply on HN