After of to do a lot of research, I think that Go never would be widely used on the web so it's a waste of time to try integrate it with Rust (or with Servo). And the main reason is Dart, a language designed for the web which is heavily promoted by Google:

https://gist.github.com/paulmillr/1208618/raw/a9edc5df513a8b810c8fc83cdf291ee8ac2f8abe/dart.txt

http://news.dartlang.org/2013/05/dart-project-co-founders-answer-your.html

The truth is that I expected to be able to use Go in both front-end server and client but it has not been designed for it, although Dart is it.

El 29/05/13 20:51, John Mija escribió:
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
[email protected]
https://mail.mozilla.org/listinfo/rust-dev


_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to