3 ms·
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
by MiroslavPokorny 13d 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.
- kristianp 13d agoThe 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 13d agoExactly 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 13d agoParsing large JSON can supposedly be much accelerated by SIMD
- MiroslavPokorny 13d agoWell 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.
- dsign 13d agoRoughly, 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.