Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use LLVM #5

Open
girving opened this issue Jul 18, 2009 · 0 comments
Open

Use LLVM #5

girving opened this issue Jul 18, 2009 · 0 comments
Labels

Comments

@girving
Copy link
Owner

girving commented Jul 18, 2009

A few questions here are

  1. Work out the data layout, and figure out how much we have to be "inside" LLVM to access data in the LLVM machine. In particular, interpreted and compiled code should operate on values stored in the same common format, so that we can freely mix the two. I don't understand LLVM well enough yet to understand how that kind of thing works (it may be simple or hard).
  2. Garbage collection. For better or worse, LLVM doesn't have built in garbage collectors. Hopefully we can use someone else's LLVM garbage collector, but I haven't look at the state of such things. We should also see what HLVM is doing.
  3. Bootstrapping and self-compilation. Duck code is going to be constantly recompiling itself, which will be generating new LLVM code. This will require some thought and a lot of LLVM understanding.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant