News for hackers. Stuff that matters.
Re:In what cases is Java faster than C++? by ekidd on Wednesday February 16, 2011 @10:25AM (#2226684)
Really? One allocation every 50 to 100ms? That would mean you could only do 10 to 20 memory allocations per second. Now, I know that malloc is often very slow, but that seems unlikely.

Or do you mean 50 to 100 microseconds? That's still horrible, but I could believe it.

Re:In what cases is Java faster than C++? by mrcharles on Wednesday February 16, 2011 @10:39AM (#2226749)
Oops, yeah, I meant microseconds. Will fix it.
Re:In what cases is Java faster than C++? by ekidd on Wednesday February 16, 2011 @10:42AM (#2226773)
Thank you. Malloc can be pretty bad, but we don't want to start any crazy rumors about it. :-)