News for hackers. Stuff that matters.
Re:Microsoft to Explore Using Rust by inlined on Thursday July 18, 2019 @11:24AM (#20470780)
I don’t understand how SAL and RAII couldn’t help with this. In three years I never had memory issues reported against my C++ code. The closest thing that happened to me was corruption while prototyping a Zip utility that had new features I was inventing. There I had to build a variable sized input bitstream writer and had corruption on some ISAs due to differences in the interpretation of <<.
Re:Microsoft to Explore Using Rust by yawaramin on Saturday July 27, 2019 @11:33AM (#20542468)
Re:Microsoft to Explore Using Rust by nemaar on Thursday July 18, 2019 @02:46PM (#20472825)
if you don't have memory issues in your code then either it's so small that everyone participating in its development can actually keep it in a perfect state or no one searched hard enough yet. After a certain complexity bugs just appear, you don't have to do anything, they are just there.
Re:Microsoft to Explore Using Rust by inlined on Thursday July 18, 2019 @02:56PM (#20472895)
I’m not saying I never wrote bugs, but tools like SAL or RAII types that manage sharing help. By the time I checked in, they were either squashed or not found until after I left Microsoft.

I built a domain agnostic virtualization and streaming platform that generalized the “Click2Run” features of Office and could apply retroactively to any traditional app that didn’t include kernel code (e.g. worked on Adobe Creative Suite)

I also worked on the early phases of the sandbox that runs WinRT for JS, which also required paying my dues and fixing bugs or implementing new features (e.g. the fetch API) for the Trident engine in IE.

I wouldn’t consider these trivial projects.