Re-implementing the hot path (which is likely to be a small piece of code) in a non-garbage collected language (C or ideally Rust) is a much more sane approach than the big bang rewrite:
I would have advocated to move to pony instead, since it is a much cleaner and much faster language than Go, and has guaranteed deadlock and race safety, unlike Go or rust. It also needs much less memory.
Compare that to manual locking required for rust concurrency or c++ concurrency. Or the copying overhead you get with Go, which can still deadlock.
pony does not need any locks, just proper types.
And it can copy or share state in threads.
And it has nominal or structural types.
Old-style inherited or new mixin OO.
It is far advanced over rust.
Just distributed actors as in Erlang are not there yet.
https://docs.google.com/presentation/d/1LO_WI3N-3p2Wp9PDWyv5...
Re-implementing the hot path (which is likely to be a small piece of code) in a non-garbage collected language (C or ideally Rust) is a much more sane approach than the big bang rewrite:
https://blog.sentry.io/2016/10/19/fixing-python-performance-...