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
longtran2904
Is there any way to declare that a thread-local variable is also exported/imported to/from another…
»
olegharput
In the official example: (raylib [textures] example - Sprite animation) the way it is choosen as f…
»
jorgemoag
Hi! RemedyBG crashes when it tries to open a (large) Unreal project. The progress stops when the U…
»
Christoffer Lernö
It's been three months and finally version 0.6.0 is here! C3 was on a monthly update cycle, so wha…
»
Jens
Yes - originally I was intending on only having it for the GUI but I felt having core features lik…
»
mrcorl
gotcha. if it makes it any easier, all I would really need is the evaluated result as an unformatt…
»
longtran2904
So I've been testing ReadFile's behavior with other input types like pipes and files and noticed a…
»
longtran2904
You can read how TLS works more in these series of articles (for Windows): So I finally finished …
»
Mārtiņš Možeiko
Then your ReadFile will read full buffer. And rest of the input you'll get on next call to ReadFil…
»
longtran2904
Before disabling line buffering, I want to know what happens if the user's input is bigger than my …
»
Mārtiņš Možeiko
Simply disable line buffering on input handle and do buffering yourself. Have whatever size buffer…
»
longtran2904
So let's say my internal buffer size was 4 bytes, and the user types something like 8 bytes and pr…
»
vegasword
🚀
»
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…
»