Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-18 Thread Russel Winder
On Sun, 2013-03-17 at 22:13 +0100, Paulo Pinto wrote: Am 17.03.2013 20:28, schrieb 1100110: […] The day I can compile pypy without needing 8Gb of memory is the day I'll consider it. Uau, that much?! I tend to use Python only for shell scripting type of tasks, so I wasn't aware that

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-18 Thread Russel Winder
On Sun, 2013-03-17 at 13:56 -0700, Walter Bright wrote: On 3/17/2013 3:01 AM, Russel Winder wrote: I guess this is because of the segmented stacks architecture behind the realization of Go. Segmented stacks have a significant performance cost to them, as well as making it hard to

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-18 Thread Walter Bright
On 3/18/2013 2:22 AM, Russel Winder wrote: On Sun, 2013-03-17 at 13:56 -0700, Walter Bright wrote: On 3/17/2013 3:01 AM, Russel Winder wrote: I guess this is because of the segmented stacks architecture behind the realization of Go. Segmented stacks have a significant performance cost to

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-18 Thread Paulo Pinto
On Monday, 18 March 2013 at 09:18:38 UTC, Russel Winder wrote: On Sun, 2013-03-17 at 22:13 +0100, Paulo Pinto wrote: Am 17.03.2013 20:28, schrieb 1100110: […] The day I can compile pypy without needing 8Gb of memory is the day I'll consider it. Uau, that much?! I tend to use Python only

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-18 Thread bearophile
Walter Bright: That's just not an issue when you have 64 bits of address space. You can still have 4 billion stacks of 4 billion bytes each. At this point I suggest you to study exactly why Rust developers have decided to use a segmented stack. It seems to work well for them. Bye,

Re: DUB 0.9.11 released

2013-03-18 Thread Jordi Sayol
Al 17/03/13 23:29, En/na 1100110 ha escrit: On 03/17/2013 04:05 PM, Jordi Sayol wrote: Al 17/03/13 21:41, En/na Russel Winder ha escrit: On Sun, 2013-03-17 at 20:00 +0100, Jordi Sayol wrote: Al 17/03/13 19:22, En/na Russel Winder ha escrit: […] I am guessing that the number of the package is

Re: DUB 0.9.11 released

2013-03-18 Thread Russel Winder
Is anyone doing MacPorts ports for this, and indeed all the D stuff? Or perhaps there are HomeBrew packages? Thanks. -- Russel. = Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41

Re: DUB 0.9.11 released

2013-03-18 Thread Russel Winder
On Mon, 2013-03-18 at 11:51 +0100, Jordi Sayol wrote: […] Anyway, I've built and uploaded new dub Debian packages. New packages have refreshed and are now installed on my Debian Unstable machines. Thanks. -- Russel. =

Re: Rust vs Dlang

2013-03-18 Thread Don
On Saturday, 16 March 2013 at 14:42:58 UTC, Suliman wrote: Hi folks! I had wrote small article about Rust vs D. I hope that you will like it! http://versusit.org/rust-vs-d Your first Rust example has 100.times instead of 10.times. Is factorial really a built-in Rust function?? If so, the

Re: llvm-d

2013-03-18 Thread Moritz Maxeiner
On Sunday, 17 March 2013 at 20:05:09 UTC, Jens Mueller wrote: Deimos just provides a plain D interface for C libraries. What do you mean? You can do static or dynamic linking. With dynamic linking it will be loaded at startup time by the loader. But you can also load it at runtime using some

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-18 Thread Andrei Alexandrescu
On 3/18/13 1:46 AM, Rory McGuire wrote: The reason I use golang and not dlang for development at work is because debugging is straightforward no weird segfaults after you program has been running for a couple of days. Their debugging and benchmark tools are really good and the documentation is

Re: llvm-d

2013-03-18 Thread Jens Mueller
Moritz Maxeiner wrote: On Sunday, 17 March 2013 at 20:05:09 UTC, Jens Mueller wrote: Deimos just provides a plain D interface for C libraries. What do you mean? You can do static or dynamic linking. With dynamic linking it will be loaded at startup time by the loader. But you can also load

Re: llvm-d

2013-03-18 Thread Moritz Maxeiner
On Monday, 18 March 2013 at 13:50:29 UTC, Jens Mueller wrote: I assumed OS X is Posix compliant. I never checked that though. Thanks for the pointer. No problem, OSX seems mostly Posix compliant. The shared libraries are suffixed with .dylib, though, instead of .so. There may be other

Re: llvm-d

2013-03-18 Thread Jens Mueller
Moritz Maxeiner wrote: On Monday, 18 March 2013 at 13:50:29 UTC, Jens Mueller wrote: I don't know how this is done on Windows. On Linux you just set the LD_LIBRARY_PATH. My problem with that is that it's a) not encapsulated inside the program and b) OS dependent. Very true. Do you have a

Re: llvm-d

2013-03-18 Thread Moritz Maxeiner
On Monday, 18 March 2013 at 14:51:00 UTC, Jens Mueller wrote: Moritz Maxeiner wrote: On Monday, 18 March 2013 at 13:50:29 UTC, Jens Mueller wrote: I don't know how this is done on Windows. On Linux you just set the LD_LIBRARY_PATH. My problem with that is that it's a) not encapsulated inside

Re: Rust vs Dlang

2013-03-18 Thread Tommy McGuire
On Saturday, 16 March 2013 at 14:42:58 UTC, Suliman wrote: http://versusit.org/rust-vs-d I just saw this post on the Rust subreddit: http://www.reddit.com/r/rust/comments/1agj5i/rust_vs_dlang_d_programming_language_discussion/ (that is, oddly, linking to this discussion and not the original

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-18 Thread Walter Bright
On 3/18/2013 3:25 AM, bearophile wrote: Walter Bright: That's just not an issue when you have 64 bits of address space. You can still have 4 billion stacks of 4 billion bytes each. At this point I suggest you to study exactly why Rust developers have decided to use a segmented stack. It

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-18 Thread Paulo Pinto
Am 18.03.2013 13:21, schrieb Andrei Alexandrescu: On 3/18/13 1:46 AM, Rory McGuire wrote: The reason I use golang and not dlang for development at work is because debugging is straightforward no weird segfaults after you program has been running for a couple of days. Their debugging and

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-18 Thread Dmitry Olshansky
18-Mar-2013 14:25, bearophile пишет: Walter Bright: That's just not an issue when you have 64 bits of address space. You can still have 4 billion stacks of 4 billion bytes each. At this point I suggest you to study exactly why Rust developers have decided to use a segmented stack. It seems