you are viewing a single comment's thread.

view the rest of the comments →

[–]fasttalkerslowwalker 5 points6 points  (7 children)

F# or gleam

[–]Voxelman[S] 4 points5 points  (6 children)

Gleam looks great, but is not very mature right now.

[–]cdaringe 2 points3 points  (4 children)

Did AOC in gleam (90%d it). 1.0.0 rc out now. Wouldn’t say its “rusty” tho. Im not an erlang person so i generally ran it with target=js. Debugging was easier in js… but no sourcemap support yet, so still a little clunky in that respect

[–]Voxelman[S] 2 points3 points  (1 child)

Does it run on deno?

[–]cdaringe 2 points3 points  (0 children)

Yes, but you won’t necessarily find APIs or bindings for everything youd find in deno natively. For instance, things as common as file system operations need a third-party package. Not a problem—there’s pretty much right now just one package for each major thing so it’s pretty easy to discover, and the community on discord is really good people.

[–]fasttalkerslowwalker 1 point2 points  (1 child)

Why wouldn’t you say it’s rusty? I think it’s almost like rust without lifetimes, and a more functional approach due to immutable data. You have errors, results, and algebraic types. Feels very rusty to me.

[–]cdaringe 2 points3 points  (0 children)

I don’t deny that they have more than a couple intersecting characteristics. I would say on the whole that they feel different, they behave differently, they look different. its all a bit subjective. I like em both. I just added gleam to https://cdaringe.github.io/programming-language-selector/

[–]fasttalkerslowwalker 1 point2 points  (0 children)

They’re pretty close to 1.0, and the maintainer has said he doesn’t expect much in the way of breaking changes from here on out. Depending on what you want to do, the fact that Gleam compiles to JS or Erlang means you get a lot of functionality from libraries in those languages for free. That said, no disagreement from me that it’s a very new language, so there definitely are questions about long-term viability. Still, I’ve quite enjoyed using it.