MLton inline assembler etc.?
Stephen Weeks
MLton@sourcelight.com
Tue, 27 Feb 2001 10:37:31 -0800 (PST)
> Peek and poke are really easy to provide as primitives. In fact, for any
> reasonable ammount of assembly, it would probably be easiest to add new
> primitives and add the appropriate pseudo-x86 assembly to translate the
> new primitives.
I completely agree with Matthew's assessment. We can certainly provide you
primitives for peek and poke, and then you can implement whatever bit twiddling
you need in SML. If that doesn't produce fast enough code, then that will
provide the appropriate motivation for us to improve MLton.