News for hackers. Stuff that matters.
Re:A green threading library with true concurrency for Python by mietek on Friday August 16, 2013 @02:51PM (#6226002)
> Conpig threads still can only run on one core of a processor.

This isn't true concurrency. Scaling to 20 million requests per second over 40 cores on a single machine is true concurrency.

Re:A green threading library with true concurrency for Python by functional_test on Friday August 16, 2013 @02:57PM (#6226033)
You're confusing concurrency [1] and parallelism [2] -- this is addressed on the bullet point before the one you quoted.

[1] http://en.wikipedia.org/wiki/Concurrency_(computer_science)

[2] http://en.wikipedia.org/wiki/Parallel_computing

Re:A green threading library with true concurrency for Python by mercurial on Friday August 16, 2013 @03:01PM (#6226069)
Single-core concurrency is concurrency is concurrency (you have different computations occurring concurrently, even if they are not executing at the same time). What it's not is parallelism.
Re:A green threading library with true concurrency for Python by stonemetal on Friday August 16, 2013 @03:43PM (#6226312)
Concurrent means at the same time. You can't have things happening concurrently but not at the same time.
Re:A green threading library with true concurrency for Python by mirman on Friday August 16, 2013 @04:12PM (#6226496)
Technically no, you can't have two things happening concurrently and but not finishing in the same time period.

But what a "thing" and how long a period is are up for grabs. If we choose period to be anything longer than 1 millisecond, then this library will finish executing both things in that time period.

http://stackoverflow.com/questions/1050222/concurrency-vs-pa...

Re:A green threading library with true concurrency for Python by silverlake on Friday August 16, 2013 @04:39PM (#6226627)
This may help explain the difference: http://blog.golang.org/concurrency-is-not-parallelism
Re:A green threading library with true concurrency for Python by stonemetal on Friday August 16, 2013 @05:14PM (#6226776)
Should I have thrown a literally in there? Literally Concurrent means at the same time. Parallel literally means non intersecting. I understand some dumbass has\is trying to co opt the language it doesn't mean I have to like it.

If one of them should mean one thing and the other the other why not have the one that literally means at the same time for the term that means at the same time. And have the one that means non intersecting mean threads of execution that are beside each other but not touching without lots of pain and suffering. Sorry, rant bit off.

Re:A green threading library with true concurrency for Python by mercurial on Saturday August 17, 2013 @01:09AM (#6228231)
> I understand some dumbass has\is trying to co opt the language it doesn't mean I have to like it.

That's called a lingo or a jargon (in this case, programmer lingo), and it involves making up words or having a different definition for a given word in the correct context.