El lun, 06-02-2023 a las 12:14 +0000, José Iván López González escribió: > [..] > > > Thanks for the summary! Very interesting, indeed. About deciding > whether > to continue with Rust or not, I would put several aspects on the > balance: >
You are welcome! > * Do we gain any use cases? Probably yes. For example, if the CLI is > able to run commands remotely, then we don't need ruby deps in the > system. +1 > * Is Rust a good option for other future migrations? Right now > D-Installer uses a lot YaST logic, but we could start implementing > new > features in a separate Rust based backend. Yes, that's true. Moving some services to Rust might help to reduce disk space and memory consumption. But although D-Installer uses a fraction of the available YaST code, it does not look realistic to me to replace our full Ruby-based codebase (think about storage-ng). Actually, I am talking only about the CLI for a reason: it is a part of D-Installer which offers some space for research. And, if we fail, we can go back to a Ruby-based solution without much hassle. But it is true that, in the future, we might reimplement some services. About your question, I think yes, it is a good option ;-) > * In case of continuing with the Rust based CLI, more people in the > team > should start learning Rust. I think this is a positive thing, just > commenting to make clear we don't want silos anymore. Yes, sure! > * Is there any other options to consider? Maybe we could do the > exercise > of implementing something similar with other modern language, for > example Go, just to compare. I have my personal opinion on the subject, but let's keep that for another discussion :-) For me it is fine, but we should stop at some point :-) > * Having a team that speaks Ruby, is Rust the best migration? If not, > are there good reasons to pay the effort? That's the main point IMHO. Does it bring any advantage? I think yes (memory consumption, no runtime dependencies, etc.). But if that's not clear, we should stay as we are right now. > And for sure there are more things to consider. BTW, I am all for > learning Rust. I am only expressing that officially migrating to > another > language is a difficult decision ;). Yes, I think it deserves a longer discussion. But it is good that you brought those points. > Thanks a lot Imo and Josef. Great work! Thanks! ;-) Regards, Imo -- Imobach González Sosa SUSE Linux LLC
signature.asc
Description: This is a digitally signed message part
