Re:A green threading library with true concurrency for Python
by erikb on Friday August 16, 2013 @06:00PM
(#6226969)
It basically is 50 lines of code that implement some stuff from gevent... So yes, it's more of a joke I guess.
[ Parent
| on HN ]
Re:A green threading library with true concurrency for Python
by mirman on Saturday August 17, 2013 @09:03AM
(#6228978)
So number of lines of code makes a library a joke? One of the most commonly used Haskell libraries is only 25.
http://hackage.haskell.org/packages/archive/forkable-monad/0...
Also, this doesn't implement some stuff from gevent, it implements some stuff over and using gevent.
Re:A green threading library with true concurrency for Python
by erikb on Saturday August 17, 2013 @03:07PM
(#6229973)
Yes that's exactly what I'm saying. If external code is less then some hundred lines of code, it would be better suited as a tutorial and people would be better at implementing those lines themselves. And yes, that's only my opinion.
Re:A green threading library with true concurrency for Python
by mirman on Tuesday August 20, 2013 @01:46PM
(#6245305)
Do you have any reasoning behind that opinion, or is it just unfounded religious zeal?
Why should somebody who wants to use threading have to know how to write a preemptive scheduler? If you want a tutorial in addition to the library thats fine, but many good tutorials also release their code as libraries. In open source world, releasing code as a library does not mean having to keep people from understanding the workings of that code. Why should people HAVE to learn how the code works to use it though?