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

implement runtime #3

Open
KeenS opened this issue Apr 6, 2017 · 4 comments
Open

implement runtime #3

KeenS opened this issue Apr 6, 2017 · 4 comments

Comments

@KeenS
Copy link
Owner

KeenS commented Apr 6, 2017

Write GC

@KeenS
Copy link
Owner Author

KeenS commented Apr 11, 2017

emscripten adds unnecessarily imports so may need to implement it with (restricted) webml itself

@KeenS
Copy link
Owner Author

KeenS commented Jul 1, 2017

roadmap to implement the runtime:

1. [x] implement closure calls
2. [ ] implement fast call (de-closure) optimization
+ implies inlining, dead code optimization

3. [ ] implement intrinsics
4. [ ] implement dead link elimination
+ (opt) no_std or no_runtime declaration

5. [ ] implement GC in webml Rust.

@KeenS
Copy link
Owner Author

KeenS commented Aug 14, 2017

memo: to implement closure calls, make all the function calls closure calls. To do so, separate definition for closure calls and fast calls. TBD: generate closed function and fast function for each functions, or generate them on demand?

@KeenS
Copy link
Owner Author

KeenS commented Oct 26, 2017

memo: give marking functions instead of tag bits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant