Recompiling at runtime

50 views
Skip to first unread message

victor noagbodji

unread,
Nov 11, 2011, 12:01:08 PM11/11/11
to golan...@googlegroups.com
Hi all,

Please pardon my ignorance if what I'm asking cannot be achieved for I read that Go will compile packages and their dependencies before starting the program at the entering point.

But is there a feature that would allow a singled-out package to be re-compiled at runtime and "hot-swap" the generated code with the current generated one (for that package only)?

Thanks,

Ian Lance Taylor

unread,
Nov 11, 2011, 1:47:44 PM11/11/11
to golan...@googlegroups.com
victor noagbodji <noagbod...@gmail.com> writes:

Not at present. At some point there will have to be some way to at
least do dlopen or the equivalent, but there is no schedule for when
that will occur.

Ian

Reply all
Reply to author
Forward
0 new messages