If you'll ever wish to choose SSA interpretation way - feel free to use my
library to allocate registers for this stuff
https://github.com/indutny/linearscan.rs .

Cheers,
Fedor.


On Wed, May 29, 2013 at 11:51 PM, John Mija <[email protected]> wrote:

> 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>
> http://godoc.org/code.google.**com/p/go.tools/ssa/interp<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<https://mail.mozilla.org/listinfo/rust-dev>
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to