News for hackers. Stuff that matters.
Re:Ruby Threads and the Global Interpreter Lock in C by FranzVonSuppe on Thursday November 27, 2014 @03:55PM (#8668703)
I don't understand how you can say Java, C++, and Ruby in the same breath. They are not at all alike. Also what optimizations are available to C which are not in C++? C++ is (almost) a strict superset of C.
Re:Ruby Threads and the Global Interpreter Lock in C by Argorak on Thursday November 27, 2014 @05:15PM (#8668928)
Just because C++ is a superset of C doesn't mean that all C++ features are in a way comparable to C (in compiling and at runtime).
Re:Ruby Threads and the Global Interpreter Lock in C by lmm on Thursday November 27, 2014 @06:46PM (#8669147)
Restrict pointers in C let you write code that's faster than the C++ equivalent for functions that copy a lot of memory.