News for hackers. Stuff that matters.
Re:Elixir for Humans Who Know Python by Daishiman on Sunday February 26, 2023 @09:19AM (#34945721)
Concurrency is a pet use case for 99% of projects. Library ecosystem is the primary and dominant factor when choosing general-purpose technologies and Python has it beat.
Re:Elixir for Humans Who Know Python by noloblo on Sunday February 26, 2023 @09:59AM (#34946022)
In a multi core world concurrency and parallelism are no longer pet use cases.

Unfortunately The slowness of python, gil and really bad design choices of Asyncio in python 3 relative to how elegant parallelism and concurrent programming is in Racket, haskell, elixir and erlang make python a non starter for many basic use cases

Re:Elixir for Humans Who Know Python by noloblo on Sunday February 26, 2023 @11:47PM (#34953092)
https://edisciplinas.usp.br/pluginfile.php/5023569/mod_resou... elixir fp pdf that helps clarify why is more elegant than python or cpp
Re:Elixir for Humans Who Know Python by Daishiman on Monday February 27, 2023 @09:29AM (#34956793)
This is absolutely not true, because most of the industry uses Python for web services and serving web pages is still the same thing as it was 20 years ago. You scale by bringing in more processes.

Multicore concurrency is still a pet use case because high performance is still a minority of applications and async programming is not necessarily faster, per many benchmarks. Most companies will rewrite the high-performance component in the proper manner and continue to do everything else the way they did.

Re:Elixir for Humans Who Know Python by noloblo on Monday February 27, 2023 @02:46PM (#34960974)
>> Most companies will rewrite the high-performance component in the proper manner and continue to do everything else the way they did.

they do and when they need it is not in python or asyncio wonder why it is usually in cpp,java,erlang,elixir,haskell ?

Re:Elixir for Humans Who Know Python by Daishiman on Friday March 03, 2023 @01:21PM (#35013205)
Nobody's writing production Haskell or Erlang for this save maybe a half-dozen companies; it's all C++ or Java, and it represents a very small minority of the code as critical paths are usually tiny slivers of a codebase.
Re:Elixir for Humans Who Know Python by noloblo on Friday March 03, 2023 @01:31PM (#35013322)
isn't that changing with elixir seeing a huge resurgence and haskell with tweag/well-typed/serokell success stories?