Re: IL Engineering Library

new topic     » goto parent     » topic index » view thread      » older message » newer message
Rasti said...

Sorry to quote from a very old (2004) post [1].

"Derek Parnell" said...

You still won't be able to create new routines at runtime and have them execute in the same address space as the application (eg. have them share variables). With using routine-id, you can only deal with routines that already exist at runtime. There is a convoluted method of doing this in WIndows/Linux environments, but it involves compiling a new routine as a shared library (eg. a Windows DLL) at runtime then loading that library, then running the routine - not a pretty method at all.

@Jim: I was wondering, how was your IL Engineering Library able to overcome the limitations mentioned by Derek?

Actually, your quote shows that Derek already knew of a way of overcoming those limitations.

Meanwhile, my example implementation does not support creating new routines at runtime yet. This would require hooking into the routine_id table and stuff, which can be done, but simply has not been implemented yet.

Rasti said...

And are the new routines created at runtime actually sharing the same address space as the rest of the program?

[1] http://openeuphoria.org/forum/m/68649.wc

Yes.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu