chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Basic FFI Principle in Chicken


From: John Cowan
Subject: Re: [Chicken-users] Basic FFI Principle in Chicken
Date: Sat, 7 Sep 2013 10:33:37 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Kristian Lein-Mathisen scripsit:

> Because size of an "int" can generally be either 32 or 64-bit depending
> on your architecture, the srfi-4 vectors are possible better suited
> for floats and doubles where the sizes are all set. It's worth knowing
> about them though.

Actually, there are essentially no architectures on which "int" is
anything but 32 bits: unless you have an ancient Cray running Unicos
(modern ones run Linux), a (now-defunct) HAL Systems port of Solaris,
or an IBM PC/AT, you don't have to worry about that.  What does vary is
"long", which is 32 bits on 32-bit systems and Win64, and 64 bits on
non-Windows 64-bit systems.

-- 
John Cowan    http://ccil.org/~cowan    address@hidden
SAXParserFactory [is] a hideous, evil monstrosity of a class that should
be hung, shot, beheaded, drawn and quartered, burned at the stake,
buried in unconsecrated ground, dug up, cremated, and the ashes tossed
in the Tiber while the complete cast of Wicked sings "Ding dong, the
witch is dead."  --Elliotte Rusty Harold on xml-dev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]