On Saturday, 23 March 2024 at 06:55:41 UTC, Jonathan M Davis
wrote:
If you want to do that conversion without a cast, then you can
just use std.string.representation (which will do the cast
internally).
I somehow missed this in Programming in D, and even here on the
forum. So just noting tha
On 5/23/25 6:10 AM, Dennis wrote:
> This results in a complex system that's more annoying to deal with than
> the original problem of just maintaining a .d file and shader file in
> parallel, which is what I'm doing now for the time being.
Approved! Sounds like engineering to me. :)
Ali
On Friday, 23 May 2025 at 12:06:00 UTC, realhet wrote:
- export: It was possible to export data (20MByte) from the
compiler in seconds, using pragma(msg, ...) Just don't touch
the large data with CTFE.
pragma(msg) is meant to print informative human-readable strings
for debugging purposes. I
On Wednesday, 21 May 2025 at 15:20:57 UTC, realhet wrote:
Why are these simple looking things are so slow in compile time?
Now I learned why: I had the misconception that CTFE is using the
compiler itself to generate code and then runs it with the CPU.
In reality I've found out it's an inter