Live data from Hacker News

Minoca OS: A new open source operating system

blog.minocacorp.com

141–150 of 196 posts

Re: Minoca OS: A new open source operating system

#141
post #136

Earlier quoted context omitted.

Applications have for the most part proven that they cannot be trusted to get text encoding and decoding right, especially not in any consistent way. Operating systems definitely should make it possible to deal with the raw byte streams, but the default and preferred method of text handling should be a standard higher-level interface.

> Applications have for the most part proven that they cannot be trusted to get text encoding and decoding right, especially not in any consistent way. That's because text encoding and decoding is a mess. Operating systems doing it doesn't make it any less of a mess; it just inserts the mess deeper into everything. For example, look at all the quirks and edge cases in file name handling between different OS's, simply…

Regardless of whether operating systems get involved in tasks like re-encoding text, they really should at least carry along the metadata about encodings whenever they're handling bytes that represent strings. Completely ignoring the problem and leaving it up to applications further up the stack just ensures that there will be incompatible competing standards for how to tell applications how to decode the string data they get from the OS. You don't want some apps trying to write filenames in UTF-8 while others use UTF-16, but allowing it to happen silently is even worse.

Re: Minoca OS: A new open source operating system

#142
post #96

Earlier quoted context omitted.

> would that, and thousands of other packages, be feasible without a workable POSIX layer? I think my problem is the core concept. POSIX stands for Portable Operating System Interface (and X stands for Xtreme?). In an age where we spin up entire operating systems to start a single application, why are we defining portability at the operating system level when network portability works so much better? Keep in mind, th…

> and X stands for Xtreme? The X in POSIX is for unIX. Kinda like a pun on all the *nix things that were floating around back then (Xenix, Minix, AIX, Sinix, Ultrix, IRIX, ...)

See "The origin of the name POSIX" https://stallman.org/articles/posix.html

Re: Minoca OS: A new open source operating system

#143

I have to say... the code is beautiful: Full English descriptive variable names and nearly every function is documented. As AngularJS has shown, cleaner, consistent code and architecture style = more contributors. Take a look here for example: https://github.com/minoca/os/blob/master/kernel/io/iobase.c#...

You basically just said that the Windows kernel code is beautiful, because they are using exactly the same coding style...

Re: Minoca OS: A new open source operating system

#144
post #119

Earlier quoted context omitted.

Microsoft has produced several successful operating systems without POSIX compatibility.

Not quite accurate: https://technet.microsoft.com/en-us/library/cc754351(v=ws.11...

Interix which later became, SFU (Windows Services for UNIX) and then finally SUA (Subsystem for Unix-based Applications) was initially developed in the 90's by Softway Systems, as an optional addon subsystem to the Windows family of OS's.

For the record, it did not ship built-in or as part of the kernel. Even within Microsoft, it seemed the project was in perpetual life-support-mode.

Still, I do feel a small pang of sadness. There was once a time in the early 2000's, where I would have loved to see this chimeral oddity succeed.

[1] https://en.wikipedia.org/wiki/Interix

Re: Minoca OS: A new open source operating system

#146
post #50
post #44

NT coding style and some similarities with naming. Very clean looking in what I've seen so far. Nice work guys.

Have to agree about the good work part. Sadly my personal opinion is that I really, really dislike the NT coding style. Now that makes me wonder how coding style affects peoples will to contribute. Compare this to the Linux kernel coding style and they're on different sides of the scale, I wonder how it will affect contributions.

Windows can do this with its subsystems (Win32, POSIX, OS/2, Linux). Perhaps they will reuse some of that idea so your preference might be swayed.

Re: Minoca OS: A new open source operating system

#147

a barebones debian install of debian-testing or debian-unstable, running no services takes about 68MB of RAM, whether in i386 or amd64 kernel versions, and with a very recent v4.7 or v4.8 series kernel... how much more lightweight do you need?

On a PC, 68 MB is nothing.

But in embedded space, 68 MB RAM just for the system is pretty big. Many systems have a fraction of RAM of that. 1 - 256 kB RAM is common. Of course embedded systems can also have gigabytes of RAM. It's a wide spectrum, so as small as possible is preferable.

Re: Minoca OS: A new open source operating system

#150
post #144

Earlier quoted context omitted.

Not quite accurate: https://technet.microsoft.com/en-us/library/cc754351(v=ws.11...

Interix which later became, SFU (Windows Services for UNIX) and then finally SUA (Subsystem for Unix-based Applications) was initially developed in the 90's by Softway Systems, as an optional addon subsystem to the Windows family of OS's. For the record, it did not ship built-in or as part of the kernel. Even within Microsoft, it seemed the project was in perpetual life-support-mode. Still, I do feel a small pang of…

And we now have the Windows Subsystem for Linux, which I believe is supposed to be entirely new, but carries on the strange saga of Windows and POSIX userspace coming together.
Post reply on HN