Story Details

  • Java Minecraft in the Browser

    Posted: 2025-03-31 14:56:35

    BrowserCraft allows you to play a near-complete version of Minecraft Classic (specifically version 0.0.23a_01) directly in your web browser, thanks to the CheerpJ Java to JavaScript/WebAssembly compiler. It requires no installation or plugins, boasting full multiplayer support and even the ability to connect to existing Java Minecraft Classic servers. While aiming for feature parity with the original client, some differences exist, notably enhanced performance in certain areas and potential discrepancies in rendering. The project is open-source and actively being developed, welcoming community contributions.

    Summary of Comments ( 9 )
    https://news.ycombinator.com/item?id=43535769

    HN commenters express excitement and curiosity about the technical implementation of a Java Minecraft clone running in the browser. Several discuss the clever use of CheerpJ, a Java-to-WebAssembly compiler, noting its surprisingly good performance and suitability for CPU-bound tasks like Minecraft's game logic. Some commenters raise concerns about performance bottlenecks, particularly related to rendering and garbage collection, while others offer potential optimizations. The project's open-source nature and availability on GitHub are praised, with some expressing interest in contributing. A few commenters reminisce about similar projects in the past, comparing their performance and approaches. The overall sentiment is positive, with the project viewed as an impressive technical feat and a promising demonstration of WebAssembly's capabilities.