Re: Fedora 9 32 or 64 Bit - Which One?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



stan wrote:
> Jerry Feldman wrote:
> > very poorly written, It's just that simple. From a developer standpoint,
> > developing a portable application, eg. one that can be compiled for
> > 32-bit or 64-bit and work out of the box is relatively simple if you
> > follow some rules. The newer C and C++ language standards also have
> > specific 32-bit and 64-bit integers, so you don't have to use "long"
> > which can be 32-bits or 64-bits. I remember the same issue with 16-bit
>
> Would you be willing to point to those 'relatively simple'
> techniques with a link?

No link needed. Just don't make baseless assumptions about sizes of data 
types. Don't assume that a pointer is the same size as an int for example, or 
that the number 5000000000 will fit in a long int. Use uint32_t if you need a 
32-bit number and so on. It's just that simple.

Even better, avoid C and use a better designed language with a good type 
system.

Björn Persson

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux