Byte-code

Byte-code is a sort of intermediate code that is more abstract than machine code. It is often treated as a binary file containing an executable program much like an object module, which is a binary file containing a machine code produced by compilers.

Byte-code is called so because usually each op code is one-byte length but the length of instruction code varies. Each instruction has one byte operation code from 0 to 255 followed by parameters such as registers or memory address. This is a typical case, but the specification of bytecode largely varies in language.

As is in intermediate code, it is a form of output code used by programming language implementors to reduce dependence on specific hardware and ease interpretation.

Less commonly, bytecode is used as an intermediate code of a compiler. Some systems, called dynamic translators, or "just-in-time" (JIT) compilers, translate bytecode into machine language immediately prior to runtime to improve execution speed.

A byte-code program is normally interpreted by a byte-code interpreter (usually called virtual machine since it is like a computer machine). The advantage is portability, that is, the same binary code can be executed across different platforms or architectures. This is the same advantage as that of interpreted languages. However, because bytecode is usually less abstract, more compact, and more computer-centric than program code that is intended for human modification, the performance is usually better than mere interpretation. Because of its performance advantage, today many interpreted languages are actually compiled into bytecode once then executed by bytecode interpreter. Such languages include Perl and Python. Java code is typically transmitted as bytecode to a receiving machine, which then uses a JIT to translate the bytecode to machine code before execution. The current implementation of the Ruby programming language actually does not use bytecode, instead, it relies on tree-like structures, which resembles intermediate representation used in compilers.

Also of interest are p-Codes, which are just like byte codes, but may be physically larger than a single byte and may vary in size (much like Opcodes do). They work at very high levels, such as "print this string" and "clear the screen". Both BASIC and some versions of Pascal use p-Codes.

Examples



In the News

Superfund
Superfund was established in 1980 "to locate, investigate, and clean up the worst [hazardous waste] sites nationwide."This site provides detailed information about Superfund sites, including site descriptions, contaminants, clean-up, progress, and contacts. Also covers laws, statistics, community involvement, local and tribal programs, and map, risk assessment, and other databases. From the U.S. Environmental Protection Agency (EPA).

Some Foods And Beverages Could Hold Clues For Future Diabetes Treatmen
Some recent studies reveal food compounds found in tea, cinnamon, buckwheat and cherries that may hold clues for the treatment of diabetes. The findings come at an appropriate time because November is National Diabetes Awareness Month. Following a doctor's advice on how to keep diabetes in check is always the best course of action. All of the studies were published in the Journal of Agricultural and Food Chemistry, a journal of the American Chemical Society.

Scientists Determine Structure Of Enzyme That Disrupts Bacterial Virul
A team of biomedical researchers from Brandeis University and the University of Texas at Austin has determined the first 3-dimensional structure of an enzyme that may be pivotal in preventing certain bacterial infections in plants, animals and humans, according to a study published in the Proceedings of the National Academy of Sciences.

Mapping The Wake Of A Pending Quake: Another Sumatra Tsunami Likely In
Research into ancient earthquakes by scientists at USC and Caltech shows that within the next few decades another tsunami from another giant earthquake is likely to flood densely populated sections of western coastal Sumatra, south of those that devastated by the tsunami of Dec. 26, 2004.

Study Finds Plenty Of Carbon Dioxide Storage Capacity Underground In K
A Kentucky Geological Survey geologist finds Devonian black shale in Kentucky could provide a potentially large geologic storage reservoir for captured carbon dioxide.

Cartilage Repair Techniques Shown To Restore Patient Mobility And Redu
Two separate new studies presented at a major medical meeting provide objective scientific evidence that the two most commonly performed cartilage repair techniques are effective at restoring patient mobility and reducing pain.

Global Warming Is Evaporating Arctic Ponds, New Study Shows
High Arctic ponds -- the most common source of surface water in many polar regions -- are now beginning to evaporate due to recent climate warming, say two of Canada's leading environmental scientists.

Powerful Microscope May Help Cancer Research
A powerful new microscope -- the multiphoton microscope -- shows the workings of living tissues at the cellular and molecular level. Using the multiphoton microscope, scientists have recorded how the body's defenses fight tumors and infectious diseases.

The Historical Marine Society: Nelson and His Navy
This British historical research and re-enactment group "undertakes research into the life and times of Horatio Nelson and the Royal Navy of the Napoleonic Wars period."This site features articles such as "The Cat O' Nine Tails Used for Punishment,""What Did Women Do on Board Ship,"and "Cheese and the Royal Navy."Includes a message board.

Cancer Vaccines: A Two-pronged Attack?
The latest findings in cancer vaccine development suggest that cancer vaccines may have two modes of action; specific immunization and non-specific activation of immune cells paralyzed by the tumor.


MP3 Music Downloads

Preview songs, Download Free Music,Burn CDs at ITunes.com
iTunes_RGB_9mm

 


Google




InformationQuickFind.com - Find Information Fast

Links