[Laszlo-dev] loading a module dynamically in runtime?
Henry Minsky
henry.minsky at gmail.com
Mon Jul 9 19:24:35 PDT 2007
Currently, you must recompile the entire application if you change any of
the
code in it.
The technical issue is that the compiler assigns unique internal function
names for anonymous functions such as constraint functions and event
handlers, and those names can only be kept from colliding with one another
in the different modules if the compiler can recompile the whole application
at once.
It may be there are other ways to solve the problem you are trying to
address, if you can tell us more about what your system's constraints are.
On 7/9/07, Hyok S. Choi <hyok.choi at samsung.com> wrote:
>
> Thank you for quick reply.
> Then, how about partial update? Is that possible to compile the template
> codes(e.g. defines methods, handlers, ...) of the loadable library in
> compilation time, and load a newly updated library in runtime?
> (replacement
> of the module?)
>
> Thank you in advance,
> Hyok
> http://opensrc.sec.samsung.com/
>
> ________________________________
>
> From: Henry Minsky [mailto:henry.minsky at gmail.com]
> Sent: Tuesday, July 10, 2007 10:56 AM
> To: Hyok S. Choi
> Cc: laszlo-dev at openlaszlo.org
> Subject: Re: [Laszlo-dev] loading a module dynamically in runtime?
>
>
> I am not quite sure what you are asking, but there is a way to
> load
> code at runtime
> using the <import> tag.
>
> Any code which is referenced by the <import> tag is compiled into
> a
> loadable library
> which can be loaded at runtime.
>
>
> On 7/9/07, Hyok S. Choi <hyok.choi at samsung.com> wrote:
>
> Greetings,
>
> I can not sure if this is right place to ask this, please
> let me know if I
> interrupt you.
>
> Could anyone let me know if there is a way to load a
> module
> dynamically in
> runtime? (e.g. dll)
> If openlaszlo is a compile and run approach, how about
> interpreter approach
> like Orbit project?
>
> Thank you in advance,
> Hyok
> http://opensrc.sec.samsung.com/
>
>
>
>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>
>
>
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20070709/2caea84e/attachment.html
More information about the Laszlo-dev
mailing list