|
|
|
|
|
by randrews
1450 days ago
|
|
My experience exactly. I wrote an emulator in Rust for a thing implemented on an FPGA that generates a video signal. For the first pass, I just ported the Verilog code to Rust, essentially: big loop over all the pixels every frame, figure out which color it should be, return that. There are a ton of ways to factor things out of that so you're not doing repeated reads of stuff, and I was going to gradually put them in until it was fast enough... And then the naive solution ran at 100 fps. So uh. Okay then. I see the value in Rust now. |
|