Re: Ver 4.0 start up speed.
- Posted by mattlewis (admin) Feb 24, 2009
- 809 views
A better option for the general case might be to pre-parse files and store them as 'il'-type files which can be directly used by the interpreter instead of the original source files. This concept has yet to be agreed upon by the development team , and I don't know how feasible it might be but on the surface it looks like a good solution to speed up start-up times for interpreted applications.
This is now technically feasible, though there are issues to be addressed. Essentially, this would require the parsing process to be a little more like building a C program. We'd first 'compile' the standard libraries (or whatever), and later link them into an application.
I've put some thought into something similar, which would allow interpreted code to seemlessly use translated code. See the bullet "Compile a euphoria include as a dll."
Matt