> For comparison, last week we caught a significant race condition in another Kubernetes-related project we maintain called Helm (written in Go) that has been there for a year or more, and which passed the race checker for Go. That error would never have escaped the Rust compiler, preventing the bug from ever existing in the first place While the possible security benefits of Rust is interesting in software like Kube…
Kubernetes is an ecosystem. It doesn’t need to be written in Rust for Rust components to play a part. Helm is not Kubernetes, for example, though your comment seems to blur the two. There are folks writing stuff to interact with the broader ecosystem in Rust. That’s one of the interesting bits of networked systems! You can be heterogeneous with languages more easily when the network/api is the boundary.
The Safety Boat: Kubernetes and Rust
21–30 of 102 posts
Re: The Safety Boat: Kubernetes and Rust
#22Earlier quoted context omitted.
Go has a shorter time, and that’s the measuring stick in this area.
Go appears to have a shorter time, because you don't realize how much higher-level stuff you're just expected to do The Right Way, with no support from the language or libraries. So you're free to think you've finished learning Go, but then the actual learning begins.
It's often about how fast one can deliver maintainable software that works well enough.
Re: The Safety Boat: Kubernetes and Rust
#23Earlier quoted context omitted.
Go has a shorter time, and that’s the measuring stick in this area.
Go appears to have a shorter time, because you don't realize how much higher-level stuff you're just expected to do The Right Way, with no support from the language or libraries. So you're free to think you've finished learning Go, but then the actual learning begins.
Re: The Safety Boat: Kubernetes and Rust
#24Earlier quoted context omitted.
Go has a shorter time, and that’s the measuring stick in this area.
Go appears to have a shorter time, because you don't realize how much higher-level stuff you're just expected to do The Right Way, with no support from the language or libraries. So you're free to think you've finished learning Go, but then the actual learning begins.
Re: The Safety Boat: Kubernetes and Rust
#25> One of the biggest ones to point out is that async runtimes are still a bit unclear. There are currently two different options to choose from, each of them with their own tradeoffs and problems. Also, many of the implementation details are tied to specific runtimes, meaning that if you have a dependency that uses one runtime over another, you’ll often be locked into that runtime choice. My understanding of how asyn…
Going off on a tangent, but this exact problem would be a worst-case scenario for Go getting user-defined generic types instead of only the current blessed ones. t. C++ developer with a mixed std::string/QString/BSTR codebase.
Re: The Safety Boat: Kubernetes and Rust
#26Re: The Safety Boat: Kubernetes and Rust
#27I’ve heard people brag that Haskell is a great language because it’s supposedly easier to write correct code.
Rust has this same reputation?
Re: The Safety Boat: Kubernetes and Rust
#28I don't believe for one second that it takes just a couple of weeks to an average SE to be proficient in Rust.
“average” and “proficient” are both very variable in that statement, imho.
Re: The Safety Boat: Kubernetes and Rust
#29“For comparison, last week we caught a significant race condition in another Kubernetes-related project we maintain called Helm (written in Go) that has been there for a year or more, and which passed the race checker for Go. That error would never have escaped the Rust compiler, preventing the bug from ever existing in the first place.” I’ve heard people brag that Haskell is a great language because it’s supposedly…
Rust has many advocates now at places like Mozilla, Amazon and Microsoft that have delivered critical software in Rust that they believe has made it safer.
Re: The Safety Boat: Kubernetes and Rust
#30“For comparison, last week we caught a significant race condition in another Kubernetes-related project we maintain called Helm (written in Go) that has been there for a year or more, and which passed the race checker for Go. That error would never have escaped the Rust compiler, preventing the bug from ever existing in the first place.” I’ve heard people brag that Haskell is a great language because it’s supposedly…
The fine print is that nobody claimed it's easy to write Haskell code that compiles.