Results 1 to 4 of 4

Thread: diff between native and P-Code compilation

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Location
    Singapore
    Posts
    116
    Wad is the difference between compiling in p-code and native code??????
    YC Sim
    Teenage Programmer
    UIN 37903254



  2. #2
    Guest
    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Location
    Singapore
    Posts
    116
    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



  4. #4
    Guest

    Talking

    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
  •  



Click Here to Expand Forum to Full Width