r/functionalprogramming • • Nov 19 '24

Question Which functional or language with functional features for web dev?

I'm hesitating between Fsharp and Ocaml. I believe Fsharp has a bigger ecosystem but you have to constantly interface with libraries written in C#. Ocaml has probably worse tooling from what I heard and the ecosystem is not mature but you can write more functional code without being boggled down by impure code.

28 Upvotes

37 comments sorted by

View all comments

Show parent comment

4

u/MinMaxDev Nov 20 '24

Not OP, I’m not a huge fan of the dotnet ecosystem but I am having a blast with F# and exploring a basic Actor model with MailboxProcessor

2

u/willehrendreich Nov 20 '24

I haven't tried it yet, though people say that the actor model is fantastic.

What do you think about it?

Is it hard to use?

A different mindset than other async I'm sure.

What are you trying to use it for?

I've heard mailboxprocessor is a bit deprecated in favor of akka.net because of performance or something, but still does a great job if that's not your concern.

I'm very interested in exploring this space I just have yet to dig in.