Go to Post "there are two types of underprivileged teams; the ones who whine about being underprivileged and the ones that work to become privileged". - Undertones [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 05-09-2009, 18:33
alivemyst alivemyst is offline
Registered User
no team
 
Join Date: Sep 2009
Location: California
Posts: 10
alivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of light
Re: Java vs. C++

the Squawk Java virtual machine was developed at Sun Microsystems labs specifically for use in embedded platforms, and having used it on arm platforms, I must say it runs particularly fast--comparable to writing C++ for the same platforms. This is the case in part because Squawk runs "on the metal", ie without a host operating system to create overhead or incur performance costs. On many platforms, java now runs as fast or faster than C/C++, except when OS-Related I/O functions are called, tending to be the biggest bottleneck. On the metal, this is a non-issue, and the Java interpreter has been really well optimized. Finally, I'd point out that Java's garbage collector is rather nice...

In terms of library support, it is currently looking like the Java abstractions provided by WPI/Sun for robot hardware are rather nice... http://livemyst.comli.com/wpilibj/doc/index.html shows that most robot hardware can be dealt with cleanly through object methods.

There is nothing to say that C++ or Java is bad or should be avoided, its really more of a preference call, not performance.

Last edited by alivemyst : 05-09-2009 at 18:35.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
**FIRST EMAIL**/Java and Orbit Balls *****JAVA DISCUSSION*** Pjohn1959 Programming 37 31-08-2009 15:55
Programming with Java? the_innovator Programming 11 27-02-2007 16:47
java to pbasic nzj1 Programming 11 09-01-2003 19:24
Java Books Yan Wang Programming 1 27-12-2002 16:26
No Java for XP Kyle Fenton Chit-Chat 21 23-07-2001 20:15


All times are GMT -5. The time now is 12:39.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi