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.
Handmade Network»Feed
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 …
»
longtran2904
So if you're using VS or Remedy, can you fix any of these things: When ASAN is triggered, does the…
»
Simon Anciaux
Glad you're back on BEdit. 10 seconds still seems like a long load time. Did you plan to have the …
»
Mārtiņš Možeiko
Oh, sorry I misread raddbg. In raddbg support for asan probably is in worse state. I think some th…
»
longtran2904
windows.h should not produce any warnings on /W4 and /analyze Yeah, it's not "Windows.h", it's win…
»
Jens
One of my wishlist-items for BEdit has been plotting, especially when dealing with wav-files. Is t…
»
Mārtiņš Možeiko
Yeah, it's pretty normal for it to take more time - as it is doing more things. Usually you don't …
»
Simon Anciaux
Nice to know I'm not alone.
»
Simon Anciaux
/analyse turns the static code analyzer On. The static code analyzer will check your code for erro…
»