Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any F# alternative (non-.Net) implementation projects?

Tags:

f#

Some popular languages like Python and Ruby have native, JVM and .Net CLR implementations. C# is implemented with free Mono project. Aren't there any attempts of implementing F#?

like image 814
Ivan Avatar asked Jul 18 '10 08:07

Ivan


People also ask

Are there any F-14 still flying?

Several retired F-14s have been put on display across the US. The F-14 remains in service with Iran's air force, having been exported to Iran under the Pahlavi dynasty in 1976.

Which country still uses F-14?

The Grumman F-14 Tomcat has served with the United States Navy and the Islamic Republic of Iran Air Force (IRIAF) It operated aboard U.S. aircraft carriers from 1974 to 2006 and remains in service with Iran.

Why does Iran have F-14?

What is known is that in the 1970s Iran needed an air superiority fighter that could end incursions into its airspace by Soviets flying MiG-25Rs, and the F-14 was up to the job.

How many F-14 are left?

Today Iran's 40 or so surviving F-14s remain some of the best fighters in the Middle East. And since the U.S. Navy retired its last Tomcats in 2006, the ayatollah's Tomcats are the only active Tomcats left in the world. The F-14 was a product of failure.


1 Answers

As others pointed out, the standard F# implementation from Microsoft is just a .NET (CLI) application that runs on multiple implementations of CLI (namely .NET and Mono). F# also produces .NET (CLI) applications as libraries that also work on both .NET and Mono. However, that is still the same CLI implementation of F# (just running on different implementation of CLI)

To answer your question -

  • As far as I know, there is no other attempt to implement F# compiler for other platforms/runtimes.
  • F# shares a common background with OCaml, so the easiest way to get another implementation of F# would be to take OCaml and add F#-specific features (and remove OCaml-specific features).
  • You can use only shared sub-language and cross-compile using both F# and OCaml.

Also, there are some plans to release F# as open source, so it may be possible that (in the future), someone will port F# to other platforms such as JVM using the source (when released).

like image 54
Tomas Petricek Avatar answered Oct 31 '22 22:10

Tomas Petricek