Re: Why 64bit Delphi compiler from Borland may be meaningless!

From: Ingvar Nilsen (telcontr_at_online-not-this-part-.no)
Date: 01/22/05


Date: Sat, 22 Jan 2005 23:39:25 +0100

Rudy Velthuis [TeamB] wrote:

> Yes. Always use fixed size types, like AnsiChar, WideChar, ShortInt,
> Byte, SmallInt, Word, LongInt, LongWord, and not the "generic" types
> like Integer, Cardinal and Char.

What I have learnt is the opposite.
Except from structures stored in files where the location needs to be
accurate, a generic type will be more portable and will be optimized by
the compiler.
Source code written with D1 would then be compiled with maximum
optimization, in D2..D7, D2005, even in a Delphi 64 bit version.

-- 
Ingvar Nilsen


Relevant Pages

  • Re: Brian Kernighan, maybe Im not worthy, maybe Im scum
    ... what experienced programmers do, ... optimization, ... Thugs" ad nauseum fits that a lot more closely than discussing compiler ... be modified outside a loop, and guessing ...
    (comp.programming)
  • long(!) Re: need help on CFLAGS in /etc/make.conf please
    ... For example, MPlayer sets this high on purpose, so GCC will actually ... and the K&R compiler would've known exactly the kind of optimization we wanted. ... >> A msg from Richard Coleman, taken together with the GCC 3.x Known Bugs ...
    (freebsd-questions)
  • Re: SETF and variable issues in Self Similar program.
    ... The way to get a compiler to optimize a tail-call ... call optimization turned on. ... It changes the semantics of the language in a big way. ... In Common Lisp it has to interact with condition handling, ...
    (comp.lang.lisp)
  • Re: Programming languages
    ... >> execution time, ... That's not a good candidate for optimization. ... if there is comething the compiler ... António> programmers and those can't cope with anything else than ...
    (sci.lang)
  • Re: Debugging and optimizations
    ... and compiler optimizations. ... Earlier in the week I was talking to a developer about optimization ... The problem is in the compiler not the source level debugging format. ... The compilers should be able to provide source level debug information ...
    (comp.programming)