News for hackers. Stuff that matters.

amaneureka

Re:Show HN: A new hobby OS from “scratch” in C# on Monday March 06, 2017 @02:58PM (#13805539)
oh! what's your name?
Re:Show HN: A new hobby OS from “scratch” in C# on Sunday March 05, 2017 @10:31AM (#13796337)
Indeed it is utilizing MMU for memory protection. But no that is not the final objective of project.
Re:Show HN: A new hobby OS from “scratch” in C# on Sunday March 05, 2017 @10:22AM (#13796305)
I strongly recommend you to build the kernel once and check output assembly file. which should answer lot of your doubts like extra overhead of object loading. It's not exactly same how you are interpreting. I tried very hard in order to optimize the output code.
Re:Show HN: A new hobby OS from “scratch” in C# on Sunday March 05, 2017 @04:01AM (#13795159)
I didn't mean that way. But I have updated the comment
Re:Show HN: A new hobby OS from “scratch” in C# on Sunday March 05, 2017 @03:39AM (#13795125)
For couple of years I contributed to Cosmos and fixed some bugs in MOSA. But my design idea was much different from them. So I decided to start with a new project. And seems like it worked!
Re:Show HN: A new hobby OS from “scratch” in C# on Sunday March 05, 2017 @03:38AM (#13795123)
It does not. new operator internally calls Heap.kmalloc https://github.com/amaneureka/AtomOS/blob/master/src/Kernel/...

To free any object instance I have to call Heap.Free

Re:Show HN: A new hobby OS from “scratch” in C# on Sunday March 05, 2017 @03:29AM (#13795103)
Sure, Thanks :D
Re:Show HN: A new hobby OS from “scratch” in C# on Sunday March 05, 2017 @02:42AM (#13795021)
Because It is not possible to run C# executable without .NET framework. I had to work on a compiler first. Source: https://github.com/amaneureka/AtomOS/tree/master/src/Compile... Which works on the top of Microsoft's IL Builder. Then it add compiler stubs to support .NET code and convert code into native x86 assembly. The assembly file is then passed through NAsm and proper linking chain to produce final Kernel ELF binary. Build.sh produces an ISO image which can be used to boot OS in either virtual machine or on real hardware.

I explained it here: https://www.reddit.com/r/programming/comments/5xlmc6/a_new_h...

Re:Show HN: A new hobby OS from “scratch” in C# on Sunday March 05, 2017 @02:41AM (#13795016)
I am really sorry about lack of details on page. I am working on it and soon add more detailed documentation.

Meanwhile You can try building it and play around with source.

https://github.com/amaneureka/AtomOS/wiki/Build-Environment

Re:Show HN: A new hobby OS from “scratch” in C# on Sunday March 05, 2017 @02:39AM (#13795013)
Yeah. And I managed to take it to the next level with dynamic executable loading and SVGA drivers.
A fun project T-Rex Chrome game player using machine learning. - MultiLayer Preceptron Neural Network (Tanh Layer) - Unsupervised Learning repo: https://github.com/amaneureka/T-Rex/ demo: http://amaneureka.github.io/T-Rex/