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

Walter Bright via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Oct 20 01:19:21 PDT 2016


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 could change the object file format, but:

1. that means changing optlink, too, which is a more formidable task

2. the source file was a machine generated contrived one with 100,000 functions 
it in - not terribly likely to happen in a real case

3. I don't think Win32 has much of a future and is unlikely to be worth the 
investment


More information about the Digitalmars-d-announce mailing list