Re:Elixir Saves Pinterest $2M a Year in Server Costs
by Thaxll on Tuesday August 29, 2023 @08:21AM
(#37306633)
Elixir does not do anything better at IO than other languages.
[ Parent
| on HN ]
Re:Elixir Saves Pinterest $2M a Year in Server Costs
by zaphar on Tuesday August 29, 2023 @08:56AM
(#37307089)
They do have a really compelling conccurent processing story though, which is what most people mean when they say it's better at IO.
Re:Elixir Saves Pinterest $2M a Year in Server Costs
by sph on Tuesday August 29, 2023 @11:54AM
(#37309763)
What's "other languages"?
IO lists, which are the foundation of anything that build a string incrementally, are managed with vectored IO syscalls out of the box (readv/writev), which you'd have to handle yourself in most other languages, or resort to allocating and endless memory copying which Erlang is able to avoid.