Dynamic inclusion

new topic     » topic index » view thread      » older message » newer message

Juergen suggested the possibility of including intermediate language
files as an alternative to including source files. 

It would be good, I think, if the interpreter, which generates the
IL files, could check to see if an included source file already has
a compiled IL file available, and use that instead. In the same way
that a lot of C/C++ compilers check first to see if an included file
has a later object file before re-compiling. 
It would save a lot of time with files like Win32Lib when you are
developing a new program and doing frequent runs. On my home P3 500MHz
machine it takes some 10-15 seconds to recompile Win32Lib each time,
which is not nice.  Yeah, yeah, I could fork out for a new PC, but
that's not a sensible answer.

Another "feature" which Rob may consider - can the object() "function"
which always returns True, return False if the object has not been
initialised? It would be useful to have variables inside a function 
which I can initialise on first execution rather than either having
them global (and doing it on startup) or having some other way of
detecting the first call to the function to do the initialization.

Andy Drummond

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu