#Why Gleam Wins Over F#

1 messages · Page 1 of 1 (latest)

vale shuttle
limpid inlet
#

"Lisp: The Grandfather of Functional Programming "

@wheat pier do you approve this article based on this one sentence ? XD

wheat pier
#

I'd rather approve the article based on the article

#

but yeah lisp is old enough

vale shuttle
#

😮 reading whole article and not basing your opinion on the headline and one random sentence? that's a very controversial approach

wheat pier
#

yeah I'm pretty crazy that way actually :D

#

fun article though, I like the idea of choosing gleam over f# just to stick it to the corpos

limpid inlet
#

i choose Gleam and here we are

wheat pier
#

it's a good choice :3

rough plinth
#

lovin' it

limpid inlet
#

It is an odd comparison and the article goes all over the place 🤔 it also puts F# in a really bad shade as this evil corporate language.

#

But F# history is nuanced and its creator Don Syme seems like very genuine person, if you can follow him in your network of choice, highly recommended 🙂

#

Also the article says things like "Elixir is not typed and will never be" 🙃

chrome remnant
#

I don't understand why they pick out gleam and f# in particular. It seems like they're forgetting a lot of other languages.

limpid inlet
#

Yeah the programming languages picked were an odd combination and seems that the comparisons where highly LLM driven.

chrome remnant
#

Interesting! I can see how someone could get an idea to write about the future of gleam vs fsharp from this part of the presentation lol

limpid inlet
#

also if you search for gleam and F# you get alot of results

chrome remnant
#

I thought f# was more haskelly

#

like with type classes and lots of syntax

#

interesting that they would be discussed together

limpid inlet
#

both gleam and f#

chrome remnant
#

wait f# compiles to js?

#

that is kind of cursed, but now I see why you'd compare

limpid inlet
#

yes using fable

limpid inlet
#

a framework that uses the elm architecture

chrome remnant
#

I would be shocked if they didn't, lol

#

I suspect almost every language even remotely close to functional programming will have an elm architecture UI thingy

limpid inlet
snow bough
#

I think the big benefit of F# is MS-Dot-Net integration the same way the big benefit of Kotlin is JVM integration. And I wish gleam had super duper funds so that it could also target those both eco systems and in addition to that PHPs and Pythons 😄

But that's just/mostly me I suppose.

#

At the same time gleam covers the two targets I am MOST curious about: BEAM and JS, and the 3rd after those would be native, not any of the other VMs.

#

The Future: David vs. Goliath
The article is kind of missleading IMHO, the fight is not against F#
The struggle is with JS/TS dominance in a world that seems to adapt more around GenAI/MCPs IMHO

limpid inlet
#

i saw it somewhere

snow bough
limpid inlet
stray flax
#

please don't speculate about whether someone's content is ai generated or not

#

maybe it is or maybe it is isnt, and if you're wrong its incredibly disrespectful

rocky pagoda
#

As someone who's bread and butter is C#, F# is like a breath of fresh air. It also has a very friendly community and the F# side of the ecosystem is community driven for the most part. The part with interop in the article is a bit unfair. You can do interop just fine, but it means you'll have to bridge the gap between paradigms more than anything else. I would also argue, if you write a library in F#, you are doing this for a reason and F# programmers are your primary audience. Anyway, the ecosystem is incredibly versatile and powerful (not just the C# side of things). So if we make comparisons, that's where F# still has the lead over Gleam for me (since I have 0 prior knowledge of Erlang). But I do love that Gleam does not have all the legacy BS to deal with. So for my private projects, it's my language of choice, since it's so much fun and has that "green field" feel to it. Comparing the two to decide a "winner" is silly to me. It's just more functional joy all around.

strong hound
#

Was the article deleted?

stray flax
#

loads fine for me

#

i think the platform is on-chain so i dont think you could delete an article even if you wanted to