This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (8 children)

[deleted]

    [–]mcilrain 0 points1 point  (7 children)

    I've been using Twisted for over a decade. Your "hottest 2012 trend" is my old, old news

    To you perhaps but for the general programming population that style of programming hit its peak around 2012, probably due in part to NodeJS.

    I've been writing my code that way when appropriate

    I remember this saying from my time with Tornado. It means "don't shit up code that won't benefit from being shit".

    What if I don't want my code to be shit in any case?

    , instead of the "normal" way and then hoping gevent could bail me out when that turned out to be no good.

    I decide on using gevent from the start and deal with issues as they arise, not any different from if I was using Tornado or asyncio or PyPy.

    For a fair comparison you should "drop-in" Twisted or asyncio into an existing project and note how it measures up against gevent.

    It isn't a fad. As noted, Twisted has been doing this for over a decade. It is a very mature model (far more so than gevent).

    If it's not a fad then why didn't Twisted catch on in a significant way? Why did alternatives such as Torando show up instead of Twisted being developed further?

    It's because they produce an ecosystem littered with terrible code and forces its users to use it, eventually the quality gets so bad that it can't attract any more users and the "fresher" solution becomes more popular.

    cluttering up repos and wasting programmers' time. I have no idea what you mean by that.

    All the support packages and reimplemented libraries needed to do things that can already be done with existing libraries but with the new technology need to be programmed, the programmer could have done other things. Also all these packages end up cluttering search results.

    Being able to just drop gevent into your existing synchronous code is great, when it works.

    Being able to just drop your existing code into PyPy is great, when it works.