Re: std.datetime impenetrable

2011-09-16 Thread Kagamin
Steve Teale Wrote: Alternatively, let me explain my desire. When my program first runs, I want to hazard a guess as to what size of paper the user is likely to use - US Letter Size, or A4/inches or metric. Do you wanna say all pdfs from america are done in letter size and won't print right

Re: std.datetime impenetrable

2011-09-16 Thread Kagamin
Steve Teale Wrote: Anyway, how would you do it? You need a compatibility layer like http://en.wikipedia.org/wiki/Freedesktop.org They already can have solution or you can consult with them.

Unable to get Phobos working on Ubuntu x64 (Oneiric)

2011-09-16 Thread Kiith-Sa
I've just installed a new system - Ubuntu 11.10 beta x64 and can't get dmd/phobos 2.055 to work. When I try to compile file hello.d with the following content: import std.stdio; void main() { writeln(Hello World!); } I get this error: /usr/lib/gcc/x86_64-linux-

Aligning data in memory / on the stack

2011-09-16 Thread Peter Alexander
Can anyone help me with this? http://stackoverflow.com/questions/7375165/aligning-stack-variables-in-d --- Is there a way to align data on the stack? In particular, I want to create an 16-byte aligned array of floats to load into XMM registers using movaps, which is significantly faster than

Re: Aligning data in memory / on the stack

2011-09-16 Thread bearophile
Peter Alexander: Is there a way to align data on the stack? In particular, I want to create an 16-byte aligned array of floats to load into XMM registers using movaps, which is significantly faster than movups. Yours is a legitimate desire. I remember Don asking for this several times, and

Re: Unable to get Phobos working on Ubuntu x64 (Oneiric)

2011-09-16 Thread Jonathan M Davis
On Friday, September 16, 2011 12:47 Kiith-Sa wrote: I've just installed a new system - Ubuntu 11.10 beta x64 and can't get dmd/phobos 2.055 to work. When I try to compile file hello.d with the following content: import std.stdio; void main() { writeln(Hello World!); } I get this

Re: Unable to get Phobos working on Ubuntu x64 (Oneiric)

2011-09-16 Thread Kiith-Sa
Jonathan M Davis wrote: On Friday, September 16, 2011 12:47 Kiith-Sa wrote: I've just installed a new system - Ubuntu 11.10 beta x64 and can't get dmd/phobos 2.055 to work. When I try to compile file hello.d with the following content: import std.stdio; void main() { writeln(Hello