Thread overview
How to make a slow compile
12 hours ago
monkyyy
11 hours ago
Kapendev
11 hours ago
Brother Bill
11 hours ago
monkyyy
11 hours ago
Kapendev
12 hours ago

once again dconf contains people who talk about compile speed as if it can be slow

What are they doing? Even my worse compile time abstraction was O(n^2) or maybe some awful string concatenation of an entire file; still effectively instant

Wheres a 1000 line file that does something meta programmingly useful that takes 5 minutes?

Do they lose track of what the compiler is even doing? Do they turn off the template recursion depth limit?

11 hours ago

On Wednesday, 20 August 2025 at 15:33:45 UTC, monkyyy wrote:

>

once again dconf contains people who talk about compile speed as if it can be slow

What are they doing? Even my worse compile time abstraction was O(n^2) or maybe some awful string concatenation of an entire file; still effectively instant

Wheres a 1000 line file that does something meta programmingly useful that takes 5 minutes?

Do they lose track of what the compiler is even doing? Do they turn off the template recursion depth limit?

No idea. Maybe they should use shell + awk + sed more. This is how chads generate code blazingly fast.

11 hours ago

On Wednesday, 20 August 2025 at 15:33:45 UTC, monkyyy wrote:

>

once again dconf contains people who talk about compile speed as if it can be slow

Compiling Hello world in D is a little bit slower that Go language.

11 hours ago

On Wednesday, 20 August 2025 at 16:57:18 UTC, Brother Bill wrote:

>

On Wednesday, 20 August 2025 at 15:33:45 UTC, monkyyy wrote:

>

once again dconf contains people who talk about compile speed as if it can be slow

Compiling Hello world in D is a little bit slower that Go language.

Thats the runtime and std self importing everything and if your being wrong dub taking an entire 1/2 second to consider how to to call one of the easiest to work with compilers

Th dub thing is straight stupid, the std should have a dag of acceptable imports, and the runtime is unfortunate fixed cost. But even if dub is in play with its unacceptable half sec to read a 10 line json, it isnt the "90 minutes" weka compile they talk about.

11 hours ago

On Wednesday, 20 August 2025 at 16:57:18 UTC, Brother Bill wrote:

>

On Wednesday, 20 August 2025 at 15:33:45 UTC, monkyyy wrote:

>

once again dconf contains people who talk about compile speed as if it can be slow

Compiling Hello world in D is a little bit slower that Go language.

C with tcc is faster than D an GO.