5 ms·
Elixir haskell and erlangs concurrency and parallelism story far outweigh any imperative pythonic benefits or idioms IMHO
by noloblo 4y ago
Elixir haskell and erlangs concurrency and parallelism story far outweigh any imperative pythonic benefits or idioms IMHO
- Daishiman 4y agoConcurrency 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.
- deleted 4y ago[deleted]
- noloblo 4y agoIn 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
- noloblo 4y agohttps://edisciplinas.usp.br/pluginfile.php/5023569/mod_resource/content/1/functionalprogrammingwithelixir-160823015455.pdf https://edisciplinas.usp.br/pluginfile.php/5023569/mod_resou... elixir fp pdf that helps clarify why is more elegant than python or cpp
- Daishiman 4y agoThis 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.
- noloblo 4y ago>> 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 ?
- Daishiman 4y agoNobody'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.
- noloblo 4y agoisn't that changing with elixir seeing a huge resurgence and haskell with tweag/well-typed/serokell success stories?