hehe, true, I am not really new-features&shortcut friend… basically I will never learn the full Java API spec as well as in all other languages, I am not a Java coder, just a coder!
[quote]…but it’s no use for altering primitive types as in the example because of the lack of pointers to primitives…
[/quote]
I am afraid that new bachelor will knew all high levels features without never learn about base. people say it is good for conception etc… but I think that the main reason that new software requiere so much memory and cpu even if they could have been made faster in “smaller configuration” computer. not sure but the sentence above make me thing about that a little… can you explain what you mean exactly, how to you think Java modify an int, what difference do you see between c [ x ] and *c= ?
[quote]Simple loops and slightly more complex loops have not suffered from bound-checks for ages now. Make a benchmark in C, and you’ll get exactly the same performance as in Java, as long as SIMD is not enabled.
[/quote]
nop, Java bounds checks are bottleneck, perform any smart benchmark and the result will show that random Java array acces is at least two time (up to 5 times for random acces) slower than a direct memory acces in another language as C or even in Basic… I will try to take some times and make benchmark between ASM/C/C++/Java on PC and I can already give you results :
1 - ASM
2 - C/C++
3 - Java