If I'm using oracle, I don't need mysql. If I'm using git, I don't need
svn. If I'm using rust, I don't need go. But I don't known what others
think about this.
2014年3月5日 下午7:21于 "John Mija" <jon...@proinbox.com>写道:

> I was not saying to you what you need, where did you read about that?
>
> I'm explaining about the extended usage of two languages, one like main
> language and the other one like scripting.
>
> El 05/03/14 11:17, Liigo Zhuang escribió:
>
>> I do known what I need. You are not me, please not tell me what need to
>> do.
>>
>> 2014年3月5日 下午4:59于 "John Mija" <jon...@proinbox.com
>> <mailto:jon...@proinbox.com>>写道:
>>
>>     Although you use Rust as main language, there are reasons to use a
>>     second language i.e. for scripting; the AAA games usually are built
>>     in C++ but it's very common the usage of Lua for scripting
>>
>>     El 05/03/14 04:40, Liigo Zhuang escribió:
>>
>>         If I select Rust as my main language, I don't think I have any
>>         reason to
>>         write new code in Go. Go away!
>>
>>         2014年3月5日 上午3:44于 "John Mija" <jon...@proinbox.com
>>         <mailto:jon...@proinbox.com>
>>         <mailto:jon...@proinbox.com <mailto:jon...@proinbox.com>>>__写道:
>>
>>              Every time there is a new language, developers have to start
>> to
>>              developing from scratch the same algorithms.
>>              The alternative has been to use C libraries already built
>>         since is
>>              much easier to interface with other languages and a lot of
>>         languages
>>              will let you call C functions directly.
>>
>>              But C language is unsafe and there is a penalty performance
>>         at binding.
>>              Besides, it is harder to debug incorrect C code.
>>
>>              So, why don't use a simple language but safe like Go?
>>              The Go compilers create a single intermediate file
>>         representing the
>>              "binary assembly" of the compiled package, ready as input
>>         for the
>>              linker: http://golang.org/cmd/gc/
>>
>>              I'm supposed that a linker could be built to link that
>>         intermediate
>>              file together to a Rust program.
>>
>>              The main advantage is that you would use a simpler language
>>         to build
>>              algorithms and code of lower level (asm), wich could be
>>         linked from
>>              other languages.
>>              Rust is a language more complex to replace to C like
>> "universal
>>              language".
>>
>>              Note: I love both languages; Go for web apps and Rust for
>>         everything
>>              else (mobile and desktop apps, and servers).
>>              ___________________________________________________
>>              Rust-dev mailing list
>>         Rust-dev@mozilla.org <mailto:Rust-dev@mozilla.org>
>>         <mailto:Rust-dev@mozilla.org <mailto:Rust-dev@mozilla.org>>
>>         https://mail.mozilla.org/____listinfo/rust-dev
>>         <https://mail.mozilla.org/__listinfo/rust-dev>
>>              <https://mail.mozilla.org/__listinfo/rust-dev
>>         <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