diff options
| author | Dan Gohman <sunfish@mozilla.com> | 2015-05-05 07:16:47 -0700 |
|---|---|---|
| committer | Dan Gohman <sunfish@mozilla.com> | 2015-05-05 08:48:16 -0700 |
| commit | 7e924a58b089ffda1cbacac4715bc5bbcaf56b0d (patch) | |
| tree | 128e06d17dcf6d769e1a2efb202b8b57a1c60c6b /FutureFeatures.md | |
| parent | 59f06dcabf413054704027438df6614020f697f3 (diff) | |
| download | nanowasm-design-7e924a58b089ffda1cbacac4715bc5bbcaf56b0d.tar.gz | |
Discuss optimization for JITs.
Expand the Platform-independent Just-in-Time compilation section to
mention the challenge of providing optimization for the simple JIT use
case.
Diffstat (limited to 'FutureFeatures.md')
| -rw-r--r-- | FutureFeatures.md | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/FutureFeatures.md b/FutureFeatures.md index abe31f4..27abb93 100644 --- a/FutureFeatures.md +++ b/FutureFeatures.md @@ -82,8 +82,17 @@ This is covered in the [tooling](Tooling.md) section. * and more! ## Platform-independent Just-in-Time compilation -* TODO -* Potentially through dynamic loading. +* Minimally, we need mechanisms to make this possible. + * Producing a dynamic library and loading it is very likely the first step, as + it will be easy to get working. + + * After that, it may become desirable to define lighter-weight mechanisms, such + as the ability to add a function to an existing module, or even the ability to + define explicitly patchable constructs within functions to allow for very + fine-grained JITing. + +* Potential enhancements include: + * Provide JITs access to profile feedback for their JITed code. ## Multiprocess support * `vfork`. |
