Two things, sort of tangential.

One is loading/unloading modular components of a web-application, e.g.
dynamically recompiling/reloading on changes to source code. I know that
Revel implements this by using a front controller that dispatches your
application as a sub-process, but that means rebuilding the entire
application, which in a large-scale modular architecture could become
increasingly time-consuming.

The other is to build a modular scripting language on top of Go - e.g.
internally compiling things on the fly. And again, I know about e.g. gorun
and the pattern it uses. What I'm looking for is something that has the
quick turn-around life-cycle of scripting languages like PHP, e.g. with no
full compile-stage, but instead transpiling to Go, compiling files to
modules, reloading on change.

On Tue, Dec 16, 2014 at 9:32 AM, Jesper Louis Andersen wrote:

On Tue, Dec 16, 2014 at 8:36 AM, Rasmus Schultz wrote:

So now, a year later, is there anything in the works for Go that will
permit dynamic loading/unloading of code/modules?

Out of curiosity, perhaps the more morbid kind of curiosity: what do you
want to use it for? I'm well aware of the benefits of having the ability to
inject code into a system while it is running, but I am always on the
lookout for use cases which are new and interesting.

You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 15 of 15 | next ›
Discussion Overview
groupgolang-nuts @
postedFeb 28, '13 at 7:02p
activeDec 16, '14 at 12:31p



site design / logo © 2022 Grokbase