News for hackers. Stuff that matters.
Re:DeepSeek: X2 Speed for WASM with SIMD by thrance on Tuesday January 28, 2025 @12:03PM (#42854740)
Did you even look at the generated code? DeepSeek simply rewrote part of the inference code making use of SIMD instructions on wasm. It literally boils to inserting `if defined __wasm_simd128__` at some places then rewritting the loops to do floating point operations two by two instead of one after the other (which is where the 2X claim comes from). This is very standard and mostly boilerplate.

Useful, sure, in that it saved some time in this particular case. But most of the AI-generated code I interact with is a hot unmaintainable mess of very verbose code, which I'd argue actually hurts the project in the long term.

Re:DeepSeek: X2 Speed for WASM with SIMD by simonw on Tuesday January 28, 2025 @12:08PM (#42854822)
"But most of the AI-generated code I interact with is a hot unmaintainable mess of very verbose code"

That sounds like you're working with unskilled developers who are landing bad code.