3 ms·
"I’m convinced that rustc should never have the capability to make network connections." [..] "[..]user information should never leave their machine in an aut
by weinzierl 3y ago
"I’m convinced that rustc should never have the capability to make network connections."
[..]
"[..]user information should never leave their machine in an automated manner"
Sounds reasonable. The only wish I have is that we should always have the option to download a version without the metrics part as well.
So tele never and metry with an easy, clear, reliable and sustainable opt-out.
- richardwhiuk 3y agoOut of curiosity, what's your justification for wanting opt out for local logging/metrics, to the extent you need a separate build?
- weinzierl 3y agoPrimarily because I don't want this to be a slippery slope where the metry of today becomes the telemetry of tomorrow. As long as these features are easy to rip out and not deeply intermingled with the rest I'm good and willing to contribute metrics even. Also, no code is free, it needs to be written and maintained and the end-user needs to download, store and run it and it brings an additional risk to break things. I just wish there was to possibility to opt out of that, even if I probably wouldn't. Finally, if this metrics code is intermingled with the rest, I can see this as an additional burden for a potential certification of the compiler.
- richardwhiuk 3y agoLogs and metrics have a horrible tendency to be a cross cutting concern, sadly - you normally need to add instrumentation throughout the codebase to get good metrics.
- tareqak 3y agoI am thinking out loud here: what would be the comparable word here? topometry? https://en.m.wiktionary.org/wiki/topo- https://en.m.wiktionary.org/wiki/topo-
- jjav 3y agoHaving a command line option to enable metrics for that run (with the default being off, of course) is a good solution.
- weinzierl 3y agoI'd prefer a version where all the non-essentials are missing over a switch.