Leopold Toetsch wrote:
Well, there was already one very legitimate usage of compile time loadlib, which is now using C<.loadlib> for that:
We certainly need both compile-time and runtime loading of libraries. So, it's just a question of which syntax to use for which case.
chromatic suggests .include for "load this library at compile and run time". The .include directive is currently being used to mean "inline the entire source code for this file here". But, I've always thought of that as a hack we put in before we had library loading working. Any thoughts?
That would leave us the consistency of the loadlib opcode and the .loadlib directive both meaning "load this library at runtime".
Allison