TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Which functional language for full stack web development?

3 pointsby akkad333 months ago
I am thinking between F# and elixir. I like F# but don't like .net ecosystem. Should I pick up Elixir?

4 comments

adius3 months ago
PureScript! <a href="https:&#x2F;&#x2F;www.purescript.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.purescript.org&#x2F;</a><p>In my opinion currently the best solution if you want to write frontend and backend in the same language!
dqv3 months ago
I&#x27;d pick both ;)<p>I actually don&#x27;t know much about F#, but Elixir is great. The main problem with Elixir is that batteries aren&#x27;t included for a lot of things and some libraries are hard to work with because they don&#x27;t expose the right interfaces. It&#x27;s not too bad - you just fork your own version and make the necessary changes, but it can be a little annoying. Also, don&#x27;t fall into the trap of &quot;do everything in Elixir&quot;, if there&#x27;s a library you really need that exists in another language, it&#x27;s ok to wrap it in a &quot;micro service&quot;. Being overly purist about everything needing to be in Elixir set me back a little bit. You have a lot of ways to call out to other services&#x2F;languages from a simple HTTP API, to a NIF (natively implemented function; currently C, Rust, and Zig have good support), to something like GRPC.<p>If you do want to learn Elixir, I would recommend learning Erlang first or in parallel to Elixir. Learning Erlang will make all the syntactic sugar very obvious and give you an appreciation for what both languages provide.<p>Oh one more cool part - Elixir is great as glue with other parts of the BEAM ecosystem. You can easily call out to Erlang modules and Gleam modules. I haven&#x27;t tried with LFE though.
vmchale3 months ago
I&#x27;ve been impressed but what I&#x27;ve seen of the Phoenix web framework. <a href="https:&#x2F;&#x2F;youtu.be&#x2F;MZvmYaFkNJI" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;MZvmYaFkNJI</a><p>On the F# side:<p>&quot;Where are the F# jobs? I&#x27;ve checked the various FP-centric job-sites - they&#x27;re as barren as everywhere else. It almost seems as if Haskell jobs are more plentiful! Haskell!&quot;<p><a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;fsharp&#x2F;comments&#x2F;24layv&#x2F;where_are_the_f_jobs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;fsharp&#x2F;comments&#x2F;24layv&#x2F;where_are_th...</a>
dtagames3 months ago
JavaScript&#x2F;TS is a functional language, too[0]. Like Lisp, it supports all programming styles. With JS you have the advantage of being built into the browser with rich debugging tools.<p>[0] <a href="https:&#x2F;&#x2F;medium.com&#x2F;gitconnected&#x2F;functional-programming-in-typescript-18ac096bb551" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;gitconnected&#x2F;functional-programming-in-ty...</a>
评论 #42991405 未加载