Live data from Hacker News

Show HN: Banan-OS, an Unix-like operating system written from scratch

github.com

31–40 of 65 posts

Re: Show HN: Banan-OS, an Unix-like operating system written from scratch

#33
post #2

This is really cool! I like the name, too. Of all the things you've implemented for this, what has been the most difficult part? And have you hit any serious roadblocks along the way?

There hasn't been any overly difficult parts. I'd say the most difficult one has to be either AML interpreter because the ACPI specs are very badly written or the USB stack just because the size of the specifications is so large with a lot of cross referencing. There hasn't been any major roadblocks. Sometimes I give up on a feature and come back to it maybe month or two later though.

I would anticipate that you only have support for boot-mode keyboard and mouse now, considering the complexity of the full USB-HID spec. Otherwise I'd be very impressed.

Re: Show HN: Banan-OS, an Unix-like operating system written from scratch

#34

This a very cool side project, congratulations! Any tips for anyone that also would like to attempt something similar ? Like where to start or or sources etc

There's https://os.phil-opp.com/ for rust, https://github.com/tuhdo/os01 for general OS development and make sure to read Operating Systems: Three Easy Pieces

Re: Show HN: Banan-OS, an Unix-like operating system written from scratch

#35
post #9

Very cool! How much time do you dedicate to this, in terms of hours per week? Looks like a lot of work has gone into it! You say you're a student on your profile - does that mean university? If so, have you also worked on the OS directly as part of your studies?

Yeah I am a student at an university. I have managed to "skip" some courses like operating systems and concurrency just by showing my project to the professor. Otherwise my project is not integrated to my studies in any way. I also got a part time job in my university's embedded side because of my project. How much time I put to this really depends on what else is happening in my life at the moment. There has been mo…

>×I have managed to "skip" some courses like operating systems and concurrency just by showing my project to the professor.

Love this! Well done. Best way to skip classes ever!

Re: Show HN: Banan-OS, an Unix-like operating system written from scratch

#36
post #3

Very nice. Lot of work. What stand out challenges have you encountered?

I think biggest challenges have to be with reading large specifications. I've never really done that before so it took some time to get used to.

Could you link a random specification you were working against? I'm curious how there are written

Re: Show HN: Banan-OS, an Unix-like operating system written from scratch

#37
post #5

Earlier quoted context omitted.

You surely mean that it's a hobby project and probably won't be big and professional like GNU?

I can't see anyone seriously suggesting to management that they run Banan-OS. Probably the same self-inflicted handicap of CockroachDB.

It's because we learnt the lesson and know that management wouldn't run it anyway. Otherwise they would go bananas.

Re: Show HN: Banan-OS, an Unix-like operating system written from scratch

#38

Earlier quoted context omitted.

...that the word iiis...

"just a hobby, won't be big and professional like gnu" which is a quote from Linus's Linux announcement on Usenet in 1991.[1] He didn't know it was going to be big at the time, making it an ironic statement after the fact, and that could also be the case for any new OS from scratch such as this one. [1] https://www.cs.cmu.edu/~awb/linux.history.html

There was a need for linux, and that's why it took off. The Unix wars, the provenance of the 4.3 BSD code, the cred of running a Unix (or Unix-alike).

Not to trash this guy's project, but there's no similar perfect storm going on right now.

Re: Show HN: Banan-OS, an Unix-like operating system written from scratch

#39

Earlier quoted context omitted.

"just a hobby, won't be big and professional like gnu" which is a quote from Linus's Linux announcement on Usenet in 1991.[1] He didn't know it was going to be big at the time, making it an ironic statement after the fact, and that could also be the case for any new OS from scratch such as this one. [1] https://www.cs.cmu.edu/~awb/linux.history.html

There was a need for linux, and that's why it took off. The Unix wars, the provenance of the 4.3 BSD code, the cred of running a Unix (or Unix-alike). Not to trash this guy's project, but there's no similar perfect storm going on right now.

I don't think it was a perfect storm going on , but rather since today Linux is popular & strong , you are retracing it to it having a perfect storm and nothing can come close to it .

That being said , I still think that this wouldn't reach mass adoption "just for being an alternative to linux" and that this has to have a specific purpose

For example serenity os has a really cool old - ui and some people think its a fun os in general , out of which came the ladybird project.

Redox os is trying to write it in rust , something which can have some practical meaning in my opinion

Post reply on HN