Show HN: My hobby OS that runs Minecraft

(astral-os.org)

111 points | by avaliosdev 3 days ago

11 comments

  • rf15 2 hours ago
    > 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..

    • toast0 1 hour ago
      Java creators tried to avoid giving developers any sharp edges. Interactions between signed and unsigned integers can be surprising, so they disallowed unsigned integers.

      Of course, not having access to unsigned quantities makes interaction with other programs difficult :(

      • astrange 38 minutes ago
        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.
    • bji9jhff 2 hours ago
      The creators of Java probably learned to code on MS Basic
  • ZebusJesus 2 days ago
    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?
  • zamadatix 3 hours ago
    I love hobby OS projects, and it's good to see how many there continue to be posted here. I can never get enough! It looks like this one has some networking support as well.
  • phendrenad2 2 days ago
    Love the Motif-style window borders!
  • coolcoder613 3 hours ago
    This is very impressive! When I saw the title, I thought it would be classicube, but no, it's actual minecraft.
  • jakemanger 2 days ago
    The “Astral from scratch guide“ idea really caught my eye.

    Gotta say that would be a pretty cool evolution of DIY electronics kits to OS kits

  • burnt_toast 2 hours ago
    Congrats! Seeing an old version of MC makes me nostalgic.
  • charcircuit 3 hours ago
    I would be interested in a benchmark.
  • kgwxd 3 hours ago
    Better than Windows 11 already. I can't run Bedrock or Java without first signing into the Microsoft Store on "my" PC.
    • zamadatix 3 hours ago
      Good news, you too can run Minecraft Alpha 1.2.0 single player offline without signing in. That's not what made this impressive :).
  • WhyOhWhyQ 5 hours ago
    Very inspiring!
  • Shelby-Thomas 4 hours ago
    [flagged]