Live data from Hacker News

Show HN: My hobby OS that runs Minecraft

astral-os.org

31–39 of 39 posts

Re: Show HN: My hobby OS that runs Minecraft

#31
post #13

> due to the mlibc code using the char value from the format string, the values above 127 passed by OpenJDK would be handled as negative integers It's 2025 and I still don't get why Java needed signed chars and bytes. Why completely disregard the convenience of using them for array access/etc..

[dead]

Re: Show HN: My hobby OS that runs Minecraft

#32
post #24

Earlier quoted context omitted.

The one that annoys me is that people think implicit type conversions are dangerous for some reason, so they also disallowed `char a = 10; short b = a;` without writing a cast even though this makes no sense.

The signedness of `char` is implementation-defined, it is signed on x86 but unsigned on ARM. So assigning a plain char to a wider integer type is suspicious, did the programmer expect sign-extension or zero-extension?

It's not implementation-defined in Java because there aren't any unsigned types.

Personally I think explicit typecasts are even more suspicious, because introducing explicit semantics is worse than implicit semantics if the explicit ones are wrong.

Re: Show HN: My hobby OS that runs Minecraft

#33

Well done and thanks for sharing, it's great to see people making a hobby OS and it's awesome that it plays Minecraft! How long have you been working on Astral?

Hi, this iteration I have been working on since 2023, but it uses some code in some places from the old iteration which I was working on during 2022 and 2023

Re: Show HN: My hobby OS that runs Minecraft

#35

That's quite a milestone and achievement, well done! Your current Features list reads far beyond hobby level! It certainly puts my own hobby phone OS to shame. I'm still working out touch screen driver, and I only have IBM/437 bitmap fonts so far, which turned out to be far too small for these modern phone screens, for surely it cant be my tired old eyes... Can I ask how you keep yourself motivated on such a complex,…

Sometimes I take long breaks but I always end up coming back. I find doing multiple things in my projects at the same time to help me not burn out as easily.

Re: Show HN: My hobby OS that runs Minecraft

#36

That's quite a milestone and achievement, well done! Your current Features list reads far beyond hobby level! It certainly puts my own hobby phone OS to shame. I'm still working out touch screen driver, and I only have IBM/437 bitmap fonts so far, which turned out to be far too small for these modern phone screens, for surely it cant be my tired old eyes... Can I ask how you keep yourself motivated on such a complex,…

Sometimes I take long breaks but I always end up coming back. I find doing multiple things in my projects at the same time to help me not burn out as easily.

Thanks. Well your post motivated me to knock off the rest of the I2C yesterday.

Good luck with the rest of your project.

Re: Show HN: My hobby OS that runs Minecraft

#38
post #7

Better than Windows 11 already. I can't run Bedrock or Java without first signing into the Microsoft Store on "my" PC.

Try the "Windows Legacy" launcher, or a 3rd party launcher like PrismLauncher. The legacy launcher is made for Windows 7 and is directly equivalent to the macOS/Linux launcher, so it doesn't have a hard dependency on the Microsoft Store. It will probably be a while before they stop maintaining it because it's such a trivial port.

Re: Show HN: My hobby OS that runs Minecraft

#39

Well done and thanks for sharing, it's great to see people making a hobby OS and it's awesome that it plays Minecraft! How long have you been working on Astral?

Hi, this iteration I have been working on since 2023, but it uses some code in some places from the old iteration which I was working on during 2022 and 2023

great job, bet you learned some really cool stuff along the way!
Post reply on HN