Live data from Hacker News

Browsercraft: Java Minecraft in the browser

browsercraft.cheerpj.com

51–60 of 107 posts

Re: Browsercraft: Java Minecraft in the browser

#51
post #43

It's too bad that this kind of thing is using x86 as the actually-pseudocode for this. I understand why -- ease of porting, etc. -- but using either WASM (w/WALI?) directly with a kernel compiled to WASM (there are efforts to do this) or something open like RISC-V would be better long term.

This is actually running on top of a WebAssembly-based Java Virtual Machine (CheerpJ).

You are probably thinking about our independent x86 virtualization product CheerpX (https://cheerpx.io)

Re: Browsercraft: Java Minecraft in the browser

#55

The fact I'm playing this at 20 FPS on Firefox with a RX 7600 shows how much web browsers have regressed in 10 years, not how much they've advanced.

It's basically java -> wasm/webgl -> your computer

A 10 times hit compared to a native C implementation on performance doesn't really matter anymore, but a compounded 10x10 times will.

Re: Browsercraft: Java Minecraft in the browser

#56

Hi everybody, happy to see our CheerpJ demo is appreciated. CheerpJ is a WebAssembly-based JVM that can run unmodified Java 8 and Java 11 applications. Java 17 will be supported later in year. I am the lead developer of CheerpJ and CTO of Leaning Technologies. AMA.

Cool stuff!

Hey I saw a typo on https://cheerpj.com/cheerpj-core-licenses/, it says "liencesees" halfway the page

Re: Browsercraft: Java Minecraft in the browser

#57
post #47

Earlier quoted context omitted.

It's running minecraft 1.2.5 which was released in 2012, which mojang still makes available

One can get early Alpha and Beta versions of Minecraft through the official launcher too. I think this is a nice benefit - you buy the game once and have perpetual access to the latest version, but also all the old versions which are worth playing for various reasons e.g. Beta 1.7.3 is very popular because it's one of the last versions before the terrain and cave generation was significantly changed.

Also Modded Minecraft is extremely popular, and the mods necessarily aren't version agnostic, so you need to be able to run a specific Minecraft version to play the pack of mods you're currently enjoying.

Right now I am playing Enigmatica 2: Expert, which is a mod pack for Minecraft 1.12

Today I need to teleport to my spaceship which is in orbit around a distant planet and then fly it back to our solar system and visit Mars, as I have neglected to obtain materials from Mars which I need to build this end game item I'm working on.

It's still recognisably Minecraft even though I'm working with a 9x9 crafting grid. It has internal consistency, dragons hoard rare metals, Plutonium is a rare metal, therefore make sure to bring hazmat handling equipment if you're about to plunder a dragon's hoard.

Re: Browsercraft: Java Minecraft in the browser

#58

The fact I'm playing this at 20 FPS on Firefox with a RX 7600 shows how much web browsers have regressed in 10 years, not how much they've advanced.

> The fact I'm playing this at 20 FPS on Firefox with a RX 7600

Vanilla Minecraft is known for being awful for FPS even outside of a browser. There's a reason most people use a whole slate of performance mods just to get actual decent performance.

(I've got a Ryzen 7 with a 3080 and it would frequently hover between 40-50fps even with graphics turned down. Install the performance mods and I can get >120fps with fancy graphics and shaders.)

Re: Browsercraft: Java Minecraft in the browser

#59

Hi everybody, happy to see our CheerpJ demo is appreciated. CheerpJ is a WebAssembly-based JVM that can run unmodified Java 8 and Java 11 applications. Java 17 will be supported later in year. I am the lead developer of CheerpJ and CTO of Leaning Technologies. AMA.

Cool stuff! Hey I saw a typo on https://cheerpj.com/cheerpj-core-licenses/ , it says "liencesees" halfway the page

Thanks for spotting this, we'll get it fixed ASAP
Post reply on HN