Remix.run Logo
TinkersW 2 months ago

[flagged]

khuey 2 months ago | parent | next [-]

The "comparing a pair of i16s" thing is clearly not just a Rust issue since the C version had the same hack.

adgjlsfhk1 2 months ago | parent | prev [-]

transpiled code is rarely good. Rust is often better than C for SIMD code (it actually has useful SIMD instructions exposed, and aliasing guarantees make it a lot easier for the compiler to figure out obvious optimization. By transpiling, however you loose most of the structure of an idiomatic project and generally make a bit of a mess of things.