It really depends on _what_ you want to replace, as in the application you have. Nim is great for micro-controller programming typically done in C for example. Since it has painless interop with C it also comfortably uses C libraries, so you don't have to rewrite all your C code.