F# 和 J# 相同吗?

发布于 2024-12-10 03:21:48 字数 87 浏览 0 评论 0原文

我看到使用 MS Visual Studio 2010 的 F# 编译器,我听说过 J#,它们是同一件事吗?

I see an F# compiler with MS Visual Studio 2010, I heard about J#, are they the same thing?

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

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

发布评论

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

评论(4

何以畏孤独 2024-12-17 03:21:48

J# 是一种采用 Java 1.1.4 代码并生成 IL 的产品,IL(与程序集相结合以提供 Java 1.1.4 的库)允许在 .NET 上构建和运行一些 Java 代码。它已经停产了,而且我从未看到过它被广泛使用的迹象 - 即使您想运行 Java 代码,到 .NET 出现时,大多数 Java 开发人员都在编写 Java 2 代码,因此他们的程序不受 .NET 支持无论如何,J#。

F# 是一种具有面向对象功能的函数式语言,可编译为 IL 并运行在。网。非常酷的东西 :) F# 非常活跃。

J# was a product which took Java 1.1.4 code and produced IL which (combined with assemblies to provide the libraries for Java 1.1.4) allowed some Java code to be built and run on .NET. It's been discontinued, and I never saw much sign of it being very widely used - even if you wanted to run Java code, by the time .NET came out most Java developers were writing Java 2 code, so their programs weren't supported by J# anyway.

F# is a functional language with object-oriented features which compiles to IL and runs on .NET. Very cool stuff :) F# is very much alive and kicking.

倾城花音 2024-12-17 03:21:48

不,J# 是 Microsoft 多年前生产的 .NET 的 java 编译器。它停止了它。

来自 Wiki

Visual J#(发音为“jay-sharp”)编程语言是一种
停止为 Java 和 Visual 程序员提供过渡语言
J++ 语言,因此他们可以利用现有的知识
.NET Framework 上的应用程序。

相反,F# 是 Microsoft for .NET 的“不纯”函数式(+命令式)语言。

来自 Wiki

F#(发音为 F Sharp)是一种多范式编程语言,
针对 .NET Framework,包含函数式编程
以及命令式和面向对象的编程规则。它
是 ML 的一个变体,与 OCaml 很大程度上兼容
实施。

No, J# was a java compiler for .NET that Microsoft produced years ago. It discontinued it.

From the Wiki

Visual J# (pronounced 'jay-sharp') programming language is a
discontinued transitional language for programmers of Java and Visual
J++ languages, so they may use their existing knowledge and
applications on .NET Framework.

F# instead is an "impure" functional (+ imperative) language of Microsoft for .NET.

From the Wiki

F# (pronounced F Sharp) is a multi-paradigm programming language,
targeting the .NET Framework, that encompasses functional programming
as well as imperative and object-oriented programming disciplines. It
is a variant of ML and is largely compatible with the OCaml
implementation.

憧憬巴黎街头的黎明 2024-12-17 03:21:48

它们是完全不同的语言。

J# 基本上允许使用 Java 语法在 .NET Framework 下进行开发,而 F# 则完全不同并且是新的 函数式编程语言

They are completely different languages.

J# basically allows using the Java syntax to develop under .NET Framework and F# is completely different and new functional programming language

居里长安 2024-12-17 03:21:48

不,他们是完全不同的。 J# 是 Java 的 .net 版本,而 F# 是 Microsoft 开发的一种新语言,称为函数式语言。

No, they are completely different. J# is a .net version of Java, while F# is a new language developed by Microsoft that is called a functional language.

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