aboutsummaryrefslogtreecommitdiff
path: root/FutureFeatures.md
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2015-05-05 07:16:47 -0700
committerDan Gohman <sunfish@mozilla.com>2015-05-05 08:48:16 -0700
commit7e924a58b089ffda1cbacac4715bc5bbcaf56b0d (patch)
tree128e06d17dcf6d769e1a2efb202b8b57a1c60c6b /FutureFeatures.md
parent59f06dcabf413054704027438df6614020f697f3 (diff)
downloadnanowasm-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.md13
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`.