Comment on Show HN: Rust Toolchain for iOS BitcodeparentComments−Diggsey6yObjective-C shares calling conventions and struct layout with C, so theoretically you could directly call the system frameworks from Rust via extern "C" functions.−holy_city6yNot even theoretically, the bindings for the runtime are out there [1] with some nifty helper macros.[1] https://github.com/SSheldon/rust-objc−MuffinFlavored6yIt'd be super cool to see a 100% Rust (with extern "C" calls) Hello, world! iOS compatible app.
Comments
Objective-C shares calling conventions and struct layout with C, so theoretically you could directly call the system frameworks from Rust via extern "C" functions.
Not even theoretically, the bindings for the runtime are out there [1] with some nifty helper macros.
[1] https://github.com/SSheldon/rust-objc
It'd be super cool to see a 100% Rust (with extern "C" calls) Hello, world! iOS compatible app.