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).
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).
Tell me, why would you pick something that needs 8 servers to do the job Go or Rust could do with only 1?
Allow me to introduce you to this language called PHP.
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?
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!
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.
In PHP:
return base64($myText);
is all I need (or sha1(), etc). The standard library (with it's bizarre inconsistencies that you stop noticing after half a decade) is quite complete.In C#, it's much more involved to do these "easy" things. Even reflection is easy in PHP:
$class->$dynamicMethod(...$props);
I moved away from C# about 3-4 years ago, and I don't miss it.The base64, in most languages, requires importing the right package or namespace.
Converting bytes to Base64 is just Convert.ToBase64String/CharArray(bytes).
I can't believe someone would seriously and unironically suggest PHP. It does not even compete at the only area it's applicable at being back-end or server-side rendering.
> It does not even compete at the only area it's applicable at being back-end or server-side rendering.
I'm not sure what you mean here. I've deleted my blog, but I once published benchmarks showing PHP was faster than C# in some cases. I'm currently working on a reimplementation of some C# stuff in PHP and competing with C# quite well.
PHP is written in C; it's quite fast.
To think that an interpreter, where each single instruction is, in the very best case, a computed goto jump with args evaluation, would execute the code faster or comparable to code that is compiled to CPU instructions, is insanity. Even when/if PHP gets JIT compiled, it still has the same language constraints where even something as sophisticated as V8 has to contend with language spec so it cannot optimize away e.g. property access.
It might be best to re-evaluate prior assumptions and knowledge which do not correspond to reality.
heh, right back at you dude. Opcache JIT is running on an actual CLR just like C#, it can even AOT compile.
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."
But of course most large orgs have a little bit of everything.