5 ms·
And that's my point, a lot of these things like microservices, "severless" and k8s are just poor and overly complex imitations of OTP. Many of these problems ha
by cpursley 3y ago
And that's my point, a lot of these things like microservices, "severless" and k8s are just poor and overly complex imitations of OTP. Many of these problems have already been solved by this humble stack which has been around since the 1980s.
- https://medium.com/coryodaniel/from-erverless-to-elixir-48752db4d7bc https://medium.com/coryodaniel/from-erverless-to-elixir-4875...
- https://elixirforum.com/uploads/default/original/2X/f/fdd70a4b0535040bca8d0a3310ec5c4a03647dce.jpeg https://elixirforum.com/uploads/default/original/2X/f/fdd70a...
- arccy 3y agoand yet we barely see any production software from elixir
- cpursley 3y agoThis is absolutely not true and you know it. Perhaps you’ve heard of Discord, Pinterest, WhatsApp, Spotify, Moz, PepsiCo? I’m sure I’m missing a whole bunch of names as I’m in the bootstrapped world where you’re seeing a lot of Elixir (especially now that LiveView is stable).
- lakomen 3y agoThose are all not using Elixir? Maybe for some obscure cronjob Tell me, why would you pick something that needs 8 servers to do the job Go or Rust could do with only 1?
- cpursley 3y agoFor one, Phoenix is a great web framework (especially with LiveView) and Ecto data layer. Show me any tooling in Rust or Go that is as productive for full stack.
- mplewis 3y agoI’m sure Phoenix is great, but in real-world experience, my former startup tried to use it, found the ecosystem and tooling extremely lacking, encountered severe problems with the learning curve, and pivoted to Rails.
- AlchemistCamp 3y agoStrange. I've dropped into several different startups and gotten people up to speed in days if they were experienced devs. One case was more painful, but much of that was due to engineering being outsourced to a team of contractors and management being from a non-tech industry. Usually the hardest thing for devs I've seen learning Elixir is just getting used to immutability. What were the severe problems with the learning curve your former startup encountered?
- withinboredom 3y ago> Show me any tooling in Rust or Go that is as productive for full stac Allow me to introduce you to this language called PHP.
- moooo99 3y agoWell PHP is certainly neither of those languages
- KingOfCoders 3y agoThe most productive web framework is https://laravel.com/ https://laravel.com/ (or Django or Rails) because it brings most of the things you need to write in other frameworks by yourself. Too many reject it, because, PHP!
- neonsunset 3y agoC# with ASP.NET Core + EF Core, AvaloniaUI or Uno or GTK bindings if that's your preference, Unity or Godot, and more. Can build for Linux, macOS, Windows, Android and iOS, either JIT (better for servers, sometimes GUI/Games) or AOT (better for phones, CLI, serverless). Its build system and CLI tooling is very productive and easy to get started with.
- neonsunset 3y agoOr C# if you would rather use a nicer language but the use case is not critical enough to justify the cognitive price of Rust :)
- KingOfCoders 3y agoSpotify backends are written in Elixir? Link? Would love to read about that.
- cpursley 3y agohttps://prograils.com/elixir-phoenix-liveview-spotify https://prograils.com/elixir-phoenix-liveview-spotify
- deleted 3y ago[deleted]
- KingOfCoders 3y ago"Spotify backends are written in Elixir?" From the article: Spotify is using Elixir for an internal ad debugging portal. So no. Spotify backends are not written in Elixir but: "The listener-facing backend services are done with Java."
- cmckn 3y agoMy impression has always been that they’re a Java house: https://mvnrepository.com/artifact/com.spotify https://mvnrepository.com/artifact/com.spotify But of course most large orgs have a little bit of everything.
- adamors 3y agoThe ecosystem around Elixir/Erlang is just not comparable to what Python/Ruby/Go/Java/.NET/Node even PHP have. Elixir is promoted by enthusiasts a lot but once you start writing a project in it, you’ll realize after a couple of months you are writing a lot of things yourself, popular tools don’t have bindigs, lot of libraries that do exist are abandoned etc. I worked on a Phoenix project that had a Graphql API, we couldn’t integrate it with Apollo Graphql because the Elixir library didn’t support some features, had them in the backlog for years. The company had 20+ other services in different languages, none had this issue.