News for hackers. Stuff that matters.
Re:Running Swift code on Android by tpaksoy on Wednesday October 14, 2015 @12:19PM (#10387512)
Having to deal with mangled symbols is pretty annoying. Is it not possible to give a directive to the Swift compiler to disable mangling? Like rust has:

    #[no_mangle]
Re:Running Swift code on Android by gorena on Wednesday October 14, 2015 @12:28PM (#10387565)
How would it resolve the differences in types without mangling?
Re:Running Swift code on Android by plorkyeran on Wednesday October 14, 2015 @02:29PM (#10388425)
No. Currently to call Swift from C (or any other language that supports C-like things) you either have to use the mangled names or write an obj-c wrapper.