Live data from Hacker News

Elixir v1.0.0 released

elixir-lang.org

41–50 of 56 posts

Re: Elixir v1.0.0 released

#41

Elixir reminds me a lot of Clojure. - It's a language that sits on top of another language's bytecode (Erlang vs JVM) - It has its own task runner and dependency manager (mix vs lein) - It has homoiconicity and macros! - One of its main features is amazing concurrency support. But Elixir has been in development for a much shorter time than Clojure. Yet it's approaching the same level of maturity of Clojure very quick…

Reading this comment makes me happy as Clojure is one of the top three Elixir influences alongside Ruby and Erlang itself.

PS: Elixir is not homoiconic but we do have Lisp-style macros.

Re: Elixir v1.0.0 released

#42

Earlier quoted context omitted.

"Elixir compiles directly into BEAM byte code." from http://elixir-lang.org/crash-course.html

Elixir currently compiles to the Erlang abstract parse tree. This then gets to be BEAM byte code later on.

Good catch. I will fix the crash course.

Re: Elixir v1.0.0 released

#43

What have you built with Elixir, HN?

We are using Elixir to build the first server implementation of our new decentralized communication protocol.

Hit me up if that sounds interesting, we are looking to hire. Based in London/SF. ryan@spatch.co

Re: Elixir v1.0.0 released

#45
post #16
post #7

I'm constantly impressed by the level of execution of the Elixir project. In ~3 years they have accomplished much more than many other language ecosystems have to date. It's great to see the core maintainers understand that you need MUCH more than just a compiler, runtime, and std lib to create a truly vibrant ecosystem. The Elixir project includes a standard way to do templating, a powerful and robust shell, a very…

I agree. The tooling that is released WITH the language is an amazing bonus. Of course, no one is forcing you to use ExTest, but it's amazing that they decided to just give it to you with the platform itself.

*ExUnit http://elixir-lang.org/docs/stable/ex_unit/

Re: Elixir v1.0.0 released

#46
post #21

Earlier quoted context omitted.

I though Elixir was not a whole new compiler, more like coffeescript:javascript than clojure:java.

No, it is not like coffeescript:javascript. Coffeescript compiles to javascript source code, which is then turned into bytecode by the VM. Elixir is _NOT_ compiled to Erlang source code; rather, it is compiled directly to BEAM bytecode. So the clojure:java comparison is accurate.

Actually, it compiles to Core Erlang, which compiles to BEAM bytecode.

Core Erlang is pretty unreadable though, so I do think it's a bit more complex than CoffeeScript.

Re: Elixir v1.0.0 released

#49
post #7

I'm constantly impressed by the level of execution of the Elixir project. In ~3 years they have accomplished much more than many other language ecosystems have to date. It's great to see the core maintainers understand that you need MUCH more than just a compiler, runtime, and std lib to create a truly vibrant ecosystem. The Elixir project includes a standard way to do templating, a powerful and robust shell, a very…

Don't know or have plans to use Elixir for now since I have always seen the Erlang VM as tackling only the problem domain of requiring high fault tolerance and distributed computing systems but no so much for general purpose programming as languages like ruby/python/js/clojure etc. For example: how may programmers are writing systems like Riak, Amazon's SimpleDB, CouchDB, RabbitMQ every day? That said, from reading t…

Whether you - as a programmer writing them - realize it or not, many complex web apps would benefit greatly from Erlang concurrency, distributed computing and fault tolerance support. Every time I'm forced to use Celery or multiprocessing or a cronjob - and that happens quite often in nontrivial projects - I wish I worked with Erlang.

I learned to love Erlang some time ago and its various quirks are mostly invisible to me, as I generally know them well and am working around them reflexively. However, I recognize that for people who don't know Erlang yet, Elixir provides a much easier path to obtaining full power of Erlang VM and ecosystem. It can also benefit more experienced erlangers, as it improves some Erlang features and then adds some totally new ones.

Elixir is a language which makes Erlang better suited to high-level, glue-like scripting purposes, while still providing full access to things Erlang does exceptionally well. In a way it's an effort to make Erlang reach outside of its specific niche by making many things traditionally hard or unpopular in Erlang easy to do in Elixir.

In short, if you're a serious programmer who works on anything that has a server or is related to network in some way (which includes all web apps, most mobile apps backends, all IM software, many different services like Dropbox and many more) - you owe it to yourself to try Elixir out. Now that the "awkward syntax" and many (admittedly) irritating quirks of Erlang are gone and you're left with just the good parts you have really no reason not to learn and use it.

Re: Elixir v1.0.0 released

#50
post #32

Earlier quoted context omitted.

Elixir also gives you really cool meta-programming tools, a way to extend the language, that aren't part of CoffeeScript.

I can't say for sure, but I don't think it would be impossible to add that kind of capability to coffeescript, but you are right that right now coffeescript can't do that

Some people tried IIRC but they never got very far. One reason could be that syntactic abstraction is generally not in great demand, but could be something else entirely. Also, take a look at Sweet.js
Post reply on HN