top | item 41627486

(no title)

zie1ony | 1 year ago

In the past I have worked on Solidity -> Rust compiler, to enable Solidity on WASM VMs. My pain point was emulation of C3 inheritence in Rust, which I actually was able to implement with a few macros. In Rust -> .NET I'm interested in how he does the `DerefMut` trait.

discuss

order

CodesInChaos|1 year ago

> how he does the `DerefMut` trait.

What do you mean by that? A compiler backend isn't even exposed to high level concepts like traits.

zie1ony|1 year ago

I was thinking about code to code translation. You are right.