Friday, March 24, 2023
Learning Code
  • Home
  • JavaScript
  • Java
  • Python
  • Swift
  • C++
  • C#
No Result
View All Result
  • Home
  • JavaScript
  • Java
  • Python
  • Swift
  • C++
  • C#
No Result
View All Result
Learning Code
No Result
View All Result
Home C++

Rust Safety Is Not Superior To C++, Bjarne Stroustrup Says

learningcode_x1mckf by learningcode_x1mckf
January 23, 2023
in C++
0
JavaScript Slows Progress, Should be Retired, Argues JSON Creator
74
SHARES
1.2k
VIEWS
Share on FacebookShare on Twitter


You might also like

US NSA tells developers to shun C and C++ programming language – The Siasat Daily

Introducing Carbon, Google's Experimental Successor for C++ – MUO – MakeUseOf

C vs. C++: 12 Key Differences and Similarities – Spiceworks News and Insights

guest reader writes: The Open Requirements web site comprises a brand new paper from Bjarne Stroustrup titled A call to action: Think seriously about “safety”; then do something sensible about it.

Bjarne reacts to an NSA report about Software Memory Safety because the report excludes C and C++ as unsafe. Bjarne doesn’t take into account any of the report’s decisions for “protected” languages as superior to C++ for the vary of makes use of he cares about.
From Bjarne’s response:
I’ve labored for many years to make it doable to put in writing higher, safer, and extra environment friendly C++. Particularly, the work on the C++ Core Pointers particularly goals at delivering statically assured type-safe and resource-safe C++ for individuals who want that with out disrupting code bases that may handle with out such robust ensures or introducing further software chains. For instance, the Microsoft Visible Studio analyzer and its memory-safety profile ship a lot of the CG assist immediately and any good static analyzer (e.g., Clang tidy, that has some CG assist) might be made to fully ship these ensures at a fraction of the price of a change to quite a lot of novel “protected” languages.
Bjarne additionally complains that within the NSA’s doc, “‘protected’ is proscribed to reminiscence security, leaving out on the order of a dozen different ways in which a language might (and can) be used to violate some type of security and safety.”

There is not only one definition of “security”, and we are able to obtain quite a lot of sorts of security via a mix of programming types, assist libraries, and enforcement via static evaluation…. I envision compiler choices and code annotations for requesting guidelines to be enforced. The obvious could be to request assured full type-and-resource security.
Bjarne notes that for those who work in software domains which prioritize efficiency over sort security, you can “apply the security ensures solely the place required and use your favourite tuning strategies the place wanted.”

Partial adoption of a number of the guidelines (e.g., guidelines for vary checking and initialization) is more likely to be essential. Gradual adoption of security guidelines and adoption of differing security guidelines will likely be essential. If for no different purpose than the billions of traces of C++ code won’t magically disappear, and even “protected” code (in any language) must name conventional C or C++ code or be referred to as by conventional code that doesn’t supply particular security ensures.

Ignoring the security points would damage massive sections of the C++ neighborhood and undermine a lot of the opposite work we’re doing to enhance C++.

The article additionally comprises the next references for consideration:
– Design Alternatives for Type-and-Resource Safe C++.
– Type-and-resource safety in modern C++.
– A brief introduction to C++’s model for type- and resource-safety.
– C++ Core Guidelines, safety profiles.



Source link

Share30Tweet19
learningcode_x1mckf

learningcode_x1mckf

Recommended For You

US NSA tells developers to shun C and C++ programming language – The Siasat Daily

by learningcode_x1mckf
March 22, 2023
0
Google expands open source bounties, will soon support Javascript fuzzing too – ZDNet

US NSA tells developers to shun C and C++ programming language  The Siasat Day by day Source link

Read more

Introducing Carbon, Google's Experimental Successor for C++ – MUO – MakeUseOf

by learningcode_x1mckf
March 22, 2023
0
Google expands open source bounties, will soon support Javascript fuzzing too – ZDNet

Introducing Carbon, Google's Experimental Successor for C++  MUO - MakeUseOf Source link

Read more

C vs. C++: 12 Key Differences and Similarities – Spiceworks News and Insights

by learningcode_x1mckf
March 21, 2023
0
Google expands open source bounties, will soon support Javascript fuzzing too – ZDNet

C vs. C++: 12 Key Differences and Similarities  Spiceworks Information and Insights Source link

Read more

I want to learn C++ Directx9 – Graphics and GPU Programming – GameDev.net

by learningcode_x1mckf
March 20, 2023
0
Google expands open source bounties, will soon support Javascript fuzzing too – ZDNet

I want to learn C++ Directx9 - Graphics and GPU Programming  GameDev.web Source link

Read more

Is Java Losing Ground to C++, Python? – Dice Insights

by learningcode_x1mckf
March 20, 2023
0
Google expands open source bounties, will soon support Javascript fuzzing too – ZDNet

Is Java Losing Ground to C++, Python?  Cube Insights Source link

Read more
Next Post
What Is jQuery? (Definition, vs. Javascript, Features)

What Is jQuery? (Definition, vs. Javascript, Features)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Related News

Google expands open source bounties, will soon support Javascript fuzzing too – ZDNet

Rust is kind to its coders, C++ makes you feel terrible – eFinancialCareers (US)

February 20, 2023
Different server for Google API – JavaScript – SitePoint Forums

My Display Button is Not Working – JavaScript – SitePoint Forums

February 2, 2023
Google expands open source bounties, will soon support Javascript fuzzing too – ZDNet

3 Open-Source Headless CMS for JavaScript Applications – MUO – MakeUseOf

February 26, 2023

Browse by Category

  • C#
  • C++
  • Java
  • JavaScript
  • Python
  • Swift

RECENT POSTS

  • Java Developer Survey Reveals Increased Need for Java … – PR Newswire
  • What You Should Definitely Pay Attention to When Hiring Java Developers – Modern Diplomacy
  • Java Web Frameworks Software Market Research Report 2023 … – Los Alamos Monitor

CATEGORIES

  • C#
  • C++
  • Java
  • JavaScript
  • Python
  • Swift

© 2022 Copyright Learning Code

No Result
View All Result
  • Home
  • JavaScript
  • Java
  • Python
  • Swift
  • C++
  • C#

© 2022 Copyright Learning Code

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?