Hacker News new | ask | show | jobs
by zie1ony 635 days 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.
1 comments

> 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.

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