←back to thread

305 points todsacerdoti | 1 comments | | HN request time: 0.217s | source
Show context
TinkersW[dead post] ◴[] No.44063631[source]
[flagged]
1. adgjlsfhk1 ◴[] No.44063759[source]
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.