How could be integrated the Go language in Rust?
If somebody were to write a Go compiler to be integrated in Rust[1],
which path would be the best one? To create bindings to commands
[568][acgl] [2] or write the SSA library/interpreter [3] in Rust?
[1] "to be integrated in other language": I refer to can compile Go code
without to use an OS call to execute the command, just like a browser
built in C++ has integrated JavaScript or like Lua can be integrated with C.
[2]: http://golang.org/src/cmd/
[3]: http://godoc.org/code.google.com/p/go.tools/ssa
http://godoc.org/code.google.com/p/go.tools/ssa/interp
* * *
What reasons could want somebody to use Go from Rust?
+ It could be used in programs where you want give power to users to run
some tasks, i.e. into a database; today, it's being added JS to some DBMSs
+ To Run web scripts in Go --into a fork of Servo-- which will allow
create powerful applications easily with a great performance and easily
of debugging.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev