I firmly believe the principle of working with computers & code is that if one plugs away long enough and hard enough, one will eventually run out of bad luck and catastrophic blunders and strike a vein of good luck
@nerd i joined my current team because they maintained a ruby app that they were trying to convert, piece by piece, to rust. We're still doing that, but in the meantime we also have bugs and features in the ruby code to take care of, so while i love half my job, the other half is not so fun haha
@balrogboogie well at least the goal is to move from the bad part of it to the good part! So does a conversion mean a rewrite, basically, or can large sections of code actually be programmatically converted?
@nerd the ruby VM has a C api that allows people to write "native extensions" in C, that can be used like regular ruby modules. Rust is low-level enough that it can use this C extension mechanism to also write "native extensions" that can be used from ruby. so at some level, all our rust code is knitted together in ruby, but module by module we can replace the ruby code, ship-of-theseus style