News for hackers. Stuff that matters.
Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by 90s_dev on Friday June 06, 2025 @10:40AM (#44201407)
My theory is that good C++ devs haven't yet made a simple yet powerful build system because they're too busy making lots and lots of money writing enterprise C++.
Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by dazzawazza on Friday June 06, 2025 @11:00AM (#44201599)
We all just accepted CMake. It's not perfect but it works. C++ with SDL and Lua in a mono repo should be trivial. SDL3 supports CMake and Lua is simple to compile and make a CMakeLists.txt for.
Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by verall on Friday June 06, 2025 @11:56AM (#44202128)
This is correct. It has the key things that most C++ devs tend to care about:

- Cross platform support well integrating into "native" tooling

- Endless ability to add weird hacks to things to get around problems

The syntax is ...passable. I've never gotten a java stacktrace during a build failure (ahem bazel ahem).

It's straightforward enough to do the horrible things that C++ devs do all of the time like having 3 dependencies from system apt, 2 vendored, actually a 3rd is vendored but only used on windows, where the other 2 come from vcpkg, and 4 of these are statically linked but the last (openssl) is dynamic and accepts any version in order to support both ubuntu LTS and arch, but shipped as a dll on windows.

I have prayed before the CMake gods and they have accepted me.

Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by shortrounddev2 on Friday June 06, 2025 @01:22PM (#44203047)
Visual Studio + MSBuild is simple if you're okay with IDEs