Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Bigarray is a pig
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] Bigarray is a pig
On Sat, 24 Jul 2004, Brandon J. Van Every wrote:
> You are saying that even though Bigarray declares its array element
> access functions as EXTERN, and implements them in C code, that ocamlopt
> ignores this and does something else?  Using some completely different
> source code, perhaps?  (And where is that code?)

If you take a close look at bigarray.mli, you'll see that the access
functions "get" and "set" are not normal external functions but start
with a "%".  This means they are primitives that the compiler can handle
in a specific way.  Look at the file asmcomp/ to see the details.


Markus Mottl

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: