3 ms·
> that feature alone puts it head-and-shoulders over Python Uh no it doesn't. Python uses OS threads. It cripples them with the GIL (hence multiprocessing), bu
by masklinn 16y ago
> that feature alone puts it head-and-shoulders over Python
Uh no it doesn't. Python uses OS threads. It cripples them with the GIL (hence multiprocessing), but it never used green threads.
And of course, using green threads can be an advantage if you're not dumb about it (see Erlang).
> it has a wicked fast compiler. So it makes a kick-ass webapp development platform.
What?
- lispm 16y agoCCL has no GIL.
- masklinn 16y agoWhich has absolutely nothing to do with the original claim that: > it has native threads (that feature alone puts it head-and-shoulders over Python) As I wrote previously (and both you and lisper apparently decided to ignore), Python uses OS threads as well.
- lispm 16y agoNative threads that are locked against each other by a GIL, are still native threads, but less useful native threads. An important purpose/use of native threads is that they are scheduled by the OS and not hindered by a GIL, so that in multicore machines multiple threads can run concurrently. CCL does that. Python with the GIL not.
- lisper 16y ago> Uh no it doesn't. Uh, yes it does. > Python uses OS threads. It cripples them with the GIL And CCL doesn't. QED. > using green threads can be an advantage Not if you have multiple cores. > What? http://www.youtube.com/watch?v=snW3cM1KipQ http://www.youtube.com/watch?v=snW3cM1KipQ ;-)
- masklinn 16y ago> Uh, yes it does. That makes no sense, having the exact same feature doesn't make CCL superior. > And CCL doesn't. QED. QED nothing, not having a gil does something, using OS threads doesn't. > Not if you have multiple cores. Yes if you have multiple cores as well. You just have to map your green threads onto OS threads or processes, that's what Erlang does. > ;-) Smileys don't give meaning to nonsense.