Jump to page: 1 223  
Page
Thread overview
'int' is enough for 'length' to migrate code from x86 to x64
Nov 18, 2014
FrankLike
Nov 18, 2014
ketmar
Nov 18, 2014
John Colvin
Nov 18, 2014
FrankLike
Nov 18, 2014
FrankLike
Nov 18, 2014
ketmar
Nov 18, 2014
FrankLike
Nov 18, 2014
ketmar
Nov 18, 2014
Frank Like
Nov 18, 2014
Marco Leise
Nov 19, 2014
Frank Like
Nov 21, 2014
Marco Leise
Nov 19, 2014
Don
Nov 19, 2014
Matthias Bentrup
Nov 19, 2014
John Colvin
Nov 19, 2014
Don
Nov 19, 2014
ketmar
Nov 19, 2014
Don
Nov 19, 2014
ketmar
Nov 19, 2014
Matthias Bentrup
Nov 20, 2014
Don
Nov 20, 2014
FrankLike
Nov 20, 2014
Matthias Bentrup
Nov 20, 2014
Ary Borenszweig
Nov 20, 2014
Araq
Nov 20, 2014
flamencofantasy
Nov 21, 2014
Kagamin
Nov 21, 2014
FrankLike
Nov 21, 2014
FrankLike
Nov 21, 2014
flamencofantasy
Nov 20, 2014
John Colvin
Nov 21, 2014
ketmar
Nov 20, 2014
H. S. Teoh
Nov 21, 2014
Daniel Murphy
Nov 21, 2014
Kagamin
Nov 20, 2014
Steve Sobel
Nov 21, 2014
Marco Leise
Nov 24, 2014
Don
Nov 25, 2014
Don
Nov 25, 2014
bearophile
Nov 25, 2014
Kagamin
Nov 25, 2014
Kagamin
Nov 25, 2014
Kagamin
Nov 26, 2014
Frank Like
Nov 27, 2014
Kagamin
Nov 27, 2014
bearophile
Nov 24, 2014
ketmar
Nov 24, 2014
Matthias Bentrup
Nov 24, 2014
Matthias Bentrup
Nov 25, 2014
FrankLike
Nov 25, 2014
Don
Nov 24, 2014
ketmar
Nov 19, 2014
ketmar
Nov 19, 2014
Ary Borenszweig
Nov 20, 2014
FrankLike
Nov 20, 2014
Ary Borenszweig
Nov 21, 2014
Daniel Murphy
Nov 19, 2014
Ary Borenszweig
Nov 19, 2014
bearophile
Nov 20, 2014
deadalnix
Nov 20, 2014
flamencofantasy
Nov 20, 2014
H. S. Teoh
Nov 20, 2014
Walter Bright
Nov 20, 2014
Ary Borenszweig
Nov 20, 2014
H. S. Teoh
Nov 20, 2014
deadalnix
Nov 21, 2014
Wyatt
Nov 21, 2014
Marco Leise
Nov 20, 2014
Walter Bright
Nov 20, 2014
bearophile
Nov 21, 2014
Walter Bright
Nov 21, 2014
Walter Bright
Nov 21, 2014
deadalnix
Nov 21, 2014
Daniel Murphy
Nov 21, 2014
Walter Bright
Nov 21, 2014
Daniel Murphy
Nov 21, 2014
Matthias Bentrup
Nov 21, 2014
Walter Bright
Nov 21, 2014
FrankLike
Nov 21, 2014
Kagamin
Nov 21, 2014
Don
Nov 21, 2014
Matthias Bentrup
Nov 21, 2014
H. S. Teoh
Nov 21, 2014
Don
Nov 21, 2014
John Colvin
Nov 21, 2014
Walter Bright
Nov 24, 2014
Don
Nov 24, 2014
Walter Bright
Nov 25, 2014
Don
Nov 25, 2014
Kagamin
Nov 21, 2014
Marco Leise
Nov 21, 2014
bearophile
Nov 21, 2014
Walter Bright
Nov 21, 2014
Frank Like
Nov 21, 2014
Ary Borenszweig
Nov 21, 2014
ketmar
Nov 21, 2014
Ary Borenszweig
Nov 21, 2014
ketmar
Nov 21, 2014
Walter Bright
Nov 21, 2014
H. S. Teoh
Nov 21, 2014
Marco Leise
Nov 21, 2014
Ary Borenszweig
Nov 24, 2014
Don
Nov 21, 2014
ketmar
Nov 21, 2014
FrankLike
Nov 21, 2014
ketmar
Nov 21, 2014
FrankLike
Nov 21, 2014
Kagamin
Nov 21, 2014
ketmar
Nov 20, 2014
H. S. Teoh
Nov 20, 2014
Walter Bright
Nov 20, 2014
FrankLike
Nov 21, 2014
Walter Bright
Nov 21, 2014
ketmar
Nov 21, 2014
ketmar
Nov 22, 2014
ketmar
Nov 21, 2014
H. S. Teoh
Nov 21, 2014
ketmar
Nov 21, 2014
Walter Bright
Nov 21, 2014
H. S. Teoh
Nov 21, 2014
ketmar
Nov 21, 2014
Walter Bright
Nov 21, 2014
ketmar
Nov 21, 2014
Walter Bright
Nov 22, 2014
ketmar
Nov 22, 2014
Nick Treleaven
Nov 20, 2014
Kagamin
Nov 19, 2014
Ary Borenszweig
Nov 19, 2014
bearophile
Nov 19, 2014
Matthias Bentrup
Nov 21, 2014
Marco Leise
Nov 20, 2014
H. S. Teoh
Nov 20, 2014
H. S. Teoh
Nov 20, 2014
FrankLike
Nov 21, 2014
Marco Leise
Nov 20, 2014
Sean Kelly
Nov 21, 2014
Daniel Murphy
Nov 21, 2014
bearophile
Nov 21, 2014
Daniel Murphy
Nov 21, 2014
bearophile
Nov 21, 2014
Walter Bright
Nov 21, 2014
Stefan Koch
Nov 21, 2014
Daniel Murphy
Nov 22, 2014
deadalnix
Nov 22, 2014
Daniel Murphy
Nov 22, 2014
ketmar
Nov 21, 2014
bearophile
Nov 21, 2014
Marco Leise
Nov 22, 2014
Marco Leise
Nov 22, 2014
deadalnix
Nov 19, 2014
uri
Nov 20, 2014
Walter Bright
Nov 20, 2014
Kagamin
Nov 21, 2014
CraigDillabaugh
Nov 21, 2014
Meta
Nov 19, 2014
Kagamin
Nov 21, 2014
Marco Leise
Nov 19, 2014
Kagamin
Nov 21, 2014
Marco Leise
Nov 18, 2014
Sean Kelly
Nov 18, 2014
matovitch
Nov 18, 2014
Jeremy DeHaan
Nov 18, 2014
David Eagen
Nov 18, 2014
ketmar
Nov 19, 2014
Kagamin
Nov 19, 2014
Don
Nov 19, 2014
FrankLike
Nov 19, 2014
ketmar
Nov 19, 2014
David Gileadi
Nov 19, 2014
bearophile
Nov 19, 2014
David Gileadi
Nov 19, 2014
bearophile
Nov 21, 2014
Walter Bright
Nov 19, 2014
ketmar
Nov 19, 2014
bearophile
Nov 21, 2014
Daniel Murphy
Nov 21, 2014
Walter Bright
Nov 21, 2014
Daniel Murphy
Nov 21, 2014
Daniel Murphy
Re: 64 KiB should be enough for everyone
Nov 21, 2014
Marco Leise
Nov 22, 2014
Walter Bright
Nov 22, 2014
Marco Leise
Nov 23, 2014
Walter Bright
Nov 22, 2014
FrankLike
Nov 21, 2014
Frank Like
Nov 21, 2014
Daniel Murphy
Nov 21, 2014
ketmar
Nov 21, 2014
Araq
Nov 21, 2014
ketmar
Nov 21, 2014
Ary Borenszweig
Nov 21, 2014
ketmar
Nov 19, 2014
Marc Schütz
Nov 21, 2014
Marco Leise
Nov 22, 2014
FrankLike
Nov 22, 2014
Marc Schütz
November 18, 2014
If you migrate your projct from x86 to x64,you will find the length is error,you must modify it ,such as:
  int i= (something).length
