News for hackers. Stuff that matters.
Re:Firefox Translations doesn't use the cloud by megablast on Wednesday November 30, 2022 @03:12AM (#33798220)
> A CPU that supports SSE4.1 extensions is required for this addon to function properly. If it doesn't, an error will be displayed when the translation is being started.

Obviously. Replacing text is a huge CPU intensive task.

Re:Firefox Translations doesn't use the cloud by m_eiman on Wednesday November 30, 2022 @03:25AM (#33798296)
FWIW it works on M1 Macs, I suppose they same something equivalent to SSE4.1.
Re:Firefox Translations doesn't use the cloud by jelmervdl on Wednesday November 30, 2022 @03:56AM (#33798431)
It is running a full transformer type neural network on your cpu, it needs all the speed it can get.

It’s because the translation engine requires at least SSSE3.1 instructions[1]. These are translated to wasm SIMD instructions[2] which are only enabled by browsers if the underlying hardware is there to execute these at least somewhat efficient.

[1] https://github.com/browsermt/bergamot-translator/issues/418

[2] https://emscripten.org/docs/porting/simd.html