Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> One might inquire about the feasibility of developing GUI applications using Swift on Windows, particularly regarding the necessity for manual FFI bindings,

How common is it to need manual FTI bindings and if so, how hard is that? Reading https://www.swift.org/documentation/cxx-interop/ and https://forums.developer.apple.com/forums/thread/744361, I get the impression it’s fairly simple, if not often fully automated, and both Swift-to-C++ and C++-to-Swift calls look like normal calls in the respective languages.

> The strategy Apple employed in not prioritizing C++ as a primary language, while also introducing Swift as a new language, is quite intriguing.

They’re aiming to have good compatibility with existing C++ code, with all new code getting written in Swift.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: