top | item 43658390

(no title)

agent281 | 10 months ago

> I know HN has a bit of a click-bait love relationship with Erlang/Elixir but it hasn't translated over to adoption and there are companies that are just burning money trying to do what you get out of the box for free with the Erlang stack.

Do you or the community have a sense why that is?

discuss

order

throwawaymaths|10 months ago

Elixir is "bad" because it is not a friendly language for people who want to be architecture astronauts at the code level (you can definitely be an architecture astronaut at the process management level but that's a very advanced concept). And a lot of CTOs are architecture astronauts.

hosh|10 months ago

That's the opposite of my experience. I tend to get those "architect astronauts" in teams using other languages platforms, and the folks I work with Erlang or Elixir tend to be pragmatic and willing to dig down the stack to troubleshoot problems.

paradox460|10 months ago

Not just that, but there is no giant gorilla backing BEAM. Google pushes Go and Java, Microsoft node and c#

runlaszlorun|10 months ago

Apologies for my ignorance but what's an "architecture astronaut"?

solid_fuel|10 months ago

My personal opinion as a fan and adopter of the stack is that the benefit is often seen down the line, with the upfront adoption cost being roughly the same.

E.g. the built in telemetry system is fantastic, but when you are first adopting the stack it still takes a day or two to read the docs and get events flowing into - say - DataDog, which is roughly the same amount of time as basically every other solution.

The benefit of Elixir here is that the telemetry stack is very standardized across Elixir projects and libraries, and there are fewer moving pieces - no extra microservices or docker containers to ship with everything else. But that benefit comes 2 years down the line when you need to change the telemetry system.

jacobsenscott|10 months ago

These incremental benefits don't translate to an order of magnitude more productivity, or stability, or profitability. Given the choice, as a business owner, future proofing is about being able to draw from the most plentiful and cheapest pool of workers. The sausage all looks the same on the outside.

hosh|10 months ago

That is not true, especially with Section 174 (for the US). Right now, if you want to hire an Elixir engineer, you're better off finding a generalist willing to learn and use Elixir, and you would probably get someone who is very capable.

With Section 174 in play in the US, it tends to drive companies hiring specialists and attempting to use AI for the rest of it.

My own experience is that ... I don't really want to draw from the most plentiful and cheapest pool of workers. I've seen the kind of tech that produces. You basically have a small handful of software engineers carrying the rest.

Elixir itself is a kind of secret, unfair advantage for tech startups that uses it.

jayd16|10 months ago

There's no killer app, as in a reason to add it to your tech stack.

The closest I've come across was trying to maintain an ejabberd cluster and add some custom extensions.

Between mnesia and the learning curve of the language itself, it was not fun.

There are also no popular syntax-alikes. There is no massive corporation pushing Erlang either directly or indirectly through success. Supposedly Erlang breeds success but it's referred to as a "secret" weapon because no one big is pushing it.

Erlang seems neat but it feels like you need to take a leap of faith and businesses are risk averse.

sintax|10 months ago

> There is no massive corporation pushing Erlang either directly or indirectly through success.

Isn't there this "small" company that has a chat app that is using erlang :P

bsder|10 months ago

Erlang looks weird--Prolog-base, tail recursive loops, extensive pattern matching.

Also, a lot of the power of Erlang is the OTP (Open Telecom Platform) even more than Erlang, itself. You have to internalize those architectural decisions (expect crashes--do fast restart) to get the full power of Erlang.

Elixir seems like it has been finding more traction by looking more like mainstream languages. In addition, languages on the BEAM (like Elixir) made the BEAM much better documented, understood and portable.

hosh|10 months ago

Eventually, you use Elixir enough, and Erlang starts looking pretty.

0x457|10 months ago

Well, if we're talking medium-size companies - hard to bring any new language.

If we're talking pure modern-tech company - good luck bringing anything other than JS because "more developers == more growth" mentality.

So it's either end up being used where decision makers know/want-to-learn Erlang/Elixir or when all other possiblity was exhausted.