Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 19th, 2007, 12:49 PM   #11
jaeusm
Programmer
 
jaeusm's Avatar
 
Join Date: Feb 2006
Location: Columbus, OH
Posts: 84
Rep Power: 3 jaeusm is on a distinguished road
Quote:
If we create a Hardware or a Processor which executes the Java byte code Instructions. I know it sounds harder but still I am hopeful in this.
Ajile Systems AJ-100 processor natively executes Java bytecode. Microcontrollers from Systronix, like the SaJe, use Ajile processors. They also use a modified version of the J2ME.

I used the SaJe to write a control system for an autonomous lawnmower when I was in grad school, and it performed quite well.
jaeusm is offline   Reply With Quote
Old Apr 19th, 2007, 9:56 PM   #12
rsnd
Hobbyist Programmer
 
rsnd's Avatar
 
Join Date: Jun 2005
Location: Helltown
Posts: 162
Rep Power: 4 rsnd is on a distinguished road
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!
rsnd is offline   Reply With Quote
Old Apr 20th, 2007, 4:39 AM   #13
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by pushkarajthorat View Post
Many of my friends are saying about slowness of java.
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++.

Quote:
Originally Posted by pushkarajthorat View Post
2. Garbage Collection Mechanism.
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:
Originally Posted by pushkarajthorat View Post
If we create a Hardware or a Processor which executes the Java byte code Instructions. I know it sounds harder but still I am hopeful in this.
Compared to any common dialect of machine code, Java bytecode is relatively high-level, with concepts such as classes and interfaces being core concepts. You might get some speed increase by hard coding it, but I suspect a lot of the JVMs inefficiencies come from implementing high level functionality.

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.
Arevos is offline   Reply With Quote
Old Apr 26th, 2007, 8:12 AM   #14
pushkarajthorat
Java Developer
 
pushkarajthorat's Avatar
 
Join Date: Jun 2006
Location: Solapur, India.
Posts: 22
Rep Power: 0 pushkarajthorat is an unknown quantity at this point
Send a message via Yahoo to pushkarajthorat
I think i have cleared my views, thanks for contributing.
__________________
[Pushkaraj]


Imagination is more important than knowledge – Albert Einstein
pushkarajthorat is offline   Reply With Quote
Old May 27th, 2007, 2:29 PM   #15
Harakim
Hobbyist Programmer
 
Join Date: May 2006
Location: West Jordan, Utah, United States
Posts: 176
Rep Power: 3 Harakim is on a distinguished road
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.
Harakim is offline   Reply With Quote
Old Jun 2nd, 2007, 11:10 PM   #16
ehm
Newbie
 
Join Date: Jun 2007
Location: Baku, Azerbaijan
Posts: 2
Rep Power: 0 ehm is on a distinguished road
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
ehm is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB 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
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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:49 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC