3 ms·
I envision this to take place in staged releases, eg, during an automated nightly build, rather than during the programmers normal code-compile-run cycle. For
by dkersten 16y ago
I envision this to take place in staged releases, eg, during an automated nightly build, rather than during the programmers normal code-compile-run cycle.
For example, production code usually turns off a lot of runtime assertions, so this might only be applied to development builds. Having said that, a JIT compiler blurs the line between debug/development and production builds, since the JIT compiler could dynamically insert or remove debug, profiling or tracing code. I like the idea of being able to connect testing tools to a running production system (eg, when an error or bug is detected) and the JIT compiler would insert the required code to make this work for the duration of the test session. The debug information that was generated could then be applied to the next build of the development version (which would include new type annotations, unit test stubs, profile information for the code optimizer and whatever else).
- stcredzero 16y agoI envision this to take place in staged releases, eg, during an automated nightly build, rather than during the programmers normal code-compile-run cycle. Cool! the JIT compiler could dynamically insert or remove debug, profiling or tracing code. I like the idea of being able to connect testing tools to a running production system (eg, when an error or bug is detected) and the JIT compiler would insert the required code to make this work for the duration of the test session. That's going much farther than I'd envisioned it! The mind boggles.
- dkersten 16y agoTheres obviously a lot of work to be done before we get there, but a world where you can have all the powerful features of dynamic runtimes/languages without sacrificing efficiency would certainly be welcome. We'll see how my own experiments work out. If anyone would like to chat about the idea, feel free to send an email to my username at gmail.