Array's pointers are reset when the original array is logically
copied and thus has 2+ reference counts internally. This doesn't happen
if it is not logically copied.
$a = array("one", "two");
next($a);
var_dump(current($a)); //=> "two"
$b = $a;
var_dump(current($a)); // => "one"
?>
I would like to leave my memos related to my "kung-fu" for some technology insights. Kung-fu doesn't only mean a battle style, but means hacking one's own life.
Friday, August 28, 2009
Tuesday, January 06, 2009
Today's Book: The Art of Multiprocessor Programming
The Art of Multiprocessor Programming is a new FIRST-READ book for concurrency study.
This book comprehensively presents the principles and tools available for programming multiprocessor machines. It is of immediate use to programmers working with the new architectures. The authors are the leaders in this research community. Sample programs are written in Java.
This book comprehensively presents the principles and tools available for programming multiprocessor machines. It is of immediate use to programmers working with the new architectures. The authors are the leaders in this research community. Sample programs are written in Java.
Subscribe to:
Posts (Atom)
-
Great demonstrations of powerful combination of recent deep neural networks applications - stacked hourglass networks for human pose estima...
-
A caveat for programming in C++ for ROS (Robot Operating System). The core ROS architecture is of the pub-sub messaging framework , where ...
-
In April, the "Linked Data Basic Profile 1.0" was published as a W3C member submission , lead by IBM Rational but involving other...