News for hackers. Stuff that matters.
Re:Proposal for a Go Interpreter by derefr on Sunday September 06, 2015 @10:30PM (#10179841)
I'm not sure either. So these are just guesses:

• You already know it.

• You want to use Go libraries.

• You want to extend a Go codebase at runtime, without integrating another language like Lua.

Weirder possibilities:

• You want to be able to use it as the basis for a Go "live image" system, where you can hot-reload modules on editor-save by re-parsing their source.

• You want to try building a Go version of Ruby's Pry (http://pryrepl.org)

• You want to enable your Go program to do stupid things involving generating strings of Go code and eval()ing them.

• You want to take some first steps toward some utopian dream of pushing live Goroutines over the network as frozen state + closure source, similar to what could be achieved on Mosix or the Erlang VM.

There are no comments on this comment yet.