TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rust to .NET compiler – Progress update

46 pointsby sbt567about 1 year ago

4 comments

Alupisabout 1 year ago
I&#x27;m curious of the utility of writing Rust code but wanting to run it on the CLR.<p>If anything, a GraalVM target would make more sense, as it&#x27;s already gaining traction for this type of thing (although, usually interpreted langs like python, ruby, etc). Even there, the utility of running Rust on a JVM target also seems dubious.<p>TFA doesn&#x27;t mention an intended use-case. Perhaps it&#x27;s an academic endeavor?
评论 #40260146 未加载
评论 #40253987 未加载
评论 #40254236 未加载
评论 #40257480 未加载
评论 #40253982 未加载
megadalabout 1 year ago
How is this is more useful than just compiling Rust into a dll and using that, or better, writing some framework or tooling that automates the process of marshaling&#x2F;unmarshaling data for a Rust dll?<p>A .NET target for Rust just makes no real sense to me given Rust is basically already interoperable with .NET (or rather .NET is already interoperable with unmanaged native code, which Rust can generate)
评论 #40260018 未加载
评论 #40254015 未加载
withinrafaelabout 1 year ago
The author answers the &quot;why&quot; in the FAQ <a href="https:&#x2F;&#x2F;github.com&#x2F;FractalFir&#x2F;rustc_codegen_clr?tab=readme-ov-file#q-is-this-useless-since-i-can-already-load-shared-libraries-from-c">https:&#x2F;&#x2F;github.com&#x2F;FractalFir&#x2F;rustc_codegen_clr?tab=readme-o...</a>. I didn&#x27;t find it very convincing but I&#x27;m sure the author will learn a lot of neat things along the way.
jjthebluntabout 1 year ago
Can’t one compile Rust to WASM, and use Blazor for .NET to WASM, so end up with both in the WASM world?
评论 #40254092 未加载