The other option that I had in mind, would be to build a modified version of Go (removing some statements) which could be used like "universal language".

Finally, to build an automatic transformer to the desired language,
like a transformer from Go to Rust.

El 04/03/14 20:14, John Mija escribió:

El 04/03/14 20:04, Clark Gaebel escribió:
...and the garbage collector?

The compiler introduces the FUNCDATA and PCDATA directives which contain
information for use by the garbage collector:

http://golang.org/doc/asm

So, that information would not used by the linker like it's used by the
Go linkers. This would be the tricky part, but the garbage collector
should be managed by the host language.

On Tue, Mar 4, 2014 at 2:56 PM, John Mija <jon...@proinbox.com
<mailto:jon...@proinbox.com>> wrote:


    El 04/03/14 19:51, Tony Arcieri escribió:

        On Tue, Mar 4, 2014 at 11:43 AM, John Mija <jon...@proinbox.com
        <mailto:jon...@proinbox.com>
        <mailto:jon...@proinbox.com <mailto:jon...@proinbox.com>>> wrote:

             So, why don't use a simple language but safe like Go?


        Go isn't a systems programming language. Go is a low-level
managed
        language with a mandatory runtime and garbage collector.


    Sure! The idea would be to use a modified version of Go where were
    removed all elements related to the runtime like select, defer,
    channels, etc.

    _________________________________________________
    Rust-dev mailing list
    Rust-dev@mozilla.org <mailto:Rust-dev@mozilla.org>
    https://mail.mozilla.org/__listinfo/rust-dev
    <https://mail.mozilla.org/listinfo/rust-dev>




--
Clark.

Key ID     : 0x78099922
Fingerprint: B292 493C 51AE F3AB D016  DD04 E5E3 C36F 5534 F907
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to