to
  size_t i = (something).length

but now ,'int' is enough for use,not huge and not small,only enough.
'int' is easy to write,and most people are used to it.
Most importantly easier to migrate code,if  'length''s return value type is 'int'.

Thank you all.
November 18, 2014
On Tue, 18 Nov 2014 12:33:51 +0000
FrankLike via Digitalmars-d <digitalmars-d@puremagic.com> wrote:

> If you migrate your projct from x86 to x64,you will find the
> length is error,you must modify it ,such as:
>    int i= (something).length
> to
>    size_t i = (something).length
> 
> but now ,'int' is enough for use,not huge and not small,only
> enough.
> 'int' is easy to write,and most people are used to it.
> Most importantly easier to migrate code,if  'length''s return
> value type is 'int'.
> 
> Thank you all.
drop your C.

  auto len = smth.length;

works ok for both x86 and x86_64 (don't know what x64 is).


November 18, 2014
On Tuesday, 18 November 2014 at 13:35:46 UTC, ketmar via Digitalmars-d wrote:
> On Tue, 18 Nov 2014 12:33:51 +0000
> FrankLike via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
>
>> If you migrate your projct from x86 to x64,you will find the length is error,you must modify it ,such as:
>>    int i= (something).length
>> to
>>    size_t i = (something).length
>> 
>> but now ,'int' is enough for use,not huge and not small,only enough.
>> 'int' is easy to write,and most people are used to it.
>> Most importantly easier to migrate code,if  'length''s return value type is 'int'.
>> 
>> Thank you all.
> drop your C.
>
>   auto len = smth.length;
>
> works ok for both x86 and x86_64 (don't know what x64 is).

x64 is commonly used by windows programmers to refer to x86_64 with a 64 bit OS.
November 18, 2014
> drop your C.
>
>   auto len = smth.length;
>
> works ok for both x86 and x86_64 (don't know what x64 is).

Many excellent projects such as dfl,dgui,tango, many 'length' which type is 'int' or 'uint',they are D's,many people like it.but they should migrate to 64 bit.So if 'length' type is 'int',they can work on 64 bit,but now,they must be modify for 'length''s type.

November 18, 2014
On Tue, 18 Nov 2014 14:24:16 +0000
FrankLike via Digitalmars-d <digitalmars-d@puremagic.com> wrote:

> > drop your C.
> >
> >   auto len = smth.length;
> >
> > works ok for both x86 and x86_64 (don't know what x64 is).
> 
> Many excellent projects such as dfl,dgui,tango, many 'length' which type is 'int' or 'uint',they are D's,many people like it.but they should migrate to 64 bit.So if 'length' type is 'int',they can work on 64 bit,but now,they must be modify for 'length''s type.
broken code must be fixed by the authors of the broken code. that code is broken. authors must fix it.


November 18, 2014
>> Many excellent projects such as dfl,dgui,tango, many 'length' which type is 'int' or 'uint',they are D's,many people like it.but they should migrate to 64 bit.So if 'length' type is 'int',they can work on 64 bit,but now,they must be modify for 'length''s type.
> broken code must be fixed by the authors of the broken code. that code
> is broken. authors must fix it.

Now,dfl's anthor miller has stopped updating the dfl project,and dgui also was.But they are excellent,we like to use it.

November 18, 2014
>>> but now ,'int' is enough for use,not huge and not small,only enough.
>>> 'int' is easy to write,and most people are used to it.
>>> Most importantly easier to migrate code,if  'length''s return value type is 'int'.

How about your idea?


November 18, 2014
On Tue, 18 Nov 2014 14:41:18 +0000
FrankLike via Digitalmars-d <digitalmars-d@puremagic.com> wrote:

> >> Many excellent projects such as dfl,dgui,tango, many 'length' which type is 'int' or 'uint',they are D's,many people like it.but they should migrate to 64 bit.So if 'length' type is 'int',they can work on 64 bit,but now,they must be modify for 'length''s type.
> > broken code must be fixed by the authors of the broken code.
> > that code
> > is broken. authors must fix it.
> 
> Now,dfl's anthor miller has stopped updating the dfl project,and dgui also was.But they are excellent,we like to use it.
fork 'em and fix 'em. if nobody wants to fix the project, the project is dead and should be not used, obviously.


November 18, 2014
On Tuesday, 18 November 2014 at 12:33:52 UTC, FrankLike wrote:
> If you migrate your projct from x86 to x64,you will find the length is error,you must modify it ,such as:
>   int i= (something).length
> to
>   size_t i = (something).length
>
> but now ,'int' is enough for use,not huge and not small,only enough.
> 'int' is easy to write,and most people are used to it.
> Most importantly easier to migrate code,if  'length''s return value type is 'int'.
>
> Thank you all.

I'm using size_t and std::size_t in C/C++...but sure I am a bit weird/extremist.
November 18, 2014
> but now ,'int' is enough for use,not huge and not small,only enough.
> 'int' is easy to write,and most people are used to it.
> Most importantly easier to migrate code,if  'length''s return
>value type is 'int'.

How about your idea?
« First   ‹ Prev
1 2 3 4 5 6 7 8 9 10 11