Remix.run Logo
MiroslavPokorny a day ago

How much is SIMD actually useful in general computing ? I can see it being useful for stuff like graphics, video, audio and maybe AI. For other general purpose computing like browser rendering or word processing or spreadsheets the impact will be much lower.

dsign 21 hours ago | parent | next [-]

Roughly, there are two types of code in a user application: logic and media related. There are many exceptions, but logic code generally doesn’t need a lot of CPU. Media algorithms on the other hand are all CPU hogs, and SIMD helps there quite a bit.

Now, I also happen to think that modern desktops run a lot of background survtech…some from the operating system itself, but most from third-party software and web pages. So, in addition to more CPU performance, I would also like more system utilities that spy on the spies and automatically puts them in some public score of shame.

kristianp a day ago | parent | prev | next [-]

The simdutf Library has shown that SIMD can be useful for text processing too. Some aspects of browser rendering have been accelerated such as pathfinder_simd in servo.

MiroslavPokorny 20 hours ago | parent [-]

Exactly SOME, most of the other stuff where the CPU spends a lot of time is not. Most code is boring if do this else do that, its quite rare to actually process a lot of parallel data.

OrangeDelonge a day ago | parent | prev [-]

Parsing large JSON can supposedly be much accelerated by SIMD

MiroslavPokorny 18 hours ago | parent [-]

Well theres not much point in just parsing a large json file, there will always be more work which cant be done using SIMD and that work time will be significantly larger than the portion spent parsing.