Email or username:

Password:

Forgot your password?
Top-level
2️⃣tali

@complexmath @cwebber rust uses platform libraries, allows you to build dynamic libraries with C ABI's, etc. the main issue with dynamic libraries in rust is that the story for building dynamic libraries with rust ABI's and using them in your rust code is poorly supported. so usually even when you build a dynamic library you statically link all of your rust dependencies

4 comments | Expand all CWs
2️⃣tali

@complexmath @cwebber i definitely agree that rust's ecosystem tends to be hostile to dynamic linking, but it seems like from this thread that a lot of people are getting the impression that rust doesn't allow dynamic linking at all, and that just isn't true

Christine Lemmer-Webber

@iitalics @complexmath Yeah. I added a followup clarifying that it's a cultural problem most especially octodon.social/@cwebber/110707

(And a lot of this comes from inheriting the LLVM toolchain, where that attitude also exists.)

Sean

@iitalics @cwebber C++ tends to have the same issue, though for technical reasons. If it's really just a cultural thing in Rust... well I suppose that's not unexpected, given programmers.

2️⃣tali

@complexmath the technical issues are the same since rust more or less copied c++'s compilation model, down to using the same backend (llvm)

Go Up