Why is it that no one writes with portability in mind in druntime?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Nov 24 09:47:49 PST 2013


On 11/24/13, Johannes Pfau <nospam at example.com> wrote:
> We have one type in D which has a different size depending on platform
> and it's the number one source for platform-specific problems...

It seems any time a language defines something as
implementation-specific or platform-specific it ends up giving
everyone headaches. I don't know why D chose to use reals like that,
after enforcing the sizes of long/int/etc. types.


More information about the Digitalmars-d mailing list