Does BitC have a Foreign Language Interface?

Basically, what's needed for this is a mapping of BitC types/values to
types/values of language L, and a specification of call mechanism(s).

Inside the OS, L will likely be assembly language, in which low level
glue code is written.  Should not be much of a problem, because BitC
has basic values with defined sizes, and all architecture-provided
primary types are included.  Compound types have a defined memory
layout as far as I can see.

For application code, usually an interface to (at least) C as common
ground is chosen, so that existing libraries could be reused.

Any thoughts on this, or are there plans to go different route,
perhaps?


Cheers,
Michael
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to