What endiannesses do D support?

2013-10-04 Thread Denis Shelomovskij
Some of druntime/phobos code assumes it is one of little/big endianness others have `static assert(0)` for third case. Lets clear the situation and make a decision. -- Денис В. Шеломовский Denis V. Shelomovskij

Re: What endiannesses do D support?

2013-10-04 Thread Alex Rønne Petersen
On Friday, 4 October 2013 at 10:59:05 UTC, Denis Shelomovskij wrote: Some of druntime/phobos code assumes it is one of little/big endianness others have `static assert(0)` for third case. Lets clear the situation and make a decision. Little endian and big endian must be supported. Little

Re: What endiannesses do D support?

2013-10-04 Thread Denis Shelomovskij
04.10.2013 15:00, Alex Rønne Petersen пишет: On Friday, 4 October 2013 at 10:59:05 UTC, Denis Shelomovskij wrote: Some of druntime/phobos code assumes it is one of little/big endianness others have `static assert(0)` for third case. Lets clear the situation and make a decision. Little endian

Re: What endiannesses do D support?

2013-10-04 Thread Stewart Gordon
On 04/10/2013 11:59, Denis Shelomovskij wrote: Some of druntime/phobos code assumes it is one of little/big endianness others have `static assert(0)` for third case. Lets clear the situation and make a decision. Are you thinking of middle-endian orders such as 2,3,0,1? Or just wondering in

Re: What endiannesses do D support?

2013-10-04 Thread Brad Roberts
On 10/4/13 3:26 PM, Stewart Gordon wrote: On 04/10/2013 11:59, Denis Shelomovskij wrote: Some of druntime/phobos code assumes it is one of little/big endianness others have `static assert(0)` for third case. Lets clear the situation and make a decision. Are you thinking of middle-endian