News for hackers. Stuff that matters.
Re:Swift on Android: Full Native App Development Now Possible by liuliu on Saturday January 03, 2026 @07:25PM (#46483386)
One thing useful for Swift is it's native interop with C / C++ libraries. These are often presented as SwiftPM or Bazel dependencies. How do you handle SwiftPM dependencies?
Re:Swift on Android: Full Native App Development Now Possible by fingerlocks on Saturday January 03, 2026 @08:17PM (#46483746)
Probably using the compiler flags directly? I’ve never heard of a Bazel dependency in Swift, and precompiled c++ was a huge pain in SwiftPM a year ago. I work on ObjC++/Swift/Metal as my day job and just use a Makefile because it’s easier