Emulating Stackless and greenlet with each other

“Stackless Python and the greenlet package for CPython are two different implementations of coroutine support for Python. (Coroutines are fundamental building blocks of I/O frameworks like gevent, Eventlet, Concurrence and Syncless to conveniently handle thousands of socket connections at a time without creating threads.) Stackless and greenlet implement a different interface. However, each is powerful enough so that it can be used to emulate the other one. In this talk we explore the differences and discuss design decisions and testing strategies of the emulations we have implemented…”



G-WAN + 10 GbE make your servers fly 320,000x higher

“Use Asm C C++ C# D Go Java Javascript Lua Objective-C Perl PHP Python Ruby and Scalascripts with G-WAN.

By offering scripts for both compiled and interpreted languages, G-WAN delivers the productivity that has made less efficient frameworks popular for Web development.

Scripts let you test your code by just pressing F5 in the Web browser. With Apache, Lighttpd or Nginx you have to stop the server, recompile and link your C source code modules, and then restart the server – each time you need to edit your code.

G-WAN lets you get the most of both worlds: efficiency and convenience…”


Why I Program In Erlang

“The good news about Erlang can be summed up at this: Erlang is the culmination of twenty-five years of correct design decisions in the language and platform. Whenever I’ve wondered about how something in Erlang works, I have never disappointed in the answer. I almost always leave with the impression that the designers did the “right thing.” I suppose this is in contrast to Java, which does the pedantic thing, Perl, which does the kludgy thing, Ruby, which has two independent implementations of the wrong thing, and C, which doesn’t do anything…”


The Drilldown Method: A Strategy for Learning Faster

“During the yearlong pursuit, I perfected a method for peeling those layers of deep understanding faster. I’ve since used it on topics in math, biology, physics, economics and engineering. With just a few modifications, it also works well for practical skills such as programming, design or languages.

Here’s the basic structure of the method:

  1. Coverage
  2. Practice
  3. Insight

I’ll explain each stage and how you can go through them as efficiently as possible, while giving detailed examples of how I used them in actual classes…”