Skip to main content.
March 31st, 2005

Java and C++ == turtlegraphics !

Today I finally somewhat fixed the old Java web-camera applet. It really does something very simple. But with Java troubles are always behind the corner.
I couldn’t find a free decent Java IDE, so I downloaded the JBuilder 2005 Enterprise trial. It’s very powerful, but also takes a lot of RAM. Like 200MB or so !!! It allowed me to debug, but the PC was truly crawling. To this let’s add Firefox, which doesn’t seem to like to release memory.. and often I’m with just one simple page open and the browser taking 30-40MB of memory !!
Welcome to the world of C++ and Java bullshit. I have 512MB of memory on my computer but it feels just like when I had 64 several years ago.
The web-camera applet has still some issues. I’m not sure what it is. With all that required multi-threading. It’s really messy. If I could code applets for the web in C, that would save me a lot of time and hidden logical bugs.
Anyhow the Aibo-cam thing now runs the Java applet. The real advantage of that is probably just the random text messages that I wrote a while ago, but that still seem to make sense (aside from the one where I say that I’m 28.. well I was 28 I guess !).

Posted by Davide Pasca in Uncategorized

This entry was posted on Thursday, March 31st, 2005 at 1:01 am and is filed under Uncategorized. You can follow any responses to this entry through the comments RSS 2.0 feed. You can leave a response, or trackback from your own site.

5 Responses to “Java and C++ == turtlegraphics !”

  1. ragin' lion says:

    hey now, what’s all this anti-C++ talk? Didn’t we have this same discussion years ago? 8P

    Are there any remote programming or debugging options available with that IDE? It would probably be a lot less painful if you could program or debug on one machine and have some other run the application.

  2. Anonymous says:

    Hey kaz, if u need a good IDE try eclipse, get it at www.eclipse.org it’s damn good and it’s open source!

    See ya!
    Pomy

    P.S.: Nice Blog!!!

  3. Davide Pasca says:

    Ragin.. I didn’t mean to attack C++ personally. I meant, as usual, that most that write C++ and Java, tend to write super-bloated code. I know how it is, it’s easy to be a lazy programmer when resources aren’t such a big problem. At Borland they probably thought “bhaa.. who cares if our IDE takes 200MB of RAM, they are developers, let them buy 2GB !”.
    BTW, I had the confirmation that Firefox 1.0.1 doesn’t release the JPEGs loaded with JavaScript. A couple of days ago, a friend of mine left a PC of mine with the page with JavaScript reloading the webcam images. This morning I discovered that Firefox was taking 175MB of RAM for that single page 8)

    Mr.Pomy ! Glad to see that you are around to partecipate ..and help 8)
    I’ve heard of Eclipse, but I didn’t try it. Now that you suggest it, I’ll try it for sure. I just hope it won’t have the same issues that JCreator had ..using the JSDK, which thinks I want to see error messages in Japanese because of the Japanese locale.. and the worst part is that JCreator in English can’t display Japanese error messages 8).

  4. rince says:

    EEEhhhh, I went to play that java racing game and something is wrong!!!! It was going very very fast for me!!!!

  5. ragin' lion says:

    kaz I think the code bloat has a lot to do with the fact that a lot of programs written these days aren’t as efficient as they could be; efficiency seems to be not the main priority these days. I mean why bother when you have a 50GHz CPU w/ infinite amounts of memory? 8P

    Speaking of poor coding practices, I’ve seen a lot of poorly written code in many of those open source projects … kind of scary.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>