From 7e924a58b089ffda1cbacac4715bc5bbcaf56b0d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 5 May 2015 07:16:47 -0700 Subject: 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. --- FutureFeatures.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'FutureFeatures.md') 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`. -- cgit v1.2.3