Hacker News
points by vertiwind 2 days ago | 0 comments
Can someone explain how games this size are ported?
[–] pickleballminec 2 days ago
From what I know, developers use tools like Emscripten to compile the game's C++ source code into WebAssembly.
[–] iberator 2 days ago
executables are very small in comparison to assets. you just decode the exe, transpile it to c, recompile again to wasm and viola!

you still need oryginal game to play

[–] saidnooneever 2 days ago
if u have the original game why on earth would u want to get a web browser involved? is there some benefit?m
[–] abrookewood 2 days ago
Because they can. Why do people write new programming languages or operating systems when we already have more than we 'need'?
[–] saidnooneever 1 day ago
fair point. cyberpunk runs so slow on my pc that id expect running it in a browser will litterally make it cry. but i suppose i have a modernday potato to do stuff on :')