Julian
banner
schneckerstein.bsky.social
Julian
@schneckerstein.bsky.social
-10x Code-Person @symmetrybreak.bsky.social

Working on Misgiven and Tasty Grass Shader
But... I'm 30 and I love C?
April 5, 2025 at 12:54 PM
And on top:

Just because you got Volumetric Light, it doesn't mean that everything is shrouded by fog.
March 19, 2025 at 10:30 AM
endlich wieder twitter vibes hier
January 7, 2025 at 5:40 PM
This concept is of course possible with Vector2/3/x as well. Take this example, where I calculate the magnitude/length of four 2D points at once.

Keep in mind: I barely scratched the surface here of what's possible, not to mention that SEE1 came out in 1999.

Happy Coding!

(5/5)
January 3, 2025 at 2:31 PM
Now for thinking as SIMD as "multiple things at once" the code would look like this.

The key is here that we batched multiple calculation together, processing 4 circles at once.

(4/5)
January 3, 2025 at 2:31 PM
Instead, you have to think about SIMD as processing multiple items at a once. For example: you have a list of circles and want to calculate their area. The basic version would process one circle at the time.

With thinking of SIMD as "fast Vector4" there would be no room for improvement. (3/5)
January 3, 2025 at 2:31 PM
The key point is that many people get the *impression* that these wide SIMD vectors, like __m128 in SSE, are a direct replacement for a Vector4. When they then try to "SIMDfy" their Vector3/2 math, their code gets ugly and inefficient.

This is not how to SIMD.☝️ (2/5)
January 3, 2025 at 2:31 PM
Doc, I am so sorry.
December 19, 2024 at 9:12 PM
🙌
December 3, 2024 at 12:50 PM
🙌
November 29, 2024 at 11:56 AM