Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is so nostalgic. I actually met my cofounder on github due to a discussion on twisted vs gevent back in 2011. I had my inital code in twisted and he wrote the gevent piece. Fast forward 12 years and we still use gevent at http://plivo.com :)

Some of our initial code snippets:

# Twisted

def __protocolSendRaw(self, name, args=""): deferred = defer.Deferred() self.__EventQueue.append((name, deferred)) self.rawSend("%s %s" % (name, args)) return deferred

# Gevent

def _protocol_sendmsg(self, name, args=None, async=False): if self._closing_state: return Event() _async_res = gevent.event.AsyncResult() _uuid, event = _async_res.get() return event



Off topic: PLIVO, the norwegian term actually is a protocol used by critical services here. Thought you might find it interesting :)

> PLIVO (an abbreviation for ongoing life-threatening violence) is a procedure for cooperation between the police, the fire service, the rescue service and the healthcare system in incidents where life-threatening violence is perpetrated against several people.


Nice, did not know this.. Plivo in latvian means flying high, thats was one of the languages we named it based on.


damn i had memories of using plivo back in 2012 2013 2014




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: