Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> the service we were building was a fairly straightforward CRUD app. The expected load on this service was going to be on the order no more than a few queries per second, max, through the lifetime of this particular system. The service was a frontend to a fairly elaborate data-processing pipeline that could take many hours to run, so the service itself was not expected to be a performance bottleneck. There was no particular concern that a conventional language like Python would have any trouble delivering good performance.

Yeah, that's not the kind of thing you use low level stuff for. Ruby on Rails or Node or Elixir, or whatever Java thing is going to let you iterate faster than a lower level language.



I mean, Rust is the cool new language though.


I'd love to have an excuse to write something with it, but it'd need to be the right excuse - something low level requiring some speed.


Same. Im looking for an excuse also.


Elixir for a crud app? Really?


If given the choice between Rails (Ruby) and Phoenix (Elixir) for a low-traffic CRUD app I might have the same sort of question as you - really?

But if the choice is between Elixir and Rust for that same CRUD app, it doesn’t seem strange; Elixir would be a far better choice.

I would presume the commenter is more familiar with ecosystems like Elixir, even though it wouldn’t be the most optimal choice. But certainly more optimal than Rust in that case.


Yes, really. The Phoenix framework is one of the most productive web frameworks around, and Elixir is a very pragmatic functional language that is easier to adopt than others.

Creating a CRUD module, with schema, migration, controller, view, template and data validation is literally one command away with `mix phx.gen.html/phx.gen.json`

https://hexdocs.pm/phoenix/Mix.Tasks.Phx.Gen.Html.html


Elixir offers a lot of the great protections of rust.

If you haven’t tried it, I 100% recommend.


Really! The flagship web framework for Elixir, “Phoenix” is pretty well made

https://www.phoenixframework.org/


I haven't written Elixir in years, but Elixir with Phoenix was a quite similar experience to writing a CRUD app in RoR.


As a fan of Elixir it seems like a good fit. Why do you think otherwise?


I'd probably go with Rails, but Elixir would work out ok for a lot of use cases. Either one seems a significantly better fit than Rust.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: