[MLton-devel] pinned large arrays

Stephen Weeks sweeks@sweeks.com
Thu, 23 May 2002 09:43:25 -0700


I agree with Andrew that this stuff should be done within MLton and
that mmap'ing from C, marshalling, and using a C FFI for array access
is too costly, plus the other usual problems with missing MLton's
optimizations when you use C.  The bounds checks cost shouldn't be a
problem, since bounds-check elimination is slated to go into MLton
later this year (and they're already pretty cheap).

I agree that address space fragmentation is a problem.  But we're
going to run on SPARCs soon enough, and if all goes well, on 64 bit
x86 (or whatever) next year.

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel