because i'd probably be working with only a few (large) byte arrays. i would be frustrated by the lack of ability to convert integer types without shifting and & 0xff. don't get me wrong, i know the JVM rocks but some hard core math like video codecs needs to break out of Java's type system. I'm not worries about GC and such things because my understanding of codecs is they preallocate their buffers and work in those. And C++ might be useful here where pointer arithmetic and type casting is going to be helpful.
I'm happy to be proven wrong however. :) On Sep 29, 6:51 pm, Ricky Clarkson <[email protected]> wrote: > Why wouldn't you want to write a H.264 codec in Java? > > On Wed, Sep 29, 2010 at 9:37 AM, Christian Catchpole > > > > <[email protected]> wrote: > > it is probably slightly an apple vs oranges question because of the > > kinds of apps you would write in each. while we know Java can cut it > > on the desktop, it often doesn't roll that way. A good C++ programmer > > might be able to do amazing things but only because they are being a > > human compiler and need to be aware of how everything is working on > > the metal. So the same argument could be made for C vs assembler. > > This isn't meant to insult C++ developers (I was one for years and > > still tinker). > > > Java is "cheating" in that it gives you stuff for free, but also frees > > you up to think about the problem, not the implementation. Which > > should be the goal of any higher level language. > > > I wouldn't want to write any kinds of server side / business apps in C+ > > + (unless it was doing something very specific). You have to go out > > of your way to bring down a Java server. > > > I wouldn't want to write a h.264 codec in Java. > > > -- > > You received this message because you are subscribed to the Google Groups > > "The Java Posse" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/javaposse?hl=en. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
