We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Mārtiņš Možeiko —
Ah, you're right. It has special behavior when it is reading from console. Just be aware that user…
»
longtran2904 —
ReadFile will not stop at \r\n. It will read up to N bytes you ask, or stop earlier if there is no…
»
Mārtiņš Možeiko —
ReadFile will not stop at \r\n. It will read up to N bytes you ask, or stop earlier if there is no…
»
ssoher —
🥳
»
Simon Anciaux —
Thanks.
»
longtran2904 —
The ReadFile function takes in a buffer, and usually, when I actually read a file I would know the…
»
x13pixels —
RemedyBG 0.4.0.3 is now available for download on itch.io and includes the following improvements …
»
x13pixels —
Evaluating an expression and returning the result is possible but is not something that is ready t…
»
x13pixels —
I'll make a note to take a look and see what this would entail.
»
Mārtiņš Možeiko —
I'm not sure if you can set codepage to utf-16. I think it is only relevant for 8-bit code pages a…
»
longtran2904 —
For ascii only it will work fine, no problems there. What if the terminal expected UTF-16? Isn't U…
»
Mārtiņš Možeiko —
If you output wrong encoding than user expects, they will see garbage (or you'll receive garbage i…
»
longtran2904 —
If you output utf8 bytes, then the output will receive utf8 bytes. If you output utf16 bytes, then…
»
Mārtiņš Možeiko —
ReadFile/WriteFile is fine if you want to output raw bytes - so whatever you'll write, it will be …
»
longtran2904 —
What is the proper way to handle input/output from/to the console in Win32? There are a lot of fun…
»
longtran2904 —
Yes, that is how I normally implement my page allocator before I know about ASAN. Does ASAN also i…
»
ratchetfreak —
every allocation gets put in its own page with surrounding guard pages to catch buffer overflows A…
»
longtran2904 —
I'm unsure how ASAN costs more memory than a page allocator. Because a shadow byte accounts for 8 …
»
Mārtiņš Možeiko —
Yes, enabling ASAN makes your code slower. And requires a lot more memory.See
»
longtran2904 —
Before using ASAN, what I usually do to "poison" a region of memory is to have an end-of-page allo…
»
Leo —
I see. That sounds like a robust approach. In the case of a path tracer in fragment/compute shader…
»
ratchetfreak —
The only way I can see that working is by doing double buffering on the slow thing. That way you c…
»
Mārtiņš Možeiko —
Minidump debugging. Symbol server support. Custom pdb locations (I think remedy added this only ve…
»
Leo —
Let's say I'm path tracing a fairly complex scene, which results in a low framerate, but I would a…
»
longtran2904 —
I pretty much use only VS debugger because other debuggers are lacking too many features I use. Ca…
»
Mārtiņš Možeiko —
I pretty much use only VS debugger because other debuggers are lacking too many features I use. If…
»
longtran2904 —
F11 will step into ASAN internals, but you can disable that with /JMC compiler argument. It's beco…
»
Oliver Marsh —
This is an additional idea that could be added to the new site. Instead of having specific educat…
»
Oliver Marsh —
Just wanted to support mrmixer in what they were saying, I'm not a big fan of discord (mainly it j…
»
Mārtiņš Možeiko —
When you run in VS, you get this: image.png Source code stops on line that triggers asan, but you …
»