Live data from Hacker News

Elixir 1.5 released

github.com

61–70 of 167 posts

Re: Elixir 1.5 released

#61

I haven't had this tingly feeling since when I first used Ruby/Rails 2. Elixir is growing and setting the bar of what "developer ux" means. mix test mix docs Genserver Pattern matching The list goes on, you find yourself in The Zone more often.

I totally agree with this. I feel like it makes me think differently about my programs in a way that I haven't before. It's really enjoyable.

Re: Elixir 1.5 released

#62
post #8

That, great news, I'm especially curious about this line here: [ExUnit] Show code snippet from test source file in case of test errors ExUnit backtraces have historically been a bit hard to read sometimes IMHO.

This line is about showing a snippet of the test when a test fails. We did this before but only for assertions.

I am afraid this change will not improve the qualify of the stacktrace itself.

If you run into a situation where the test report is less than ideal, please open up an issue so we can discuss if there is something that can be done about it.

Re: Elixir 1.5 released

#64
post #25

Elixir is truly an under-appreciated language. I've only toyed with it, and I'm really impressed with the whole ecosystem. Elixir, Phoenix, Ecto, Hex, etc all make a great ecosystem, and the awesomeness that is BEAM/OTP is just amazing. I loved the hot code deploys, and updating a system while it's running is something I've never seen before in action. Also Rustler is a great way to write CPU intensive NIF code too.

Agreed, it's just an absolute pleasure to use. I built a side-project powered by Elixir & Phoenix 1.2, I found it so surprisingly quick and easy to accomplish even complex functionality. Every time I implemented a new feature server-side it honestly felt like "Is that it? Really?"

Same experience here. I have a process that I generally go through to compare languages...I rebuild my blog. It's an exercise that I've done many times and it gives me a time-boxed experience that compares work flow, database interaction, web requests, dealing with CSS/JS/assets, potentially caching, routes, email, search, etc.

It's not a perfect measure but it does a solid job of giving me the whole experience of working with a language on something similar to day to day and separates the "this is viable as a tool" from "OMG! BENCHMARK!" type experiences.

Doing this with Elixir and Phoenix was mind blowing. It was so clean, efficient to work with, efficient in performance and the design decisions around the language almost ensure you'll avoid entire classes of debugging / maintenance issues in the future. I was blown away.

Wrote about it here: http://www.brightball.com/articles/insanity-with-elixir-phoe...

Keep in mind, there are a number of things that I did there that could have been done better/cleaner. It was my first experience with the language.

Re: Elixir 1.5 released

#65
What an amazing release! I've never been as excited about a language and its ongoings as I am with Elixir. Thank you Elixir team for creating such a great language and making all of your work so accessable, transparent, and friendly.

Well done!

Re: Elixir 1.5 released

#66
post #60

What do people use as a PaaS provider for Erlang/Elixir?

Heroku is fine for development. However, it does not work with hot code swapping. There are ways around it, and some people don't believe it's a gain.

There is also https://github.com/hashrocket/gatling that promises the Git push workflow but with hot upgrading capability.

Re: Elixir 1.5 released

#67
There's quite a few nifty little things in this one.

I'm not sure I like the child_spec change, personally I like the supervision mode to be explicit when calling children.

I do like the developer tools, the breakpoint support, the UTF8 for atoms (which I'm realizing we may want in our DSL since we're converting user input strings to atoms), and the @impl that allows to explicitly declare which functions are there for an interface.

Overall, it's amazing to be part of the elixir community, rarely have I seen such emulation, positivity, speed of growth, and effectiveness achieved so fast for a language. Congrats @josevalim for bring the power of BEAM through a wonderful syntax!

Re: Elixir 1.5 released

#68

I highly recommend playing with Elixir or another purely functional language. I've only gone through the Programming Elixir book[1], but it has fundamentally challenged how I think about solving problems in other languages. [1]( https://pragprog.com/book/elixir13/programming-elixir-1-3 )

Beware, because it can make you hate your current day-job language

Re: Elixir 1.5 released

#69
post #66
post #60

What do people use as a PaaS provider for Erlang/Elixir?

Heroku is fine for development. However, it does not work with hot code swapping. There are ways around it, and some people don't believe it's a gain. There is also https://github.com/hashrocket/gatling that promises the Git push workflow but with hot upgrading capability.

Any other options? For the small team I work with managing infrastructure is not really an option.

Re: Elixir 1.5 released

#70

Earlier quoted context omitted.

It's got HN hype and a lot of the negatives that come with that (awful learning materials by people who haven't used it in production) and a decent amount of real world use though nothing major for now.

Also, Bleacher Report is a pretty large site on it: http://www.techworld.com/apps-wearables/how-elixir-helped-bl... They went from 150 Rails servers to 5 BEAM servers "and could probably get away with two" (!)

This seems to be the dominant use case for Elixir; migrate legacy Rails code to Elixir. When deciding between Go and Elixir for our startup I looked at both ecosystems. Go was significantly ahead in all categories: traction, articles on the web, packages on git, git activity, editor support ... I don't regret choosing Go but I always keep an eye out on Elixir. Pattern matching, pipe operator, immutability, supervisors ... I can only dream about that in Go.
Post reply on HN