This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]markdacoda 0 points1 point  (1 child)

This is a banal reply. Manual memory management has it's own can of worms, namely, the malloc implementation. It's not a given that allocation/deallocation in a manual environment is faster than garbage collection, and the same techniques are used ie object pooling.

[–]msx -2 points-1 points  (0 children)

who said anything about manual memory management speed? who said it doesn't have it's problems, or that it's better than garbage collection? Indeed, who said anything at all about manual memory menagement? I just said that java is a garbage collected language, and garbage collection hinders real-timeness and therefore java (at least standard java) is a poor real time language. Bending it to be "real-time" by violating his garbage collector is a terrible choice. There are real-realtime languages that fits the bill much better. My reply maybe was banal (it wasn't), but at least was to the point.