Live data from Hacker News

Minoca OS: A new open source operating system

blog.minocacorp.com

31–40 of 196 posts

Re: Minoca OS: A new open source operating system

#31
post #23

The code gives me flashbacks to working with the Windows API. Cool project though and it's nice that they already have a handful of drivers. EDIT: To clarify, I'm not saying it's bad at all, they're just using a very verbose naming convention that I don't particularly like working with.

It looks like they have basically adopted the coding conventions of windows API code, down to the /++ --/ comments, style of declaring functions, uppercase types etc. Not that it's is a bad thing, just something I noticed.

Also things like KeCrashSystemEx look very much like KeBugCheckEx in Windows. There certainly is a lot of inspiration.

Edit: I see from Linkedin the OP is actually an ex-MSFTer who worked on Windows' HAL, so this makes sense. I wonder, tho, if this will present legal issues? Could someone say that it is an issue that the API is clearly inspired by the Windows API?

Re: Minoca OS: A new open source operating system

#32

I ran `cloc` on the minoca/os repository, here are the results: github.com/AlDanial/cloc v 1.70 T=22.43 s (84.3 files/s, 63498.9 lines/s) ----------------------------------------------------------------------------------- Language files blank comment code ----------------------------------------------------------------------------------- C 1023 296251 262652 530443 C/C++ Header 438 93833 117592 69529 Assembly 95 9588…

tl;dr, ~625k source lines of code, mostly C, with a bunch of C++ and Assembly too?

Re: Minoca OS: A new open source operating system

#34
post #7

Oh please. You have to start somewhere and this is where they're starting. By comparison, Linus' first announcement was: Hello everybody out there using minix - I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. This has been brewing since april, and is starting to get ready. I'd like any feedback on things people like/dislike in minix, as my OS resemble…

Ok, but why are they doing this?

For learning?

Re: Minoca OS: A new open source operating system

#36
post #7

Oh please. You have to start somewhere and this is where they're starting. By comparison, Linus' first announcement was: Hello everybody out there using minix - I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. This has been brewing since april, and is starting to get ready. I'd like any feedback on things people like/dislike in minix, as my OS resemble…

Actually there's plenty of docs to read: http://www.minocacorp.com/doc/1375/api/KERNEL_API/ I haven't found something like an architecture overview of the kernel itself, but the docs story isn't bad for a 2-ppl team. Kudos.

There is a very high level overview at http://www.minocacorp.com/documentation/developers/knowledge...

Re: Minoca OS: A new open source operating system

#37
post #32

I ran `cloc` on the minoca/os repository, here are the results: github.com/AlDanial/cloc v 1.70 T=22.43 s (84.3 files/s, 63498.9 lines/s) ----------------------------------------------------------------------------------- Language files blank comment code ----------------------------------------------------------------------------------- C 1023 296251 262652 530443 C/C++ Header 438 93833 117592 69529 Assembly 95 9588…

tl;dr, ~625k source lines of code, mostly C, with a bunch of C++ and Assembly too?

And about 2:1 code to comment ratio in the C side, which seems pretty good to me (without poking at other projects for comparison)

Re: Minoca OS: A new open source operating system

#38
I would love to see architecture and comparison to other kernels described!

Also, I wonder if this can be made to run on Cortex M4 with "MPU" but not "MMU" hardware? Something to run on the Teensy 3.6 would be interesting.

BTW: Binary compatible function driver interfaces are great! They served us well on BeOS. The Linux "recompile everything under the sun" approach really gets in the way for many real world situations.

Finally, I'm sick and tired of POSIX I/O. It's a really old model, and a really bad match to modern hardware and use cases. Someone needs to develop and popularize the callback/messaging based kernel/application interface of the future, complete with something other than the main() entry point...

Re: Minoca OS: A new open source operating system

#39
Perhaps a stupid question but where is the architecture doc? (I think that should be the starting point, especially if you want help from a community.)

I'm also interested in what theoretical results from the last 25 years are being used. Some references to papers would be nice. Since the biggest hurdle is separation and thus security, I can imagine the OS has an embedded theorem prover, but I see no mention of it.

Re: Minoca OS: A new open source operating system

#40
post #32

I ran `cloc` on the minoca/os repository, here are the results: github.com/AlDanial/cloc v 1.70 T=22.43 s (84.3 files/s, 63498.9 lines/s) ----------------------------------------------------------------------------------- Language files blank comment code ----------------------------------------------------------------------------------- C 1023 296251 262652 530443 C/C++ Header 438 93833 117592 69529 Assembly 95 9588…

tl;dr, ~625k source lines of code, mostly C, with a bunch of C++ and Assembly too?

I don't think there's any C++, it's just referring to the C headers above.
Post reply on HN