News for hackers. Stuff that matters.
Re:Implementing, Abstracting and Benchmarking Lightweight Th... by heavenlyhash on Thursday February 06, 2014 @04:14PM (#7192980)
It's possible to perform compare-and-swaps in java just like it is in C. They compile right down to the same primitives that flip bits in metal: you'll get CMPXCHGL instructions (using x86_64 as an example) from the jvm just as you will from gcc.
Re:Implementing, Abstracting and Benchmarking Lightweight Th... by Fasebook on Thursday February 06, 2014 @04:47PM (#7193164)
But those instructions are embedded within another construct.