News for hackers. Stuff that matters.
Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by v1sea on Friday June 06, 2025 @10:48AM (#44201489)
Thanks for sharing a simple setup that avoids SwiftPM. It is nice to have more options.

Swift has to shed the perception that it only works on apple platforms. I've found the the C++ interop to be pretty good for my computer vision use cases.

Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by pusewicz on Friday June 06, 2025 @01:03PM (#44202870)
Yeah, it's nice to use a cross-platform, well established tool to actually build a Swift project.
Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by anextio on Friday June 06, 2025 @11:09PM (#44207108)
CMake support started as a community project but was adopted officially by Apple after they started adopting some Swift in the compiler codebase – an extremely large and complex CMake project – so the support is extremely robust now.
Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by dlachausse on Friday June 06, 2025 @02:22PM (#44203595)
What’s the advantage to avoiding SwiftPM? Is it just for simplicity or are there other advantages?
Re:Swift and Cute 2D Game Framework: Setting Up a Project wi... by pusewicz on Friday June 06, 2025 @06:00PM (#44205439)
The build process requires you to have a C library built with its own dependencies. I don’t think it’s very common to do that with SwiftPM, hence it would require extra work for it to happen.