> Hence, when the compiler is run in production mode, we disable the lie that allows the implicit Debug effect. As a result, using dprintln in production mode causes a compilation error. The team can’t seem to make up its minds of the language is intended for high performance or not. They talk about the importance of purity for automatic optimizations but in the real world there’s all sorts of practical reasons for n…
This seems like an uncharitable reading of the post. > They talk about the importance of purity for automatic optimizations but in the real world there’s all sorts of practical reasons for needing to debug production compiled code I imagine they're talking about their defaults. One can commonly reconfigure how different build profiles work. > Also blaming the users of your language for your language not being able to…
Things like this - they're painting users of programming languages as the ones being unreasonable.
> I imagine they're talking about their defaults. One can commonly reconfigure how different build profiles work.
From the article:
> We don’t want published packages to (a) lie to the type and effect system, or (b) contain print debugging statements > As a result, using dprintln in production mode causes a compilation error.
There is no documentation about the existence of build profiles or how they might work. I think you're reading too charitably.