nyeecola What do you mean by name collisions?
This:1
2
3
4
5union U
{
struct { float x, y, z; }…
There is a difference. OpenGL exposes a bit more graphics related functionality which OpenCL does…
Shazan —
I was thinking is it better to use opengl or opencl. Is there a difference. Or should i use SIMD …
D3zmodos I've used libsoundio. It was really easy to use, had decent examples/documentation. I di…
I've used libsoundio. It was really easy to use, had decent examples/documentation. I did experie…
timothy.wright I am currently processing research data with the GPU. The original algorithm took…
I am currently processing research data with the GPU. The original algorithm took about 45 minut…
GPGPU is literally using the GPU for General Programming (i.e. non graphics work) :)
In terms of…
Shazan —
Is using GPU for non graphics intense apps worth like database related apps for use in integrated…
Right now the code is only for Mac/Windows/Linux, so I'm not worried about other devices. I have…
Italo —
One more thing, I tried using anonymous structs inside anonymous unions and got an error that "it…
nyeecola Ok, thanks for the help, you guys are awesome. Can I ask one more question?
I have 3 st…
Italo —
What do you mean by name collisions?
Be careful using anonymous structs in the union, however; this can lead to name collisions.
Parker —
Yes, you can access the members inside the unnamed structs by name, which is why I find this meth…
Italo —
That seems to be a nice way to handle something like this.
Let me just see if I understood what …
Caius —
For this specific case you could do:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
…
Parker —
Here's one possible way of doing it:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
…
Hey Handmade community,
Feverishly working on my Kiss engine project, I have everything for a 2D…
Italo —
Ok, thanks for the help, you guys are awesome. Can I ask one more question?
I have 3 structures …
Effectively, yeah; it is, however, still a method of organizing data in a non-OOP way. It differs…
Not a huge amount has changed since the last update, the main thing is probably that insobot now …
@Delix: Your method is more a way to achieve polymorphism without virtual functions.
I think wha…
The Win32MainWindowCallback function is, as its name imply, a callback function, meaning that it'…
A union says the following: "This block of memory can be interpreted to mean one of the following…
Italo —
I think I get what you're suggesting, but I have a technical question about your structure.
Woul…
Following up on what mmozeiko said, I strongly recommend creating a single state struct and using…
You evil human being! You just pulled a 'to be continued...' on us and it killing me!
mrmixer Will there be a free version or will it be patreon only ?
I don't have a final answer fo…
Neo Ar —
For the month of April, we did the following:
Studied GPIO [RISCY 24]
Studied the OTP [RISCY 25…