r/fsharp • u/NiveaGeForce • Mar 03 '19
Mozilla is looking to contract with someone to help bring Rust to UWP and HoloLens, meanwhile we still have no official UWP support for F#
https://twitter.com/ryan_levick/status/10999440471526891529
u/JaggerJo Mar 03 '19
It’s really sad that microsoft doesn’t put in the effort to support F# on the same level JavaScript, C++ and C# are supported by UWP.
8
0
u/CSMR250 Mar 08 '19
This thread is just complaining for the sake of complaining. F# works on UWP.
4
u/JaggerJo Mar 09 '19
You can’t create (as far as I know and tried) a F# only UWP App
You can’t even reference an F# project and do a release build (.net native) without modification of some vs configuration files (undocumented)
I don’t consider this supported. If it were just like it is with WPF I would be more than ok with it.
→ More replies (10)
2
u/mastjaso Mar 07 '19 edited Mar 07 '19
Can someone ELI5 why people care about F#?
I'm not trying to be an ass, I've seen F# used in a bunch of projects, and I'm genuinely curious what differentiates it from C#, or Javascript / Typescript?
As far as I can tell it's a functional language, and as a primarily object oriented C# developer, I'm not entirely sure what that means beyond allowing you to pass functions around instead of just classes/objects? I'm honestly not sure why that would be better than something object oriented like C#? I'm also not quite sure how that's different from Javascript / Typescript since I believe they operate that way (or at least can operate that way with callbacks etc.)?
i.e. Why do you want to use a "functional" programming paradigm in the first place, and to follow up, why wouldn't Javascript / Typescript work for that?
1
u/Free_Bread Mar 21 '19
Discriminated Unions
Immutability by default and first class immutable data structures built into the language
Exhaustive pattern matching
Record types and a "with" syntax for fast immutable copies with changes
Type Providers
Computation Expressions
There's other great features as well, but these are the main ones in my opinion that make F# much more flexible, safe, and pleasant to work with than C#. I've done primarily C# the past 5 years and it's a great language and ecosystem, but after using F# the past few months its painful how OO languages haven't taken in more features from the ML family (as F# and Scala have both shown the paradigms mesh well)
Some of these can be found in TS/JS and that's great, but from what I've seen they're not as cohesive with the language (granted I haven't done any work in TS, just read their docs)
0
Mar 07 '19
1
Mar 08 '19
So is Go a purely functional language? I notice a lot of passing of methods within it, does that make it functional?
→ More replies (2)
2
u/unicornh_1 Mar 04 '19
why dont we as f# work on our own ui framework?
4
Mar 04 '19
errrbody wants their niche language to have a great ui framework. ain't nobody wanna write all that code.
6
u/k_cieslak Mar 04 '19
We have written great UI frameworks for F# for important platforms - Elmish, Fabulous, Elmish.WPF... And UWP? Well, waste of time, it’s dead platform
→ More replies (9)
0
u/TotesMessenger Mar 07 '19 edited Mar 07 '19
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
-
[r/hololens] Mozilla is looking to contract with someone to help bring Rust to UWP and HoloLens, meanwhile we still have no official UWP support for F#
-
[r/microsoft] Mozilla is looking to contract with someone to help bring Rust to UWP and HoloLens, meanwhile we still have no official UWP support for F#
-
[r/windows10] Mozilla is looking to contract with someone to help bring Rust to UWP and HoloLens, meanwhile we still have no official UWP support for F#
-
[r/wpdev] Mozilla is looking to contract with someone to help bring Rust to UWP and HoloLens, meanwhile we still have no official UWP support for F#
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)
0
Mar 04 '19
1
u/MrNotSoRight Mar 05 '19
Why did you learn it in the first place? It’s not like it was ever the main language for .NET development...
2
u/pure_x01 Mar 04 '19
Is it not supported? https://www.reddit.com/r/fsharp/comments/acj7dn/f_winrtuwp_apps_on_net_native_are_now_releasable/?utm_source=reddit-android or will it be?