TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Rust to .NET compiler – Progress update

46 点作者 sbt567大约 1 年前

4 条评论

Alupis大约 1 年前
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 未加载
megadal大约 1 年前
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 未加载
withinrafael大约 1 年前
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.
jjtheblunt大约 1 年前
Can’t one compile Rust to WASM, and use Blazor for .NET to WASM, so end up with both in the WASM world?
评论 #40254092 未加载