Source
- URL: https://x.com/sasuke___420/status/1944916085217878130
- Author: sasuke⚡420 (@sasuke___420)
- Posted: 2025-07-15 00:25:04
Branch
1/ @sasuke___420
@nicbarkeragain
have you spent time writing SIMD algorithms for general-purpose tasks? it does not seem possible to make this stuff accessible, because the set of available doodads and their costs influences your algorithm design
2/ @nicbarkeragain
@sasuke___420
Yeah I have and I agree, it’s clear that the way I’ve learned programming hasn’t given me the correct “mental tools” to think about solving problems with a SIMD mindset. Maybe it’s possible or maybe it isn’t, but it feels like we don’t have quite the right framing at the moment.
3/ @kellabyte
@nicbarkeragain @sasuke___420
Data flow oriented programming instead of “OOP” where objects play roles and interact. Think like data and memory and layer your business rules on top of data structures that are sympathetic to the hardware.
4/ @sasuke___420
@kellabyte @nicbarkeragain
yeah, a big thing in the proposed “do something like APL” solution is that they can have pretty complicated verbs that end up being implemented with operations that are normally exposed in libraries in normal languages
5/ @pelavarre
@sasuke___420 @kellabyte @nicbarkeragain
I think
a ) SIMD Lexxing & Reg Ex Grep & so on runs lots faster than recursive-descent
b ) Practically nobody codes it that way
I wonder why not
6/ @sasuke___420
@pelavarre @kellabyte @nicbarkeragain
it’s an esoteric hobby. and solving general-ish problems like for regex engines instead of hand-coding specific parsers is like a lifetime of work. the guy whose lifetime of work it is, geoff langdale, is on here if you want to ask him