← Back to context Comment by rafram 5 days ago https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines 21 comments rafram Reply hu3 5 days ago Documentation to guide devs on safe usage of C++ is enough?So any language should be allowed as long as they instruct developers to be careful. resonious 5 days ago Compliance often works exactly like this. creato 5 days ago I don't know if they do this, but those conventions could be enforced by a tool. JimmyBiscuit 5 days ago Theres C++ in military airplanes, they just cut out 90% of the features: https://www.stroustrup.com/JSF-AV-rules.pdfAnd heres a nice video about it: https://youtu.be/Gv4sDL9Ljww?si=Z4riPMKAKcIKaU0s dmazzoni 5 days ago Yes, in WebKit, SaferCPP guidelines are enforced by a static analysis tool. jjmarr 5 days ago My work bans raw new and delete, so we only use unique_ptr. It's not as memory safe as Rust's borrow checker but I've never seen a segfault. concinds 5 days ago Yes, they do this, and it's really not an unreasonable requirement. 13 replies → ladyanita22 4 days ago Apple's resistance to rust is truly mind-boggling
hu3 5 days ago Documentation to guide devs on safe usage of C++ is enough?So any language should be allowed as long as they instruct developers to be careful. resonious 5 days ago Compliance often works exactly like this. creato 5 days ago I don't know if they do this, but those conventions could be enforced by a tool. JimmyBiscuit 5 days ago Theres C++ in military airplanes, they just cut out 90% of the features: https://www.stroustrup.com/JSF-AV-rules.pdfAnd heres a nice video about it: https://youtu.be/Gv4sDL9Ljww?si=Z4riPMKAKcIKaU0s dmazzoni 5 days ago Yes, in WebKit, SaferCPP guidelines are enforced by a static analysis tool. jjmarr 5 days ago My work bans raw new and delete, so we only use unique_ptr. It's not as memory safe as Rust's borrow checker but I've never seen a segfault. concinds 5 days ago Yes, they do this, and it's really not an unreasonable requirement. 13 replies →
creato 5 days ago I don't know if they do this, but those conventions could be enforced by a tool. JimmyBiscuit 5 days ago Theres C++ in military airplanes, they just cut out 90% of the features: https://www.stroustrup.com/JSF-AV-rules.pdfAnd heres a nice video about it: https://youtu.be/Gv4sDL9Ljww?si=Z4riPMKAKcIKaU0s dmazzoni 5 days ago Yes, in WebKit, SaferCPP guidelines are enforced by a static analysis tool. jjmarr 5 days ago My work bans raw new and delete, so we only use unique_ptr. It's not as memory safe as Rust's borrow checker but I've never seen a segfault. concinds 5 days ago Yes, they do this, and it's really not an unreasonable requirement. 13 replies →
JimmyBiscuit 5 days ago Theres C++ in military airplanes, they just cut out 90% of the features: https://www.stroustrup.com/JSF-AV-rules.pdfAnd heres a nice video about it: https://youtu.be/Gv4sDL9Ljww?si=Z4riPMKAKcIKaU0s
jjmarr 5 days ago My work bans raw new and delete, so we only use unique_ptr. It's not as memory safe as Rust's borrow checker but I've never seen a segfault.
Documentation to guide devs on safe usage of C++ is enough?
So any language should be allowed as long as they instruct developers to be careful.
Compliance often works exactly like this.
I don't know if they do this, but those conventions could be enforced by a tool.
Theres C++ in military airplanes, they just cut out 90% of the features: https://www.stroustrup.com/JSF-AV-rules.pdf
And heres a nice video about it: https://youtu.be/Gv4sDL9Ljww?si=Z4riPMKAKcIKaU0s
Yes, in WebKit, SaferCPP guidelines are enforced by a static analysis tool.
My work bans raw new and delete, so we only use unique_ptr. It's not as memory safe as Rust's borrow checker but I've never seen a segfault.
Yes, they do this, and it's really not an unreasonable requirement.
13 replies →
Apple's resistance to rust is truly mind-boggling