digitalmars.D - why Rust when there is D?
- Gour (8/8) Nov 30 2010 I'm just curious why Rust when there is D?
- sclytrack (5/5) Nov 30 2010 It has immutability. No shared mutables data structure.
- bearophile (4/5) Nov 30 2010 Because Rust has typestates :-) It's an interesting language feature.
- sybrandy (8/13) Nov 30 2010 Another feature that may be important to them is the ability to manually...
- bearophile (4/6) Nov 30 2010 I have read about not-C languages designed for embedded CPUs that have s...
- Walter Bright (3/9) Nov 30 2010 You can control the layout of your program in D on Windows with Optlink....
- Andrej Mitrovic (6/16) Nov 30 2010 Hey that's good to know. Can you give us some tips or a pointer on
- Walter Bright (3/9) Nov 30 2010 http://www.digitalmars.com/ctg/trace.html
- so (10/14) Nov 30 2010 ---
- Nick Sabalausky (2/2) Nov 30 2010 My lack of interest in Rust is because I can't imagine Mozilla actually
- Johann MacDonagh (2/20) Nov 30 2010 Can't this be done with GDC using linker scripts?
I'm just curious why Rust when there is D? http://www.readwriteweb.com/hack/2010/11/mozilla-designing-programming-lang= uage-rust.php Sincerely, Gour --=20 Gour | Hlapicina, Croatia | GPG key: CDBF17CA ----------------------------------------------------------------
Nov 30 2010
It has immutability. No shared mutables data structure. (stricter than D.) They are currently duplicating the immutables. I haven't finished reading. http://lambda-the-ultimate.org/node/4009 Yeah, why not D?
Nov 30 2010
sclytrack:Yeah, why not D?Because Rust has typestates :-) It's an interesting language feature. Bye, bearophile
Nov 30 2010
On 11/30/2010 07:18 AM, bearophile wrote:sclytrack:Another feature that may be important to them is the ability to manually arrange the data/program (don't recall which exactly) in memory. I know one of the things they were experimenting with to speed up the browser was changing how the loader loaded the various libraries. Perhaps this is taking it a step further to ensure their products load as fast as possible. CaseyYeah, why not D?Because Rust has typestates :-) It's an interesting language feature. Bye, bearophile
Nov 30 2010
sybrandy:Another feature that may be important to them is the ability to manually arrange the data/program (don't recall which exactly) in memory.I have read about not-C languages designed for embedded CPUs that have syntax&semantic to do this accurately. When your ROM/EEPROM/flash/etc is quite limited, you want to use all its bytes accurately. Bye, bearophile
Nov 30 2010
sybrandy wrote:Another feature that may be important to them is the ability to manually arrange the data/program (don't recall which exactly) in memory. I know one of the things they were experimenting with to speed up the browser was changing how the loader loaded the various libraries. Perhaps this is taking it a step further to ensure their products load as fast as possible.You can control the layout of your program in D on Windows with Optlink. It can make a big difference in load speed.
Nov 30 2010
On 11/30/10, Walter Bright <newshound2 digitalmars.com> wrote:sybrandy wrote:Hey that's good to know. Can you give us some tips or a pointer on optimizing the app layout, or maybe some optlink tricks? Perhaps I should read a book on that. :p I do think D is still pretty damn fast in loading already. At least from my limited experience with writing a basic GUI app using DFL..Another feature that may be important to them is the ability to manually arrange the data/program (don't recall which exactly) in memory. I know one of the things they were experimenting with to speed up the browser was changing how the loader loaded the various libraries. Perhaps this is taking it a step further to ensure their products load as fast as possible.You can control the layout of your program in D on Windows with Optlink. It can make a big difference in load speed.
Nov 30 2010
Andrej Mitrovic wrote:Hey that's good to know. Can you give us some tips or a pointer on optimizing the app layout, or maybe some optlink tricks? Perhaps I should read a book on that. :p I do think D is still pretty damn fast in loading already. At least from my limited experience with writing a basic GUI app using DFL..http://www.digitalmars.com/ctg/trace.html Use the -profile switch to dmd.
Nov 30 2010
On Tue, 30 Nov 2010 12:36:18 +0200, Gour <gour atmarama.net> wrote:I'm just curious why Rust when there is D? http://www.readwriteweb.com/hack/2010/11/mozilla-designing-programming-language-rust.php Sincerely, Gour--- Ed Borasky recently commented here at ReadWriteHack: "We flat out don't need any more programming languages! What we need is *efficient* implementations of the ones we have now and IDEs / version control systems that enforce software engineering discipline." --- Now that is funny and most people seem to agree with him. -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Nov 30 2010
My lack of interest in Rust is because I can't imagine Mozilla actually getting something right.
Nov 30 2010
sybrandy Wrote:On 11/30/2010 07:18 AM, bearophile wrote:Can't this be done with GDC using linker scripts?sclytrack:Another feature that may be important to them is the ability to manually arrange the data/program (don't recall which exactly) in memory. I know one of the things they were experimenting with to speed up the browser was changing how the loader loaded the various libraries. Perhaps this is taking it a step further to ensure their products load as fast as possible. CaseyYeah, why not D?Because Rust has typestates :-) It's an interesting language feature. Bye, bearophile
Nov 30 2010