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

(c-memory-model) and more

This page is part of the web mail archives of SRFI 112 from before July 7th, 2015. The new archives for SRFI 112 contain all messages, not just those from before July 7th, 2015.



Hi,

I think you should add example return values for the (c-memory-model)
procedure.  The ones in R7RS, appendix B, should do: ilp32, lp64, ilp64,
etc.

Not a big deal, but is "memory model" the correct term to use?  It looks
like the terms (64-bit) "data model" and "programming model" are more common
and give better web searches.

I would also like to know what you think about more types of queries.  Why
not include some single-valued stuff from the sysconf, sysctl, /proc and
/sys facilities on Linux/BSD systems?

E.g., on a multi-threaded implementation I'd like to know how many CPU cores
I've got to distribute my workload on.

There are many things that would be great to know that are quite trivial to
get on most systems.  I could make a list of suggestions, if anyone are
interested.

I've implemented SRFI-112 in Mickey:
https://github.com/cslarsen/mickey-scheme/blob/master/lib/srfi/srfi-112.scm

-- 
Christian Stigen Larsen