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
And next step is to load 4 bytes with one uint32_t load (or 8 with uint64_t) and do only one compa…
»
NelsonMandella
Very interesting. Is there any reason to favor this approach versus setjmp/longjmp (which seems to…
»
ratchetfreak
The most basic example is something like for(int i = 0; i < count; i++){ A[i] += B[i]+constant; }…
»
graeme
C follows a syntax idea known as "declaration follows use". It's a neat idea--C is old, and they w…
»
bewwys
Thank you ratchetfreak, Where it can be the case ? Do you have an example ? How can I do that ? …
»
ratchetfreak
It's how some GUI libraries create "modal" dialogs, they enter a new loop and discard any user ev…
»
Mārtiņš Možeiko
Yes, exactly.
»
NelsonMandella
Do you mean without ever returning to the main loop? Like creating a mini main loop complete with …
»
ratchetfreak
whitespace doesn't matter, so both are valid as is
»
Theatrical
Thank you so much. One last thing, how come you have to specify that the arg inside the function i…
»
Alex Baines
You're correct that & gets the address of a variable. This is probably most useful when you want t…
»
Theatrical
I am not sure if this is the right place to post this. I thought I understood * but apparently som…
»
Allen Webster
Thanks for the report and extra info. I'm not sure what I can do about this yet, but I'll take a …
»
Allen Webster
I don't have anything like this yet, and I don't recall anyone else ever sharing one either. It s…
»
Mārtiņš Možeiko
You can do separate rendering loop in show-error-message function.
»
NelsonMandella
It's a game, so yeah it's performance critical but setjmp is only called once a frame. I assume yo…
»
Mārtiņš Možeiko
If it's performance sensitive code - don't use it. They are expensive operations. It it happens ra…
»
NelsonMandella
I'm looking for advice/opinions/wisdom on wether or not it makes sense to use the somewhat obscure…
»
Guntha
Hello, I presume you have one VS project for the platform-layer/executable and one project for the…
»
ratchetfreak
If you enable optimizations in your compiler it will used SIMD when it can find opportunities to d…
»
Theatrical
... This is awkward. Thank you, haha.
»
bitwitch
hey, im just now learning about 4coder and this was the first question I had as well. wondering if…
»
Mārtiņš Možeiko
Do you have these bmps downloaded? They are available in same sendowl account where you download s…
»
Theatrical
testfonts.hha test3.hha test2.hha test1.hha Those are the files generated when running the test as…
»
Mārtiņš Možeiko
Make sure assets are built correctly - check the output in data folder, it should contain bunch f …
»
Theatrical
I really hope that this is the right place to post whatever issues I'm having with the code. Every…
»
Mārtiņš Možeiko
I assume you mean glibc. And glibc has memchr. Here it is: SIMD can be used where you need to pr…
»
bewwys
Because because libgcc dosent have memchr here is my } [/code] As you can see I don't use anythi…
»
Mārtiņš Možeiko
Can you show your implementation source? glibc provides optimized string functions. That includes …
»
bewwys
Hi everyone, I'm coding a C standard library for school. When I use the bench toolkit to compare …
»