![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 | |
|
Programmer
Join Date: Feb 2006
Location: Columbus, OH
Posts: 84
Rep Power: 3
![]() |
Quote:
I used the SaJe to write a control system for an autonomous lawnmower when I was in grad school, and it performed quite well. |
|
|
|
|
|
|
#12 |
|
Hobbyist Programmer
Join Date: Jun 2005
Location: Helltown
Posts: 162
Rep Power: 4
![]() |
I thought java code is translated to native machine code for some vms onloadtime? I think better speed can be achieved through algorithem optimization than making special hardware especially with java.
__________________
Spread your wings and fly! Chicken! |
|
|
|
|
|
#13 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
It's not that slow. It's just about the fastest VM-based language there is, and not an order of magnitude different from C++.
This is somewhat debatable, as freeing memory is not an inexpensive process, so it all depends whether your manual freeing of memory is more efficient than the GC's automatic system. It's quite possible to outperform a GC with manual memory management, just as it's quite possible to outperform a compiler with manually written assembly. But it's not necessarily an easy or smart thing to try to do. Quote:
Honestly, an easier way to get rid of the VM would be just to compile the Java bytecode to machine code, which is what the GCJ project aims to do. Whether compiling results in faster applications, I'm not certain. It might be worth doing some benchmarks. |
|
|
|
|
|
|
#14 |
|
Java Developer
|
I think i have cleared my views, thanks for contributing.
![]()
__________________
[Pushkaraj] Imagination is more important than knowledge – Albert Einstein |
|
|
|
|
|
#15 |
|
Hobbyist Programmer
Join Date: May 2006
Location: West Jordan, Utah, United States
Posts: 176
Rep Power: 3
![]() |
This is kind of old, but I felt I should mention that they do have processors that run Java bytecode natively, and it was/is a good idea.
Second, Java is usually about as fast as c++, in spite of the incessant comments otherwise. There are, however, some things you just can't do quickly in Java. |
|
|
|
|
|
#16 |
|
Newbie
Join Date: Jun 2007
Location: Baku, Azerbaijan
Posts: 2
Rep Power: 0
![]() |
Hi. I think with java's performane is everything is done, because, also there are jit compiler, which are for compiling java codes directly to native code. so I think there is no need, for creating additional CPU's processing byte-code. In any case, it depends of your project,or prog. taks, you could choose for example C/C++ for faster implementation
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming with Java: Tutorial | ReggaetonKing | Java | 7 | May 20th, 2008 10:58 AM |
| Special browser in Java (Project) | stalefish | Java | 3 | Feb 9th, 2008 4:22 PM |
| First Java Program | duale2005 | Java | 3 | May 22nd, 2006 5:17 PM |
| Java programmers, game developers, artists, be ware! RPG game team is recruiting! | atcomputers.us | Paid Job Offers | 7 | Sep 25th, 2005 7:25 PM |
| Begin my first lesson to learn Java | satimis | Java | 7 | Mar 3rd, 2005 2:45 AM |