Hacker News new | ask | show | jobs
by landersg 1334 days ago
Async is overengineered and bolted on. If you must use Python, I'd still recommend Twisted, which is more accessible. Otherwise, of course use Go, Elixir, etc. in the first place.
4 comments

I find Twisted less accessible and more opaque than async. It's also more "bolted on" in that it's an entirely separate library/framework outside the standard lib.

Async might technically be bolted on, but no worse than async in most languages which weren't designed de novo for async (eg go/elixir).

Promising contenders include algebraic effects in OCaml and JVM's Project Loom.
It reminds me of the cooperative multitasking used by the original Mac OS.
I don't know. It seems to me Elixir requires a new and rather restrictive programming paradigm. For me, that's even worse than being overengineered.
> new

Erlang has been around since what, the 80s? Elixir is "just" Erlang with a different face and extra features.

> restrictive

which is? Functional programming? Immutability?

Interestingly, Erlang is often called a "true" object-oriented language thanks to its actor model. It's incredibly powerful and flexible, pretty much the opposite of restrictive. Just for a simple example, you can inspect, debug and modify your program while it's running.

From your comment it just seems you're not familiar with it.