r/purescript • • Mar 22 '23

Backend choice for purescript frontend

Hi, I am planning to work on a toy project on purescript. With purs frontend, what language and library would you recommend for the backend? I know Haskell but purescript with node express looks cool too.

Thanks.

14 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/drrnmk Mar 23 '23

Sounds good. So your prod setup uses purescript front and f# backend? If so, can you please why you wouldn't choose f# fable.

2

u/CKoenig Mar 23 '23

our backends are usually a mix of F# and C# (F# for domain modelling, C# for web, database, ...).

Why not Fable? Well while F# is the best functional language on .NET (well ... which I tried) we prefer Haskell-style pure languages (Elm, PureScript). Yes reusing DTO definitions on back- and frontend (or maybe even validation logic) would be great but it's not a killer-feature for me.

But yes I can surely see how/why Fable would be a great fit also and I would not mind too much having to work with Fable.

1

u/drrnmk Mar 23 '23

Thanks for your insight.