Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-27 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 28 October 2016 at 06:10:52 UTC, Sebastien Alaiwan wrote: Having a the fastest compiler on earth still doesn't provide scalability ; interestingly, when I build a full LLVM+LDC toolchain, the longest step is the compilation of the dmd frontend. It's the only part that is: 1) not ca

Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-27 Thread Sebastien Alaiwan via Digitalmars-d-announce
On Thursday, 27 October 2016 at 12:11:09 UTC, Johan Engelen wrote: On Thursday, 27 October 2016 at 06:43:15 UTC, Sebastien Alaiwan If code generation/optimization is the bottleneck, a "ccache-for-D" ("dcache"?) tool might be very beneficial. See https://johanengelen.github.io/ldc/2016/09/17/L

Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-27 Thread Nick Sabalausky via Digitalmars-d-announce
On 10/27/2016 02:43 AM, Sebastien Alaiwan wrote: From the article: Surprise: C++ without optimizations is the fastest! A few other surprises: Rust also seems quite competitive here. D starts out comparatively slow." These benchmarks seem to support the idea that it's not the parsing which is

Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-27 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 27 October 2016 at 06:43:15 UTC, Sebastien Alaiwan wrote: From the article: Surprise: C++ without optimizations is the fastest! A few other surprises: Rust also seems quite competitive here. D starts out comparatively slow." These benchmarks seem to support the idea that it's no

Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-26 Thread Sebastien Alaiwan via Digitalmars-d-announce
On Wednesday, 19 October 2016 at 17:05:18 UTC, Gary Willoughby wrote: This was posted on twitter a while ago: Comparing compilation time of random code in C++, D, Go, Pascal and Rust http://imgur.com/a/jQUav Very interesting, thanks for sharing! From the article: Surprise: C++ without

Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-20 Thread Walter Bright via Digitalmars-d-announce
On 10/20/2016 9:20 AM, eugene wrote: could you give facts that on linux it is ok? You can find out by writing a program to generate 100,000 functions and compile the result on linux.

Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-20 Thread eugene via Digitalmars-d-announce
On Thursday, 20 October 2016 at 08:19:21 UTC, Walter Bright wrote: could you give facts that on linux it is ok?

Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-20 Thread Walter Bright via Digitalmars-d-announce
On 10/19/2016 10:05 AM, Gary Willoughby wrote: D was doing well but in the larger examples the D compiler crashed: "Error: more than 32767 symbols in object file". The article didn't say it crashed. That message only occurs for Win32 object files - it's a limitation of the OMF file format. We

Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-19 Thread Dennis Ritchie via Digitalmars-d-announce
On Wednesday, 19 October 2016 at 17:05:18 UTC, Gary Willoughby wrote: D was doing well but in the larger examples the D compiler crashed: "Error: more than 32767 symbols in object file". A bug of this series: https://issues.dlang.org/show_bug.cgi?id=14315

Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-19 Thread Nordlöw via Digitalmars-d-announce
On Wednesday, 19 October 2016 at 17:05:18 UTC, Gary Willoughby wrote: crashed: "Error: more than 32767 symbols in object file". Will that many symbols ever happen in real applications? Anyway, nice!

Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-19 Thread Gary Willoughby via Digitalmars-d-announce
This was posted on twitter a while ago: Comparing compilation time of random code in C++, D, Go, Pascal and Rust http://imgur.com/a/jQUav D was doing well but in the larger examples the D compiler crashed: "Error: more than 32767 symbols in object file".