自动 MSIL 到 JavaScript 转换有用吗?

发布于 2024-07-08 13:55:34 字数 400 浏览 12 评论 0原文

我一直在开发一个名为 Axial 的项目,该项目将 MSIL(编译的 C# 或 VB.NET)转换为JavaScript。 有一些工作代码示例,但一些常见情况无法正常工作。 (当前版本无法在生产模式下工作,SVN 代码也无法在调试模式下工作,但更加干净。)我从很多人那里听说他们讨厌编写 JavaScript,所以我知道该项目有一些优点,但我猜这种态度在 SO 社区中并不那么普遍。

假设该产品运行完美、流畅,那么您的 JavaScript 可以 100% 正常运行,并且 Visual Studio 插件可确保您正确使用该产品。 这是您或您的组织会使用的东西吗? 除了直接代码翻译之外,您还会对哪些功能感兴趣?

I've been working on a project called Axial that converts MSIL (compiled C# or VB.NET) to JavaScript. There are a few samples of working code, but some common situations don't work properly. (The current release doesn't work in production mode and the SVN code doesn't work in debug mode but is much cleaner.) I've heard from quite a few people that they hate writing JavaScript, so I know the project has some merit, but I'd guess that attitude is less prevalent among the SO community.

Assume the product works perfectly and smoothly, so your JavaScript works 100% of the time and a Visual Studio plug-in makes sure you're using the product correctly. Is this something you or your organization would use? What features other than straight code translation would interest you?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

只是一片海 2024-07-15 13:55:34

这听起来很像 GWT 的以 .NET 为中心的版本。 我想问题是:

  • 我正确理解了目的吗?
  • 您是否相信您可以克服 GWT 用户可能遇到的任何障碍?
  • 拥有 .NET 版本和 GWT 是否有足够的好处,使重复的​​工作值得? (我个人只是编写 Java 代码并使用 GWT,但我知道并非所有 .NET 开发人员都了解 Java,并且您可能已经拥有想要移植的通用库内容。)
  • 您有任何可以为 GWT 贡献的有用想法吗? ? :)

(免责声明:我在 Google 工作,但自己没有使用过 GWT。)

That sounds very much like a .NET-centric version of GWT. I guess the questions are:

  • Have I understood the purpose correctly?
  • Do you believe you can overcome any roadblocks that GWT users might stumble over?
  • Is there enough benefit in having a .NET version as well as GWT to make the duplication of effort worthwhile? (I'd personally just write the Java code and use GWT, but I know not all .NET developers know Java, and you may already have common library stuff you want to port.)
  • Do you have any useful ideas you could contribute to GWT? :)

(Disclaimer: I work for Google, but haven't used GWT myself.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文