Of course, you can always say that you can use the foreign function
interface, but then you lose inlining and speed.

The same is true of C/C++. You can get much better performance from assembler but calling assembler from C or C++ not only costs inlining and speed but
even functionality because you have an ABI to conform to.

gcc can and does inline user functions written in assembly, as long as they
are wrapped in a C function. It's pretty nice in that respect, actually.

Cheers, Kuba

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to