-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native JSON in OTP 27! (Elixir, Erlang, Gleam) #224
Comments
My question is: is this faster? If not, well, it is not because it is easier that it is interesting, modulo a dependency. Why do I say this? I saw Elixir vs Go, and yes, I believe we can and should compare things . It is easy to say it is not relevant, but why? that there are many of benchmarks out there etc. Again, when you look at the resources consumed by Go vs Elixir, and you have to pay for the resources, then you start to think. It seems like only rich people can or should adopt Elixir. Is this unfair? You can distribute easily etc. Ok, you distribute because you consume so much more? Are you ready to triple you costs because you are not efficient? Running on a VM. OK, then compare to Java? Will be a gap too. However, I got afraid when I saw the reactions on Elixirforum. One Elixir is more aligned with Python, Ruby. However, for me, it is one of the best orchestrator out there. Its force is probably to integrate things, running various tasks, which is already not so bad. Liveview? Nice but the state of each single connection is on the server, so if you are not super cautious, the server will quickly be drowned. All these are some arguments I heard. It is not because things are easy that people will buy it. People buy speed and efficiency. |
You’d be surprised how many people are oblivious to “speed and efficiency”.” |
No! In fact, never. Saying that, I am not advocating for Go, nor saying that Elixir is bad. We once had plenty of CSV files to parse into JSON, really plenty. Doing this in NodeJS was a magnitude faster than with Elixir, so they did not choose Elixir. Just one example.
I probably dealt with "poor" customers 🤷♂️ ? but in general, they were very interested with these costs. But I admit I don't have statistics so my input has little value. |
"poor" customers ... 🤣
The Anyway, back to the topic of this thread; Native |
Native
JSON
in OTP 27! (Elixir, Erlang, Gleam): https://youtu.be/kqDqSLOuxmMhttps://github.com/ChristianAlexander/json-otp-27
https://www.erlang.org/doc/apps/stdlib/json.html
This is now included in
Elixir 1.18
🚀which means we can do
:json.decode
natively withoutpoison
orjason
. 🎉My only question is: what took the
Erlang/OTP
devs so long?! ⏳ (😜)The text was updated successfully, but these errors were encountered: