Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #89350

Re: "Will Carbon Replace C++?" by Manuel Rubio

From "Alf P. Steinbach" <alf.p.steinbach@gmail.com>
Newsgroups comp.lang.c++
Subject Re: "Will Carbon Replace C++?" by Manuel Rubio
Date 2023-03-01 12:02 +0100
Organization A noiseless patient Spider
Message-ID <ttnbbo$3u603$1@dont-email.me> (permalink)
References <ttls3k$3msuf$3@dont-email.me>

Show all headers | View raw


On 2023-02-28 10:35 PM, Lynn McGuire wrote:
> "Will Carbon Replace C++?" by Manuel Rubio
>     https://semaphoreci.com/blog/carbon
> 
> "The last CppNorth 2022 was announced with Chandler Carruth scheduled to 
> give a keynote, where he showed the results of a new scientific 
> experiment. The keynote was titled: Carbon Language: An experimental 
> successor to C++. But why do we need a successor and where did this idea 
> come from?"
> 
> Here we go again.

With the NSA recommendation to not use C or C++ the succession might 
happen swifter than one would think. Or not. Things are happening.

NSA, November 2022:
¹❝NSA advises organizations to consider making a strategic shift from 
programming languages that provide little or no inherent memory 
protection, such as C/C++, to a memory safe language when possible. Some 
examples of memory safe languages are C#, Go, Java, Ruby™, and Swift®❞

