Re: binanry comparison mismatch



Ralph wrote:
....
It is related to the fact that unlike C/C++, VB doesn't perform a 1::1
conversion of VB source code (files) to compiled native code. All source is
first loaded and converted to pcode. More properly called excode at this
stage, and its not just a series of code statements, but caches,
jump-tables, symbol tables, tokens, etc. When a native code compile is
requested this excode is converted (preprocessed) into an odd mix of
tokenized C code (called .obj files but they are not what a C programmer
would call an obj file) that is passed on to the C2.exe compiler.

Even so, you would think the process would highly deterministic, but it
appears not to be. A certain amount of twittering goes on no matter what you
do.
....

I've never worried at that level of detail so don't know whether it would make any real difference, but the only suggestion I would have as something to try would be to Make from the command line w/ the /Make switch rather than from the IDE.

To OP, to try this, type VB /? at a command prompt for the help.

--
.



Relevant Pages

  • Re: binanry comparison mismatch
    ... conversion of VB source code to compiled native code. ... while a command line compile tends to demonstrate less ...
    (microsoft.public.vb.general.discussion)
  • Re: Micro Focus COBOL runtime, /clr:pure, etc.
    ... compiling to native code and INCLUDING all vendor-supplied subroutines in a ... And, of course, all of this is slightly different from whether Micro Focus ... MicroFocus COBOL in its earliest incarnations ... DID compile to native code. ...
    (comp.lang.cobol)
  • Re: WG: SI Units - has Ada missed the boat?
    ... I don't remember the details but there was also a way to define the conversion from various units into the generic _UNITS. ... This program would then write the ADA specs and bodies for the conversion. ... The "UNITS" package took about 4 hours to compile and every component took a long time to compile because every expression had to be compared to the myriad of overloads to determine if the expression was valid. ... myint: INTEGER; ...
    (comp.lang.ada)
  • Re: Microsoft Losing Interest in C#?
    ... > The code doesn't compile right now because, IIRC, the JCLA generated a few ... > javaisms in the sections where a direct conversion wasn't possible. ... The JLCA doesn't understand the Comparable interface, ... UUID.cs: error CS0246: The type or namespace name 'MessageFormat' ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Using Python for programming algorithms
    ... You may compile C ... compiling it to native code wouldn't buy you much in terms of raw ... here's how to compile RPython to native code: ... My suggestion was to use code suitable for optimization (not ...
    (comp.lang.python)