609
you are viewing a single comment's thread
view the rest of the comments
[-] sip@programming.dev 3 points 2 months ago

i wish a more performing language would have this type system. the only other ones I know are Rust which is a bit strict and slow to dev on, and Haskell which is too much.

[-] victorz@lemmy.world 2 points 2 months ago

Fully agree.

I hear good things about OCaml? Anyone tried that?

[-] sip@programming.dev 1 points 2 months ago* (last edited 2 months ago)

I asked chatgpt for a few languages with a good typesystem and it suggested ocaml among other (scala, rust, haskell, f#)

Then asked for a 100 line ocaml REST API example with a popular framework and db lib.. and it looks mostly like Haskell.

edit: async is done with monads

[-] victorz@lemmy.world 1 points 2 months ago

If it looks mostly like Haskell but has better tooling, I'm in. I have yet to manage to successfully set up a Haskell environment on my own PC. ๐Ÿ˜… I am obviously missing something.

[-] sip@programming.dev 1 points 2 months ago

I used it either through my distro's package or using stack install. there's also cabal install, but that doesn't install the compiler, at least not in 2017 when I played with it.

[-] sip@programming.dev 1 points 2 months ago

I think ghcup is the simplest way

this post was submitted on 24 Nov 2025
609 points (89.0% liked)

Programmer Humor

28883 readers
1744 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS