February 21st, 2008, 1:22 pm
QuoteOriginally posted by: brownie74Smart pointers, reference counting, writing new() to work off your own pool of memory, in C++ ... Java is better because there are less ways to skin a cat. I agree with most of what you said. But the above, I'm not so sure. Java is better in many cases (blotters, stp & back office booking systems etc... ), but there are many cases for example where you do care about memory and do want to use your own memory allocators. I've seen this internally in some libraries, specifically dealing with large data requirements, e.g. caching calibrated surfaces etc... and being quite precise about the lifetime of objects. Re: use of templates, I've yet to see anything as comprehensive and intuitive as uBlas, Bltiz++ in Java, specially where expression templates may yield significant performance gains.Picking the right tool for the job is important, frequently it will be Java, frequently it will not be... and I've found many Java developers find that difficult to accept.
Last edited by
MichaelL on February 20th, 2008, 11:00 pm, edited 1 time in total.