ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i dont know if this belongs in programming or hardware.
i always hear complaints that java programs are trés slow. this is most likely because java isn't necessarily cross-platform. it only runs on 1 platform (jvm) and no matter what the implimentation, there is always a level of emulation to convert java byte code to the native processor's machine language.
I would like opinions on why a processor hasnt been built that can inately read the byte code in a java class file and interpret each instruction as its native machine language.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
The complaints about java being slow are essentially no more true.
Some java applications may still be slow these days, but the reason is usually they are poorly written.
Several processors were built to natively accept bytecode (ultrajava, picojava), I doubt they ever left Sun laboratories.
thanks jlliagre for posting about pico/ micro/ ultra-java, that answers my question (so something does exist...).
i couldnt find mention of mention any respective assembly language (java cannot be an assembly language).
I am a hardware engineer and i am curious to find a table of supported machine language opcodes and their function (such as in 65c02, loading the accumulator with the number 3 yeilds the hexcode instruction '05 03' or in x86 to add the immediate value 3 to the 'eax' register it would be '04 03').
does anyone have any idea of getting this info short of being a sun systems programmer.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Opcode and parameters meaning is described in the vladmihaisima's link: 3.11 Instruction Set Summary.
You may want to know that there are also quite a large number of interpreted and compiled non-java languages implementations that exist on top of the JVM: http://www.robert-tolksdorf.de/vmlanguages.html
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.