Ask HN: Is Erlang an albatross to Elixir adoption?
101–109 of 109 posts
Re: Ask HN: Is Erlang an albatross to Elixir adoption?
#102As the creator of Phoenix, I've never written an Erlang program fwiw. That said, I frequent the Erlang docs and most seasoned Elixir developers will do the same because the standard library is a wealth of features, and the documentation while not 2022 polished, remains a remarkable resource. > I don't know what a solution is, but perhaps a concerted effort to create a documentation and library ecosystem that never li…
Devil's advocate: What would it take to programmatically port/transpile the core of Erlang's ecosystem to Elixir? Pick the killer app to serve as the root node (Phoenix?) and walk back to the leaves (OTP, popular libraries, etc). Do a 1-time cutover of literally everything. Fork/port ERTS (incl BEAM) to make Elixir-native and rebrand it. Etc. While I generally agree that "rewriting as bad" there is something to be sa…
I'm curious if there are more devs in elixir or erlang.
I'm also curious if it'd be easy enough to have elixir->erlang transpiling, so those wanting from elixir could pull it.
Re: Ask HN: Is Erlang an albatross to Elixir adoption?
#103Earlier quoted context omitted.
+100 — the heart of the problem
Imagine it's an important lib you can't just replace and there's a bug you need fixed and can't just wait for the maintainer to do it for you. Now you suddenly need to understand that language enough to do that. To some extent this happens very often, I've had it in Clojure+Java and PHP+C libraries.
Re: Ask HN: Is Erlang an albatross to Elixir adoption?
#104Earlier quoted context omitted.
This is fantastic feedback. I always love reading posts like yours. Three quick notes to complement what you said: * The formatter is always a balancing act. The behaviour you see is because people get really upset when we don't respect their line breaks (and, as you correctly said, we can't later know which newlines were introduced by us). You can try formatting more frequently to get feedback sooner (that's what I…
People like José are why I like the Elixir community. So many others would have taken offense and become defensive.
Re: Ask HN: Is Erlang an albatross to Elixir adoption?
#105Also - Elixir is functional or close to functional so it is quite a big mind shift so another hurdle to onboard newcomers.
Anyway, trying to increase a language's adoption is very very hard..
Re: Ask HN: Is Erlang an albatross to Elixir adoption?
#106As the creator of Phoenix, I've never written an Erlang program fwiw. That said, I frequent the Erlang docs and most seasoned Elixir developers will do the same because the standard library is a wealth of features, and the documentation while not 2022 polished, remains a remarkable resource. > I don't know what a solution is, but perhaps a concerted effort to create a documentation and library ecosystem that never li…
Is it a bit of extra complexity? Yes. Does it cause friction for new devs? No - I can't think of any mainstream Elixir use cases that require Erlang libraries, with the exception of math operators like `:math.sqrt/1`. Chris' comment here is the golden example of this. And anyway, what does the user get in exchange for that extra layer of complexity? A unique high-concurrency VM with easy-to-use primitives that would…
Truth is most web devs don't care about concurrency - it's a thing left for the ops team and with today's tools (k8s) its getting more and more trivial by the minute and it's only gonna get simpler and cheaper.
I'm not saying there aren't any use cases for Elixir, I'm just saying they're not that obvious or common.
Re: Ask HN: Is Erlang an albatross to Elixir adoption?
#107Can you say you know what is going on if you don't read the implementation code? I'm even fine with extending that to executable code.
You must read code. Code use sans understanding is dangerous. You can do immense harm without even realizing you're doing it. Look at Log4Shell, or MCAS.
The majority of your time as a computing professional should be spent reading code you'll be using. Abstraction is nice. Until it isn't.
I'll never understand the I shouldn't have to read code school of thinking. It's like saying you should never have to learn arithmetic.
Now there's a case to be made that in development communities that value convention, yes, you can get to a point you don't have to read as much code in that community, given everyone plays by the rules.
Colors.js or node-ipc is what happens when they don't. So even then, don't read at your own peril.
Re: Ask HN: Is Erlang an albatross to Elixir adoption?
#108> What about people who've tried elixir and moved on? I've tried it three times and it offered me nothing Erlang didn't. Erlang, on the other hand, offers me much that Elixir does not. In truth, I've never met anyone who likes Elixir except people who were already Ruby programmers. What's particularly weird is your attempt to dig at the Erlang docs. They're extracted the exact same way the Elixir ones are; it's just…
Elixir was a gateway to Erlang for me. I hadn't heard of Erlang before I started writing in Elixir, but all the discussion of why Elixir was so great revolved around Erlang and the BEAM. This lead me to Joe's distributed systems thesis and really changed how I approach writing code. The syntax takes a bit of getting used to, but I generally prefer the language. I haven't found anything that's a nice to work with for…
Re: Ask HN: Is Erlang an albatross to Elixir adoption?
#109As the creator of Phoenix, I've never written an Erlang program fwiw. That said, I frequent the Erlang docs and most seasoned Elixir developers will do the same because the standard library is a wealth of features, and the documentation while not 2022 polished, remains a remarkable resource. > I don't know what a solution is, but perhaps a concerted effort to create a documentation and library ecosystem that never li…
Devil's advocate: What would it take to programmatically port/transpile the core of Erlang's ecosystem to Elixir? Pick the killer app to serve as the root node (Phoenix?) and walk back to the leaves (OTP, popular libraries, etc). Do a 1-time cutover of literally everything. Fork/port ERTS (incl BEAM) to make Elixir-native and rebrand it. Etc. While I generally agree that "rewriting as bad" there is something to be sa…