πŸ€–πŸ’€ Ah, another riveting tale of #Swift bravely venturing into the treacherous lands of #C #compatibility, like a knight in shiny armor facing a dragon-sized pointer. πŸ‰βš”οΈ If you've ever wondered how to turn 7 minutes into a lifetime, this journey is your ticket! πŸš‚πŸ’€
https://carette.xyz/posts/swift_c_compatibility_with_raylib/ #Adventure #KnightInShinyArmor #DragonSizedPointer #TechJourney #LifetimeTransformation #HackerNews #ngated
Testing the Swift C compatibility with Raylib

Since Ladybird team abandoned their Swift adoption for the browser I heard a lot of criticism about the Swift ecosystem and the interaction between Swift and C/C++ projects. My usage of Swift is mainly for command line tools, recreational programming (like Advent of Code 2023 and previous years) or Metal programming. In my previous experiments I really enjoyed Swift, and actually preferred it to some other programming languages like Rust. However it seems that programmers have wrong opinions about this programming language, especially about its accessibility (no it is not only for Apple platforms) and its actual power wrapping C/C++ libraries.

A journey into a wild pointer