所以咪話java全部野都係pointer囉……
KoolFreeze 發表於 2013-4-5 15:12


The true wonder of C pointer is pointer arithmetic.  We cannot do it in Java.

TOP

因為成個OS最慢就係I/O(even memory level)...下下pass by value, 係d complex /sensitive d 既process o ...
kuro_sora 發表於 2013-4-5 00:26


其實我現在用的電話都係得 512 MB RAM,我都想 d developer 寫 d program 可以用少 d ram。

TOP

The true wonder of C pointer is pointer arithmetic.  We cannot do it in Java.
henrywho 發表於 2013-4-5 17:53


I don't think pointer arithmetic is that special, as its effect can generally be easily expressed in other ways. What special is the ability to create pointer to pointer (to pointer to pointer to pointer.....)

TOP

I don't think pointer arithmetic is that special, as its effect can generally be easily expressed  ...
KoolFreeze 發表於 2013-4-5 22:39



    pointer arithmetic allows buffer overflow

TOP

I don't think pointer arithmetic is that special, as its effect can generally be easily expressed in other ways.
KoolFreeze 發表於 2013-4-5 22:39


No, you can express it in other ways, but you cannot reproduce the speed.

TOP