Jason, On Sun, Aug 7, 2016 at 3:42 AM, Jason E. Aten <j.e.a...@gmail.com> wrote:
> I don't know if there is still interest in this project, > there is (but I personally had to put it a bit on the back burner.) but I continue to be interested. Recently I note that Apple's Swift might > reasonably be a good target. > > Consider: > > a. swift already provides a repl, with debugger. quite possibly easy > access to existing scientific C/C++ codebase, which Seb was hoping for. > > b. there is the ability to call into Go from Swift, using gomobile. > https://medium.com/@rakyll/calling-go-from-swift-be88709942c3#.30mhs3whh > > c. swift provides protocols, which appear to generalize interfaces. > > d. these libraries can be used to add goroutines, channels, select, defer, > and panic to swift: > > https://github.com/tidwall/GoSwift > > https://github.com/tidwall/Safe > > > e. swift supports multiple returns in a tuple; swift supports closures. > > > f. there is already a production quality JIT-compiler provided for you > (e.g. it leverages llvm); this is what the swift REPL utilizes. > I don't know if this is such a good idea. It might be so the whole thing can finally take off, but it adds a lot of moving pieces (Swift, LLVM) on which we don't have much control (especially Swift?) Also, it would dramatically increase the number of dependencies and would make the go-interpreter non go-gettable. OTOH, well, if we get something running on top of Swift, why not ! :) if you want, you could start mocking up something at https://github.com/go-interpreter. let me/us know, -s > > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.