Live data from Hacker News

Elixir-lang.org has a new design

elixir-lang.org

131–140 of 141 posts

Re: Elixir-lang.org has a new design

#131
post #114

José Valim & team have made such an incredible language and ecosystem. thank you for all the faithful work, especially the run up to 1.20 over this past year

I heard from a fan of Erlang that Elixir was made by people who don't really understand Erlang who reworked it/BEAM to be in the style of Ruby; that made it popular even though it's an abomination. What do you think?

elixir also has hygenic macros ala scheme. it also easier to write and read day to day compared to erlang. elixir also made strings more manageable.

they made a bunch of tangible improvements

Re: Elixir-lang.org has a new design

#132
post #9

Earlier quoted context omitted.

It's a JIT nowadays. Admittedly an extremely simple one, to minimize compile times and maintenance overhead. You can get substantial performance improvements by using guards though. See what Wings3D does with is_float() everywhere in hot numeric-heavy code.

Can you elaborate why adding guards makes things faster?

Presumably it gives the JIT more type information, parent example was specifically about one of the type-check functions you can use for guards (is_float). While running it'll use the is_float information to generate code for the float case, and bail out if the actual values fail the guards at runtime.

Other JITS like V8 will do things like speculative inlining and inserting its own type guards , but if this JIT is "Admittedly an extremely simple one" then it presumably doesn't do much of that.

Re: Elixir-lang.org has a new design

#133
post #114

José Valim & team have made such an incredible language and ecosystem. thank you for all the faithful work, especially the run up to 1.20 over this past year

I heard from a fan of Erlang that Elixir was made by people who don't really understand Erlang who reworked it/BEAM to be in the style of Ruby; that made it popular even though it's an abomination. What do you think?

Although I'm late to the pile-on and all the good takes have grown old and gotten replies, I cannot let this grave insult against my people go unanswered.

Elixir, if anything, really excels at communicating the intentions of the (occasionally esoteric) architectural demands that the Erlang originally fortified decades ago, often encountered when using OTP. This, alongside that tower of respected Elixir tooling, adhering to Erlang's norms which, once past "mere" interoperability within BEAM, is still supremely important when e.x. minimizing laborious/unusual syntax requirements when using Elixir modules from 'naive' Erlang code. This is part of a more wide-reaching feeling, one of common concerns being important to address in Elixir (and Erlang) for the health of the franchise, not just as grist for the mill of an ancient FP hyperwar, each warring cybergang being willing to die for their preferred juridical interpretation of a bug report.

Re: Elixir-lang.org has a new design

#134
post #112

Earlier quoted context omitted.

i ran a quick experiment where instead of doing boxing the way its done in the beam currently, i used a different boxing (NaN strategy and there was a 10x speedup

oh, I didn't recognize your username here! It's been ages since I've seen you. Hope you'll be in Chicago in September.

i will not, sorry. but ill probably be at exmex

Re: Elixir-lang.org has a new design

#135

Earlier quoted context omitted.

> not suited for real world use. I hope you don't use discord or rely on pagerduty.

Dont use discord, never have. It could be just as easily be built in vanilla. Its just a chat really. Nothing special.

classic "can't admit i was wrong" dismissal. nothing special.

Re: Elixir-lang.org has a new design

#136

I guess elixir is a nice lang for the niche of erlang. But its dynamic (the "type system" is really meh at best) its not suited for real world use. If i go full dynamic, why not use pure erlang instead?

> not suited for real world use. I hope you don't use discord or rely on pagerduty.

discord is also unsuitable for real world use

Re: Elixir-lang.org has a new design

#138
post #112

Earlier quoted context omitted.

oh, I didn't recognize your username here! It's been ages since I've seen you. Hope you'll be in Chicago in September.

i will not, sorry. but ill probably be at exmex

I’ll have to come up for the NYC meetup.

Re: Elixir-lang.org has a new design

#139
post #114

Earlier quoted context omitted.

I heard from a fan of Erlang that Elixir was made by people who don't really understand Erlang who reworked it/BEAM to be in the style of Ruby; that made it popular even though it's an abomination. What do you think?

Although I'm late to the pile-on and all the good takes have grown old and gotten replies, I cannot let this grave insult against my people go unanswered. Elixir, if anything, really excels at communicating the intentions of the (occasionally esoteric) architectural demands that the Erlang originally fortified decades ago, often encountered when using OTP. This, alongside that tower of respected Elixir tooling, adher…

If you write cyberpunk fiction like this. Id read the hell out of it.
Post reply on HN