Is there a D -> Rust transpiler, fine if it uses lots of unsafe.
XY problem: found some open source lib written in D, I'd like to modify it in Rust + try to compile it to wasm.
Is there a D -> Rust transpiler, fine if it uses lots of unsafe.
XY problem: found some open source lib written in D, I'd like to modify it in Rust + try to compile it to wasm.
I’m pretty sure that current Rust cannot replicate D’s const eval model, and there are likely other dealbreakers too.
Can you expand on this a bit more? What is a concrete example of something expressible in DLang's const eval model but not easily expressed in RustLang? [I've never used DLang, and merely found this library I want to use.]
Also, D has a garbage collector while Rust doesn't. This makes it much harder to transpile to a non-gc language.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.