How Swift Achieved Dynamic Linking Where Rust Couldn't A look at what's required to ship a dynamically linked system interface, the most interesting parts of Swift's stabilized ABI, and their incredibly ambitious resilient library evolution system https://gankra.github.io/blah/swift-abi/
Yeah, that approach is really tempting. Especially since most code is cold.
-
-
I wonder what the perf would be like if you had the ability to generate specialized bytecode at runtime and interpret it. Probably wouldn’t help, but would be an interesting experiment.
-
Would also be fun to blur the line between dynamic linking and JITing by letting the loader drop inline bits of machine code for resilient/generic types into their use sites
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.