> On Feb 7, 2020, at 10:44 PM, Eric S. Raymond <e...@thyrsus.com> wrote: > > On the other hand, for me to have tried to port reposurgeon to Rust > would have been a mind-numbingly stupid idea. And that will be true of > any application above a certain complexity of internal data-structure > management, where having GC moves from bein convenient to an essential tool > for holding dowb your defect rate.
Did you consider using nim? It is much closer to python. You could've even selectively replaced python bits with nim bits based on profiling. https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programmers In the past I have "rewritten" programs by simply observing their behavior and modeling in a toy program, taking care to keep the code as simple as possible. This allows quick evolution and pretty soon the toy can do most everything the original program does. Not really surprising since the new program didn't have to make the mistakes the old program made and has the old program as a reference. I found literal translation to be much more painful. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/4EB79AC2-D0D1-4A18-9B31-2438149462A7%40bitblocks.com.