[Yhc] Backends & Bare Metal
Stefan O'Rear
stefanor at cox.net
Fri Jun 15 18:13:44 EDT 2007
On Fri, Jun 15, 2007 at 02:41:28PM -0500, Creighton Hogg wrote:
> Hello,
> So I admit that I'm not really that familiar with how Yhc works yet, but I
> was wondering if anyone had ever tried/considered making the Yhc runtime
> work on bare metal? It seems like this would just involve using a modified
> version of the BCKernel but everything else should be able to stay the same
> since the rest involves compiling to byte code? I have no idea how hard
> that is, but it seems like it'd be almost more feasible than reworking
> h0p/House to work with more recent GHCs.
Indeed it would be simple. The biggest issue would likely be that you
would need to write much of a C OS in order to load bytecode files; my
Ayhi design (unfortunately stalled ATM) avoids this issue by doing
bytecode loading in Haskell.
Stefan
More information about the Yhc
mailing list