Re:Dada, an Experiement by the Creators of Rust
by asplake on Wednesday March 06, 2024 @10:18AM
(#39616849)
:-) Is F# a contender outside the .NET world?
[ Parent
| on HN ]
Re:Dada, an Experiement by the Creators of Rust
by bmitc on Wednesday March 06, 2024 @12:14PM
(#39618192)
What do you mean by "outside the .NET world"? F# is a .NET language (more specifically a CLR language). That question seems to be like asking "are Erlang and Elixir contenders outside of the BEAM world?" or "is Clojure a contender outside of the JVM world?".
F# being on top of the CLR and .NET is a benefit. It is very easy to install .NET, and it comes with a huge amount of functionality.
If you're asking if the language F# could be ported to another VM, then I'd say yes, but I don't see the point unless that VM offered similar and additional functionality.
You can use F# as if C# didn't exist, if that's what you mean, and by treating .NET and CLR as an implementation detail, which they effectively are.
Re:Dada, an Experiement by the Creators of Rust
by neonsunset on Wednesday March 06, 2024 @12:44PM
(#39618562)
This conversation could be referring to https://fable.io/
Other than that, the question is indeed strange and I agree with your statements.
Re:Dada, an Experiement by the Creators of Rust
by kaba0 on Wednesday March 06, 2024 @01:00PM
(#39618780)
You are generally right, but Clojure is a bad example, it is quite deliberately a “hosted” language, that can and does have many implementations for different platforms, e.g. ClojureScript.
Re:Dada, an Experiement by the Creators of Rust
by bmitc on Wednesday March 06, 2024 @01:21PM
(#39619103)
Yea, that's true. I forgot about that. I did think of Clojure CLR, but I don't get the impression that this is an all that natural or used implementation so I ignored it. ClojureScript is obviously much more used, although it is still a "different" language.
Re:Dada, an Experiement by the Creators of Rust
by posix_monad on Wednesday March 06, 2024 @10:59AM
(#39617313)
There aren't many languages that can do server-side and browser-side well. F# is one of them!
Re:Dada, an Experiement by the Creators of Rust
by asplake on Wednesday March 06, 2024 @11:55AM
(#39617932)
Non .NET server-side?
Re:Dada, an Experiement by the Creators of Rust
by posix_monad on Wednesday March 06, 2024 @01:25PM
(#39619161)
You can do Node.js with F#
But these days .NET is a great server-side option. One of the fastest around, with a bit of tuning.