2 ms·
Oh, I'm not suggesting that they will use Go–they will use C and I'm just responding to you saying that it is difficult to find situations where Rust is unworka
by saagarjha 6y ago
Oh, I'm not suggesting that they will use Go–they will use C and I'm just responding to you saying that it is difficult to find situations where Rust is unworkable.
- tptacek 6y agoThe premise of this story is that ISRG is going to secure funding to essentially bribe people (my words, and I think it's a very good project) to not keep critical software in C anymore. My guess is what will happen in the cases where Rust is unworkable is that there will be less-secure forks for the obscure platforms.
- pjmlp 6y agoRust is not the only option. F-Secure has been using TamaGo for bare metal on their secure USB keys. MeadowLabs is using .NET with a tiny C++ hardware glue for IoT. Aicas and PTC are still in business delivering real time bare metal Java stacks. Astrobe is still in business selling Oberon compilers for embedded development. MikroElektronika is still in business selling Pascal and Basic compilers for embedded development. And then there are those 5 surviving Ada compiler vendors, one of them open source. Finally, if there is no way around having to use C, there is no reason not to use C++ instead other that anti-C++ hater religion. Unless we are talking about UNIX clones, thanks to them C will still be around for several decades to come anyway.
- tptacek 6y agoYeah none of that is going to happen. People aren't going to rewrite major open source projects in Oberon, or specially hosted .NET, or custom JVMs, or Ada. ISRG isn't going to arrange funding for things to be rewritten in another memory-unsafe language, so C++ is right out. Stuff is going to get rewritten in Rust. Sorry! That sounds snarky, I know. I promise, I'm not being snarky, and, again: it ain't my first choice (it'll be fine though).
- pjmlp 6y agoIn what concerns Microsoft, the official security guidelines are .NET, Rust and C++ (with Core Guidelines). As for the other platforms, and what Google is paying for, lets see where the bribe drives people into, after all from your point of view Google should rewrite gVisor and everything k8s as well.
- tptacek 6y agoNo, I don't see how you get there from what I said.
- pjmlp 6y ago> Stuff is going to get rewritten in Rust. Yes it definitely will, but not only, specially among groups where not using a GC is more of a religious issue than an actual technical impediment.
- tptacek 6y agoI'm not making a value judgement. I prefer GC'd languages. I'm saying: if they're not GC'd now, when there are multiple excellent choices for managed-runtime languages, it ain't gonna be GC'd. And obviously, it's not going to be C++.
- pjmlp 6y agoOk there I agree with you, however in some domains the choice is made by who is calling the shots and not due the technical merits of some sorts. Windows is a good example of this politics game actually. Joe Duffy mentioned on his Rustconf keynote that even with the system running in production, the Windows team couldn't be argued against. A system that even powered parts of Asian Bing infrastructure. Likewise they clearly sabotaged the Longhorn efforts, to replace them with COM, and yet UWP, mostly written in C++, happens to usually run slower than traditional .NET applications on Win32, or any other compiled GC'd language on Windows for that matter.