Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Bram Stolk <bram@nuson.nl>
Subject: Re: Alpha/Linux Users -  Opinions requested
Date: 1999/05/25	[thread overview]
Message-ID: <374A8ABF.2A799D2@nuson.nl> (raw)
In-Reply-To: 37447C8F.A4FCD04E@hammerhead.com

"Thaddeus J. Beier" wrote:

> 2) Those afore-mentioned 64-bit words were a surprise.  There were a
> number
> of places in my code that I had expected 'long' to be 32 bits.  In
> particular,
> I call Mesa (nee' OpenGL) glDrawPixel commands with an array of
> 'unsigned long's
> and was surprised that my pictures didn't show up correctly.  Converting
> everything
> to 'int' solved this problem.  Still, I'm sure that bugs still await
> discovery.

What surprised me the most that g++ on alpha
will do:

sizeof(bool) == 8

64 bits used, to store just a single one!

Also ofcourse, sizeof(long) == sizeof(void *) == 8.

Some quick-n-dirty programmers use ints to hold
ptr values though, and that's a real pain.

However, most linux packages are now 64bit safe.
Debian/alpha is pretty complete when it comes
to available packages.
 
   Bram



  parent reply	other threads:[~1999-05-25  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-20  4:00 Alpha/Linux Users - Opinions requested Michael
1999-05-20  4:00 ` Thaddeus J. Beier
1999-05-25  4:00   ` Harri Haataja
1999-05-25  4:00   ` Bram Stolk [this message]
1999-05-20  4:00 ` Bram Stolk
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox