224 pointsby Jotalea3 days ago14 comments
  • nxobject13 hours ago
    This is amazing. And it's all done in 8 KLOC – half of it Java, half of it Rust.

    Link to source: https://github.com/EVV1E/waylandcraft

  • yakattak13 hours ago
    I can't wait to have windowing bugs and UI issues but in Minecraft!

    Jokes aside, I've grown to love "XYZ in Minecraft". It's like a newer (still 2011 was a long time ago!) version of "Doom on XYZ".

    • colechristensen10 hours ago
      My humble addition is an Alacritty-based terminal emulator in Minecraft, not particularly ready for release to the public

      https://anvil.fangorn.io/fangorn/huorn-minecraft

    • mikeweiss9 hours ago
      I haven't used Linux desktop in 6 years but I remember when Wayland was new and started replacing X about 15 years ago and these were common complaints... I hope this is a joke and still isn't the case!
      • kiwijamo2 hours ago
        I've been using Wayland for some years (at least since Debian switched to it as their default) and not had any issues with it. I think complaints were more common about X, and Wayland has resolved a lot of it for the average user. For example my switch to Wayland was the first time I had 100% working video playback on Intel iGPUs without tinkering with conf files. I appreciate there are still some edge cases where X11 is still better -- but I think for 95-99% of users Wayland has just worked.
        • ueckeran hour ago
          Is is a regular occurrence that students in my lab that use or switch to Wayland still run into problems. Switching back to X11 reliably works as a fix. The sad thing is that there is also no apparent advantage to Wayland, it is just pushed down to us via distributions.
      • ben-schaaf8 hours ago
        Significantly less so than before, but it's unfortunately still the case. It's also just now getting features that people have been asking for for over a decade, and of course due to the nature of Wayland the implementations of these features are sporadic and inconsistent.
        • amlib8 hours ago
          I think the main difference is that there aren't really any deal-breaker kind of bugs any more, and as far as features there are none missing that users care about compared to X11. It's mostly just annoying bugs and the usual "third party" (including KDE) apps looking off in GNOME because the devs can't reach an agreement on some things, users be dammed.
      • ryukoposting8 hours ago
        It's not. Wayland has really gotten its shit together in the last 5-ish years. A lot of the desktop ecosystem has matured in the last few years, actually.

        I maintain that the Linux desktop in 2021 was actually less usable than it was in 2016. But things have really turned around since then.

      • lunar_rover8 hours ago
        Wayland is a bunch of amateurs trying to be strict and secure and the end result is everyone opening their own security holes to make it usable. It's working now, mostly.

        KDE got some kind of video bridge recently which is an insane workaround for something that should've just worked.

        • imtringued2 hours ago
          I'm not sure I get your complaint?

          You're worried that capturing Wayland screens from X11 applications requires additional software?

          How is that a real complaint? The only way this would be possible without additional software is if Wayland itself was just another X11 Version, if Wayland was X12 which is X11 but with protocol changes that break backwards compatibility, you would run into exactly the same problem.

          Your standard for something being insane is that it is not 100% identical to X11.

  • schobi4 hours ago
    I'm impressed by the coding skill to achieve a seamless integration and "usability".

    But other than a demo "because we can" I'm confused on what this could ever be useful for. AR/VR prototyping? Virtual showroom?

    Or maybe for an online presentation? Stream a video of playing Minecraft and get fancy slide transitions? "let's go to the next slide" and "now we enter dangerous territory".. "over here I can show you how this program looks like in real life"

    • nkrisc2 hours ago
      This is a “because I can” type of project.
    • dm3194 hours ago
      Could have an office Minecraft world with a seminar room instead of Teams?
  • exidex4 hours ago
    Not sure why people praise Minecraft for this. This is huge feat of Wayland, and was possible because devs took time to consider use cases outside of current norm, and why it took so long to migrate the ecosystem. People liked to bitch about the "Gnome blocking/not implementing essential protocols" part, but even that partially made this possible
    • 4 hours ago
      undefined
    • mandarax84 hours ago
      Is there any reason that you couldn't implement this on Xorg?
      • serf4 hours ago
        absolutely not.

        a very near example would be immersed vr which is compatible with xorg and does essentially the same thing (2d windows pasted all over a 3d world), although not integrated into minecraft. also since their solution isn't wayland-centric it has ports to osx and windows.

        wayland deserves credit but not for this concept.

        • imtringued2 hours ago
          https://github.com/augustoicaro/Immersed-Linux-Virtual-Monit...

          >If you're reading this, you're likely in the same boat as me. You've discovered that Immersed can create virtual monitors for Windows and Mac, but on Linux, this feature is marked as "unsupported" on X11. This means you can't create virtual monitors directly through the Immersed agent. For now, the known workaround is to manually set up virtual monitors. If you use Wayland, now immersed offer support for native virtual displays on the Immersed agent on gnome Wayland. You can access this options in Immersed client menu -> Setting -> Configure virtual displays. Other Wayland DE/Compositors are not supported, but there are ways to create virtual monitors manually as we do on X11, please check the linux-help channel in the Discord server for more info.

          Basically immersed vr doesn't support X11 windows, it only supports X11 screens, which means you would have to create a new screen manually for each window.

      • DarkmSparks3 hours ago
        xserver only takes about 10 lines of code, that doesnt sound as impressive as 8,000
  • sandruso13 hours ago
    Minecraft is becoming DOOM in terms of crazy technical feats.

    I love it.

    • lloeki3 hours ago
      Interestingly they're opposites really, people try to run DOOM on anything, while they try to run anything in Minecraft.

      This is closer to PSDoom:

      https://www.cs.unm.edu/~dlchao/flake/doom/chi/chi.html

    • colordrops13 hours ago
      Becoming? crazy stuff has been done in Minecraft for the longest time. Someone built a functional CPU and computer in Minecraft in 2010.
      • mcvan hour ago
        People not only built a functional computer in Minecraft, people have run Minecraft on that functional computer in Minecraft. Extremely slowly, obviously, but it did technically work.
      • avaer13 hours ago
        I agree: running simulated computers inside of Minecraft is a significantly more impressive technical feat than bolting on display surfaces to planes with a mod.

        There's a big difference between something being compiled to run inside of Minecraft, versus running a sidecar that streams back a display. It's the difference between compiling and running on your machine, and streaming back a cloud machine using RDP.

        Not like this makes a difference to users, who don't know how any of this works. But we are on Hacker News...

        • flexagoon12 hours ago
          Just because someone has done a more impressive project in Minecraft doesn't mean this one isn't interesting
    • amarant8 hours ago
      Now if only someone could make doom run on Minecraft, that would be the ultimate flex.
      • xerox13ster6 hours ago
        Pretty sure this has been accomplished on redstone. It was definitely a demake and sped up >10000x not realtime but I believe it was done.
  • inciampati13 hours ago
    Finally, I can escape to paradise and work remote.
  • analogpixel11 hours ago
    Is Minecraft dethroning Emacs as the new weird OS that can do everything but probably shouldn't? Can I check my email in minecraft yet?
    • ltheanine11 hours ago
      With this compositor I’d think it could do anything at this point.
      • wild_egg11 hours ago
        For the real emacs experience you could use this mod to render an IDE in Minecraft editing the mod that renders the IDE.
    • arikrahman11 hours ago
      Emacs can do everything and probably should though
      • mghackerlady2 hours ago
        If it handles text, it is in the realm of things you can reasonably prefer to do in emacs
    • exallotriote4 hours ago
      you can open the web browser in that mod, so yes you can
  • jwlake13 hours ago
    If its not written with blocks its not real.
    • tines13 hours ago
      "In Minecraft" doesn't mean what it used to. When somebody wrote an 8-bit CPU literally "in Minecraft" it used to be badass. Now it's just a game addon.
      • rcxdude13 hours ago
        There are multiple ways that something can be "in minecraft"
        • jwlake12 hours ago
          It was more fun when people implemented gates. :)
          • creatonez6 hours ago
            Can't they just compete in separate categories? People have been making high-level computer mods years before even ComputerCraft, RedPower, or OpenComputers existed. And people will continue to make pure-redstone computers far into the future. Neither category is replacing the other :)
      • fluffybucktsnek13 hours ago
        You speak as if this isn't neat in its own way.
  • samtheDamned13 hours ago
    I wonder how this would pair with a VR mod. It doesn't seem like Vivecraft supports the version this was posted for at the moment, but if they had the ability to play nice that seems like it would would be a fun way to experience software.
    • avaer13 hours ago
      There are already VR overlay applications that do this on top of any game, not just Minecraft.
      • Philpax12 hours ago
        Yes, but part of the fun is doing it in Minecraft and using Minecraft's language for it (e.g. putting windows in your inventory, pulling them out of chests, etc)
  • a_t4811 hours ago
    A friend sent this to me yesterday - I was very disappointed that the video didn't show off Minecraft in Minecraft.
    • itsmeadarsh4 hours ago
      It is minecraft, even if you open Minecraft it will not work.
  • DonHopkins2 hours ago
    I was hoping Wayland pixels would be Minecraft blocks, so you could make gigantic Wayland screens, or use one block as a 1x1 pixel Wayland screen.
  • pjs_11 hours ago
    Finally
  • indianwashlet3 hours ago
    [dead]