Re:How Swift achieved dynamic linking where Rust couldn't (2...
by dralley on Saturday February 20, 2021 @03:11PM
(#26207471)
Zig is in a really good position here. Its featureset sticks closer to C, and being able to automatically generate C headers from Zig code and automatically consume C headers from Zig code is really convenient.
Re:How Swift achieved dynamic linking where Rust couldn't (2...
by pjmlp on Saturday February 20, 2021 @03:17PM
(#26207533)
Not until it sorts out its use-after-free story.
Without a dynamic linking story, Rust is just not viable for writing UIKit, Android's frameworks, etc. Which is OK, it's a reasonable choice, but it limits Rust's scope.