The problem is the languages one would hear about, fall into the OOP category, functional languages tend to not be as fashionable when you do get into one, you become almost a zealot.
It's hard to fight the imprinting a language has with its first fans, Elixir because of its Erlang origins tends to have the identity of telephonic-based use cases. Similar to how Rust gets its reputation as a specialist language (cli,kernal, etc) even though you could use it for web apps as well.
The last reason is, it's really hard to fight the gravity pool of NextJS and React.
Personally my circle and company and country are solidly on the side of C#/Java/PHP/Python and React/Angular, the average developer who fits into that grouping might not have even heard of Svelt or SolidJs when they do hear about it, they immediately make some snide comment about JS fatigue, even though that hasn't been a thing for a while.
Indeed. I love Elixir and I even struggle with choice when I don't need much or any server-side functionality.
There was a Jekyll-style project for Elixir some years ago but it fell into bitrot and deprecation. I'm still hoping somebody resurrects it or builds an equivalent, because using eex to build a static site is a really great experience.
For what it’s worth, Elixir is now my preferred language for personal projects, although I still haven’t had a chance to use it professionally.
I love working with Elixir and have done so successfully for the past 4 years at various companies, however I have been trying to find a new client for a while now and I'm getting close to the point of looking for other types of work because things are looking bleak. From what I can tell there are also way more people looking for Elixir work than available jobs, unfortunately.
In my 15+ years of software development in various languages Elixir has been the most enjoyable developer experience for me. So I guess I'll just have to think of a side project where I can apply it and do less fun stuff to earn bread.
However I think with Phoenix Liveview Elixir gives regular developers a productivity boost that could be it's own USP.
I have only written a small elixir app but I was mind blown over Liveview and still is convinced that most people would be better of using it over a SPA.
Concurrency? Trivial.
Reliability? Unbelievable. (YouTube Sasa Juric's "Soul of Elixir" talk)
Clustering/horizontal scaling? Built in, even across networks.
Web framework? Competitive with the best (I'd argue better, with liveview but YMMV).
AI/ML? Amazing support and tooling.
Embedded/IoT? Incredible support with the nerves project.
There's only 2 places where I feel it falls down a bit:
1) brittle dev tooling in ElixirLS that trips up new and experienced devs alike. Soon to get better though as competing LSPs are in the works.
2) no official release-as-binary tooling yet. Things are way better in the last few years for releases, and you're probably containerizing anyways, but I am jealous of e.g. Go's single file binaries.
Students, presented with the capabilities of the language (scripting / machine learning / scalable web apps) are quite interested actually!