![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Aug 2005
Location: null
Posts: 40
Rep Power: 0
![]() |
I googled this - define: native code, so there were two results:
- Native code refers to programs that are written in another language other than Java, such as assembler or C++. - A system of codes directly understandable by a computer's CPU is termed this CPU's native or machine language. So what do you think ? How should I understand it ? Is it the assembler, the machine language, the environment language ... ? |
|
|
|
|
|
#2 | |
|
Professional Programmer
Join Date: Jun 2005
Location: India, The great.
Posts: 435
Rep Power: 4
![]() |
Quote:
__________________
PFO - My daily dose of technology. |
|
|
|
|
|
|
#3 |
|
Programmer
|
^ or other programming languages
but that is the correct definition.Another definition for native code (which should only be even more confusing) is code that is compiled for and is running on a specified platform, then it's native. To elaborate: It's possible to run some Windows programs on Linux using Wine for example, but the "code" is not native, it calls a fictive Windows API which Wine is the placeholder for.
__________________
Visit my blog, about all that stuff in between your nostrils >_> |
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I don't know where you got the first definition, but you shouldn't go back there.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power: 4
![]() |
Native code = machine language
For example, the opcodes (seen as numbers) in Intel 386 code. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|