News for hackers. Stuff that matters.
Re:Open Golf: A cross-platform minigolf game written in C by hoten on Thursday March 24, 2022 @01:36PM (#30793020)
Emscripten. If you use something like SDL porting is trivial.

Working on a project to port a 20 plus year old c/cpp code base to the web. The tooling was like 98% there but I've had to upstream a few fixes or find a workaround every now and then.

Re:Open Golf: A cross-platform minigolf game written in C by flatiron on Thursday March 24, 2022 @07:48PM (#30797008)
Good on you man. If I got an email that said “opportunity: port 20+ cpp app to web” I would chuckle and close that sucker real quick. Modern cpp I maybe can deal with. That 90s stuff is real bad.
Re:Open Golf: A cross-platform minigolf game written in C by hoten on Sunday March 27, 2022 @02:51AM (#30818291)
It's actually a purely voluntary endeavor. I'm attempting to port a game engine called Zelda Classic to the web. So far, so good!