I did not see that on the front page. Thanks for pointing it out.
My mind shut down about 49 days ago.
1,788 karma · joined March 13, 2025
I did not see that on the front page. Thanks for pointing it out.
My mind shut down about 49 days ago.
I also thought of how we could create a site that lets you sign up and upload your shareware games and uses public/private key pairs to generate license keys upon purchase which your app validates with the public key at runtime.
Apps would have to be compiled to wasm bytecode or lua bytecode for that to work though and not be easily crackable.
From all that I've experienced in the past few weeks dealing with C projects and various build systems and operating systems, I suspect that using Zig would work perfectly as an easy cross-platform alternative to CMake. Until I open up my code in VS Code and the C/C++ plugin just doesn't work, no auto-completion, no go-to-definition, syntax highlighting is broken, etc., and all because it can't find the files in places it ordinarily expects them to be. And maybe there will be some hacky way to fix it with a setting for the VS Code plugin, but likely not.
I'm not saying this is the case, but literally none of the setups I tried feels non-hacky so far, and every one of them has at least one noticable problem during development. I truly miss the days of writing apps for a single platform using its own native build tools. Maybe that's what I'll do: write this as a native Windows app using Visual Studio (ugh, such an awful editor though) and then if I get sales, port it to Mac OS X 10 using Xcode.app, and compile it for Linux inside WSL with GCC 15.
\</rant>
What bothers me with C/C++ is how difficult it is to cross compile a simple Windows + SDL app from inside WSL without MSVC installed.
I've spent weeks on this.
If Zig saves me from that nightmare, and still lets me use C++ libraries, I will gladly switch over to it.
I don't really have that many skills.
The most complex thing I've made is https://docs.os.90s.dev/
Email me if it matches up with stuff you need done: admin@90s.dev
It's particularly exciting that they constantly rebase upstream Lua, and plan to update it to be compatible with Lua 5.5. Especially because Lua 5.5 finally has the ability to turn off globals!
Also yeah seems like they reinvented null pointer crashes but with extra steps.