The New Stack, February 2023 (linking to Bjarne's NSA response):
²❝In mid-January, the official C++ “direction group” — which makes 
recommendations for the programming language’s evolution — issued a 
statement addressing concerns about C++ safety. While many languages now 
support “basic type safety” — that is, ensuring that variables access 
only sections of memory that are clearly defined by their data types — 
C++ has struggled to offer similar guarantees.

This new statement, co-authored by C++ creator Bjarne Stroustrup, now 
appears to call for changing the C++ programming language itself to 
address safety concerns. “We now support the idea that the changes for 
safety need to be not just in tooling, but visible in the 
language/compiler, and library.”

The group still also supports its long-preferred use of debugging tools 
to ensure safety (and “pushing tooling to enable more global analysis in 
identifying hard for humans to identify safety concerns”). But that 
January statement emphasizes its recommendation for changes within C++.

Specifically, it proposes “packaging several features into profiles” 
(with profiles defined later as “a collection of restrictions and 
requirements that defines a property to be enforced” by, for example, 
triggering an automatic analysis.) In this way the new changes for 
safety “should be visible such that the Safe code section can be named 
(possibly using profiles), and can mix with normal code.”❞

¹ 
https://media.defense.gov/2022/Nov/10/2003112742/-1/-1/0/CSI_SOFTWARE_MEMORY_SAFETY.PDF
² 
https://thenewstack.io/can-c-be-saved-bjarne-stroustrup-on-ensuring-memory-safety/


- Alf

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

"Will Carbon Replace C++?" by Manuel Rubio Lynn McGuire <lynnmcguire5@gmail.com> - 2023-02-28 15:35 -0600
  Re: "Will Carbon Replace C++?" by         Manuel Rubio Sam <sam@email-scan.com> - 2023-02-28 20:36 -0500
  Re: "Will Carbon Replace C++?" by Manuel Rubio Muttley@dastardlyhq.com - 2023-03-01 09:44 +0000
    Re: "Will Carbon Replace C++?" by Manuel Rubio Bonita Montero <Bonita.Montero@gmail.com> - 2023-03-01 13:46 +0100
  Re: "Will Carbon Replace C++?" by Manuel Rubio Öö Tiib <ootiib@hot.ee> - 2023-03-01 02:51 -0800
    Re: "Will Carbon Replace C++?" by Manuel Rubio Muttley@dastardlyhq.com - 2023-03-01 11:13 +0000
      Re: "Will Carbon Replace C++?" by Manuel Rubio Bo Persson <bo@bo-persson.se> - 2023-03-01 15:30 +0100
        Re: "Will Carbon Replace C++?" by Manuel Rubio Daniel <danielaparker@gmail.com> - 2023-03-01 09:28 -0800
  Re: "Will Carbon Replace C++?" by Manuel Rubio "Alf P. Steinbach" <alf.p.steinbach@gmail.com> - 2023-03-01 12:02 +0100
    Re: "Will Carbon Replace C++?" by Manuel Rubio "Alf P. Steinbach" <alf.p.steinbach@gmail.com> - 2023-03-01 12:12 +0100
    Re: "Will Carbon Replace C++?" by Manuel Rubio Muttley@dastardlyhq.com - 2023-03-01 11:17 +0000
    Re: "Will Carbon Replace C++?" by Manuel Rubio cross@spitfire.i.gajendra.net (Dan Cross) - 2023-03-01 14:59 +0000
    Re: "Will Carbon Replace C++?" by Manuel Rubio Öö Tiib <ootiib@hot.ee> - 2023-03-01 07:12 -0800
    Re: "Will Carbon Replace C++?" by Manuel Rubio "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-03-01 14:27 -0800
  Re: "Will Carbon Replace C++?" by Manuel Rubio Vir Campestris <vir.campestris@invalid.invalid> - 2023-03-01 16:50 +0000
    Re: "Will Carbon Replace C++?" by Manuel Rubio Lynn McGuire <lynnmcguire5@gmail.com> - 2023-03-01 14:16 -0600
      Re: "Will Carbon Replace C++?" by Manuel Rubio scott@slp53.sl.home (Scott Lurndal) - 2023-03-01 21:30 +0000
        Re: "Will Carbon Replace C++?" by Manuel Rubio Lynn McGuire <lynnmcguire5@gmail.com> - 2023-03-01 16:53 -0600
          Re: "Will Carbon Replace C++?" by Manuel Rubio David Brown <david.brown@hesbynett.no> - 2023-03-02 10:38 +0100
          Re: "Will Carbon Replace C++?" by Manuel Rubio scott@slp53.sl.home (Scott Lurndal) - 2023-03-02 15:24 +0000
            Re: "Will Carbon Replace C++?" by Manuel Rubio Muttley@dastardlyhq.com - 2023-03-02 15:39 +0000
              Re: "Will Carbon Replace C++?" by Manuel Rubio "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-03-02 16:38 -0800
                Re: "Will Carbon Replace C++?" by Manuel Rubio Muttley@dastardlyhq.com - 2023-03-03 09:55 +0000
                Re: "Will Carbon Replace C++?" by Manuel Rubio "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-03-03 12:07 -0800
            Re: "Will Carbon Replace C++?" by Manuel Rubio Lynn McGuire <lynnmcguire5@gmail.com> - 2023-03-02 14:13 -0600
              Re: "Will Carbon Replace C++?" by Manuel Rubio Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2023-03-02 13:18 -0800
                Re: "Will Carbon Replace C++?" by Manuel Rubio Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2023-03-02 14:28 -0800
                Re: "Will Carbon Replace C++?" by Manuel Rubio Lynn McGuire <lynnmcguire5@gmail.com> - 2023-03-02 18:47 -0600
                Re: "Will Carbon Replace C++?" by Manuel Rubio scott@slp53.sl.home (Scott Lurndal) - 2023-03-03 02:01 +0000
                Re: "Will Carbon Replace C++?" by Manuel Rubio David Brown <david.brown@hesbynett.no> - 2023-03-03 10:34 +0100
                Re: "Will Carbon Replace C++?" by Manuel Rubio David Brown <david.brown@hesbynett.no> - 2023-03-03 10:33 +0100
              Re: "Will Carbon Replace C++?" by Manuel Rubio scott@slp53.sl.home (Scott Lurndal) - 2023-03-02 21:26 +0000
              Re: "Will Carbon Replace C++?" by Manuel Rubio James Kuyper <jameskuyper@alumni.caltech.edu> - 2023-03-06 14:33 -0500
  Re: "Will Carbon Replace C++?" by Manuel Rubio legalize+jeeves@mail.xmission.com (Richard) - 2023-03-01 17:47 +0000

csiph-web