1. 16

Found this on Hacker news its a nice read.

  1. 5

    This wanders around a bit and I think I lost the point being made with the sql code. If I have a query that’s too slow, how does switching from Python to erlang make it faster?

    1. 3

      Erlang is awesome for building things like RabbitMQ/Messaging/Whatsapp etc. But for a web app its a terrible language to use.

      1. 10

        I have to disagree here. Have you seen the various Erlang web frameworks available or tried any of them?

        I’ve spent quite a bit of time recently doing so combined with a modern JS front-end stack and my experience was very positive.

        Building web apps with Erlang is very reasonable choice. Especially building it on top of the awesome multi-process web servers combined with web sockets is a perfect combination. Additionally being able to use static typing (via dialyzer) and OTP makes working with concurrency and multiple web services/APIs very clean and manageable.

        1. 8

          I know Elixir isn’t exactly Erlang, but Phoenix (an Elixir web framework) is a delight to work in. IMO, you get the benefits of Erlang without actually needing to always write pure Erlang.

          1. 2

            The reasoning behind Elixir is, in fact, to make Erlang’s power easier to use, especially for web development. Platformatec started building apps in Erlang, but began designing Elixir to make it easier to do common web stuff while leveraging the IO beast that Erlang is.

            1. 1

              Thanks for sharing! Phoenix looks really slick actually. I’m going to give it a try.