3 ms·
I've often read stories about fast refactors from Python or PHP to Go. I wonder if that would translate to a reasonably fast refactor to Rust later on, if that
by Zikes 11y ago
I've often read stories about fast refactors from Python or PHP to Go. I wonder if that would translate to a reasonably fast refactor to Rust later on, if that should become necessary or desirable.
- aidenn0 11y agoMy experience is that refactoring from a garbage-collected language to a non-garbage-collected language are slow.
- jerf 11y agoRust is different enough as non-GC'ed languages go that I'd be interested in someone's experience, whenever they have it. I could easily see it being easier or harder than trying to convert to a "conventional" language. Heck, I could even see it sort of being both, where the conversion takes longer because the compiler keeps complaining but the final outcome is solid almost instantly.
- aidenn0 11y agoI've done a port of a small amount of code (not a full project) from lisp to Rust; it really doesn't work, as Rust's ownership semantics and circular references are somewhat orthogonal. Also lisp is in an odd position where it has influence from functional style, but at the same time expects to have mutability always available, while Rust wants mutability to be constrained to known dynamic extents.