Re:PagerDuty pops nearly 60% in debut as tech IPO market hea...
by romanhn on Thursday April 11, 2019 @07:05PM
(#19640191)
I left PD about 5 months ago, so my information might be slightly outdated, but I can confirm that Elixir is used quite a bit internally, including for highly available critical services that all event data passes through. While there might be some truth to Elixir starting out as an experiment, its adoption has not only spread to multiple teams, but it is also the language most new services are to be written in, going forward. The unique thing about Elixir is how it appealed to both Ruby and Scala folks internally.
[ Parent
| on HN ]
Re:PagerDuty pops nearly 60% in debut as tech IPO market hea...
by brianwawok on Thursday April 11, 2019 @07:07PM
(#19640206)
To ruby folks, it's like faster ruby. What is the appeal to Scala folks? As formerly a Scala folk, it hasn't had much interest to me (but I have no negative feelings about it either, it has always been a "cool another language" to me)
Re:PagerDuty pops nearly 60% in debut as tech IPO market hea...
by romanhn on Thursday April 11, 2019 @07:17PM
(#19640288)
I wasn't writing Scala day-to-day myself, but common (though by no means universal) objections were around complexity and difficulty of iterating quickly. The author of the Elixir post below also wrote a bit about his experiences with Scala - http://evrl.com/programming/scala/2017/04/04/scala-part-ii.h....
Re:PagerDuty pops nearly 60% in debut as tech IPO market hea...
by dasil003 on Friday April 12, 2019 @01:28AM
(#19642219)
Scala brings functional programming to the JVM.
Elixir brings style to Erlang/OTP.
Comparing to Ruby is apples to oranges because Ruby's concurrency and operational foundation is weak. The better comparison is Erlang/OTP vs JVM, where JVM gets the edge on optimized performance, and Erlang/OTP gets the edge on concurrency & tooling. The appeal for Scala folk would be if you don't care about the JVM compatibility or raw performance, and want an opinionated ecosystem built from the ground up around the actor model.
Re:PagerDuty pops nearly 60% in debut as tech IPO market hea...
by sb8244 on Thursday April 11, 2019 @07:12PM
(#19640241)
Is Scala is beholden to Java garbage collection? I know one big advantage I like is that each process has separate GC so you can run it in certain situations without affecting the entire system
Re:PagerDuty pops nearly 60% in debut as tech IPO market hea...
by brianwawok on Friday April 12, 2019 @09:11AM
(#19644456)
Mostly (there are some projects to do Scala not on the JVM, but I have never seen them be more than a toy). That said, the JVM GC is the (IMO) best GC out there, it is really good for many many situations. And then there are some paid JVMs if you want to trade latency guarantees.
Re:PagerDuty pops nearly 60% in debut as tech IPO market hea...
by sthatipamala on Thursday April 11, 2019 @07:19PM
(#19640296)
A lot of Scala users like the Akka actor system. The actor model is a first-class library in Elixir (or more specifically Erlang/OTP)
Re:PagerDuty pops nearly 60% in debut as tech IPO market hea...
by PopeDotNinja on Friday April 12, 2019 @01:19AM
(#19642175)
Learning to understand the actor model in Elixir made me a much better programmer. I highly recommend taking the plunge, even if you don't ultimately use Elixir. Be prepared for a bit of a brain bender though.
Pro-tip: If you can't write a GenServer in Elixir from scratch, along with understanding all of the differences between casts and calls, you probably don't understand the actor model (at least how it's used in Elixir) very well.
Re:PagerDuty pops nearly 60% in debut as tech IPO market hea...
by zinclozenge on Saturday April 13, 2019 @05:10PM
(#19655761)
This is pure gatekeeping.
Re:PagerDuty pops nearly 60% in debut as tech IPO market hea...
by PopeDotNinja on Saturday April 13, 2019 @07:44PM
(#19656531)
I'm not sure what that means. Can you clarify?