News for hackers. Stuff that matters.
Re:Custom Minecraft Classic client written from scratch in C by FrustratedMonky on Friday September 15, 2023 @11:11AM (#37524284)
This is great.

It would be cool to do this in Rust and run on WASM.

Re:Custom Minecraft Classic client written from scratch in C by wiseowise on Friday September 15, 2023 @11:36AM (#37524659)
Re:Custom Minecraft Classic client written from scratch in C by FrustratedMonky on Friday September 15, 2023 @01:23PM (#37526359)
NO it is NOT.

I said RUST to WASM.

That link is just for compiling C with JavaScript interropts.

I was simply commenting that:

'hey that is cool you did this with C'

'wow, this seems like it would also be a cool exercise to do with Rust'.

Re:Custom Minecraft Classic client written from scratch in C by hbn on Friday September 15, 2023 @11:19AM (#37524383)
Minecraft was officially playable in the browser from the website back in the day!
Re:Custom Minecraft Classic client written from scratch in C by throwaway74902 on Friday September 15, 2023 @11:32AM (#37524598)
Using Java applet...
Re:Custom Minecraft Classic client written from scratch in C by jakobson14 on Sunday September 17, 2023 @08:46PM (#37550918)
what did you expect? the game is written in java
Re:Custom Minecraft Classic client written from scratch in C by throwaway74902 on Tuesday September 19, 2023 @06:37AM (#37567938)
Just saying that it's not really running in the web browser, merely displayed within it. And won't run today.
Re:Custom Minecraft Classic client written from scratch in C by jakobson14 on Saturday September 23, 2023 @02:38PM (#37626070)
To "run in the web browser" you mean rewriting the game in javascript.

No, webassembly wasn't a thing yet at the time (arguably still isn't). I'm not sure emscripten existed, and even when it works it turns 20KB C++ binaries into 3MB of broken javascript. Non-starter for a performance-sensitive game engine.

Re:Custom Minecraft Classic client written from scratch in C by Joker_vD on Friday September 15, 2023 @11:13AM (#37524305)
Or in Malbolge and run on MMIX.
Re:Custom Minecraft Classic client written from scratch in C by FrustratedMonky on Saturday September 16, 2023 @05:45AM (#37533384)
Whoever is downvoting this so hard, I'd like some explanation.

This was the most innocent comment ever.

Is there an anti-Rust sentiment?

Is it so bad to say something was a good idea, it makes me think of trying other things too.