|
-
Jun 23rd, 2000, 01:28 PM
#1
Thread Starter
Lively Member
Wad is the difference between compiling in p-code and native code??????
YC Sim
Teenage Programmer
UIN 37903254
-
Jun 23rd, 2000, 06:39 PM
#2
P-Code stands for Pseudo-Code, which is about half way between VB source code and machine understandable code.
Native code is actually the most low-level code.
P-code is interpreted on the fly by the CPU and is usually much slower than Native. Native code is simply P-code that has been translated before runtime and therefore doesnt need to be translated on the fly so its far quicker.
P-code Exe's are usually smaller in filesize than Native ones. (check this by compiling the same app twice, one for Pcode and one for Native code.)
You can also optimise Native code to either run fast with a large exe size or run slower with a small exe size. Personally I always compile to Fast-Native code.
-
Jun 23rd, 2000, 07:27 PM
#3
Thread Starter
Lively Member
if i use native code, does it mean i can use the app with out requiring the setup files for vb along on another system provided i dun any additional components.....?
YC Sim
Teenage Programmer
UIN 37903254
-
Jun 23rd, 2000, 08:32 PM
#4
Native code is the same as P-Code in that respect, everything that you needed when you use P-code, will still be needed by Native.
The age-old dependency files dabate continues!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|