News for hackers. Stuff that matters.
Re:On-device browser translations with Firefox Translations by d2wa on Sunday July 10, 2022 @07:57PM (#32050566)
It requires x86/64 because it runs on WebAssembly.
Re:On-device browser translations with Firefox Translations by jml7c5 on Sunday July 10, 2022 @08:09PM (#32050651)
That seems wrong? As far as I am aware WebAssembly is completely architecture-agnostic, and Firefox has implemented wasm VMs for both x86-84 and ARM.
Re:On-device browser translations with Firefox Translations by Dylan16807 on Sunday July 10, 2022 @09:49PM (#32051292)
And even if it wasn't architecture-agnostic, it's pretty easy to translate restricted and well-behaved machine code between architectures. Much easier than dealing with javascript itself.
Re:On-device browser translations with Firefox Translations by sroussey on Sunday July 10, 2022 @10:40PM (#32051578)
This is a false statement
Re:On-device browser translations with Firefox Translations by chrisseaton on Sunday July 10, 2022 @08:39PM (#32050855)
> It requires x86/64 because it runs on WebAssembly.

What is the technical requirement behind this?

Re:On-device browser translations with Firefox Translations by fyrn- on Sunday July 10, 2022 @11:04PM (#32051726)
There is none, one of the main objectives of WASM was to be a machine agnostic bytecode, similar to JVM bytecode for example. People have even built wasm VMs on FPGAs