When can we have rdylib?

My bad, typed too fast, and didn't read enough.

I both agree and disagree with this statement. Assuming everyone is following all of the rules, then I think that this will be true. The issue that I don't think we can prove that people are following the rules from binary blobs alone, so if a bad actor slides in a new rdylib that violates the rules, we won't be able to check it. With statically linked code, the compiler has access to everything, and can therefore make more guarantees across boundaries.

Another compiler/runtime that should be looked at is OCaml + DynLink. OCaml is somewhat similar to Rust, insofar as it supports parametric polymorphism and relies a lot upon inlining (and I think specialization, I don't remember).

Like Llama?

https://ericsink.com/entries/llama_rust_resvg.html

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.