Memory-safe variant is planned for next year
C and C++ programmers may not need to learn Rust after all to participate in the push for memory safety.in Bangkok, Thailand - which started today - Robin Rowe, a former computer science professor, product designer, and graphics expert, plans to announce a memory-safe fork of the C programming language called TrapC. Its goal is to help developers create software that can't crash.
There was a huge discussion within the C and C++ communities because neither language is memory safe and there's skepticism that they can be made so. The"And I love Bjarne, but I don't think Profiles are the right answer," said Rowe."And in the C community, the answer was even less . There wasn't really a plan of what to do.
"The places that need to be the most error-proof are the places that see those exceptions are banned," he said."And so I looked at some of the work that was going on there and said, 'Well, instead of trying to fix that, what if we would just change how error handling works so that errors are tracked by default instead of by exception?'"
"And then I thought, 'Well, since the compiler now knows when pointers are OK, what if the compiler would null any pointer that goes out of bounds?'" he said. Rowe's experience with the C++ committee, which oversees proposals and approves changes, led him to believe that pushing memory safety changes through the existing bureaucratic process would take too long.
"I worked on safety-critical embedded systems for the traffic control system for the country," said Rowe."I wrote Linux real-time software in C++ that controls traffic lights in the US. And so a lot of my thinking was shaped by that, because when you're doing safety-critical embedded systems in C++, you don't use exceptions, obviously.
United States Latest News, United States Headlines
Similar News:You can also read news stories similar to this one that we have collected from other news sources.
Grieving parents keep memory of tragic twins alive by 'always talking about them'Alice McKenna lost both her babies to a rare complication
Read more »
Robert Jenrick Goes The Extra Mile To Honour Margaret Thatcher's MemoryKate is a Senior Trends Reporter at HuffPost UK, covering the day's most compelling stories. She has worked in the national news since she became a qualified journalist and was previously a reporter with Express.co.uk
Read more »
Study explores impact of active navigation and immersive environments on episodic memoryJust like a time machine, episodic memory enables us to travel to the past in our minds and relive personal experiences with full clarity, as if we were going through them all over again.
Read more »
Heartbroken NI mum on keeping her son’s memory alive after sudden death at 27Jack Cummings was a serving police officer and just 27 years old when he passed away while driving to work on a busy motorway
Read more »
Brain Connections Weaken with Age, Leading to Memory ImpairmentsA new doctoral thesis from Örebro University reveals that aging can lead to poorer communication between different brain regions, resulting in memory impairments. The research, conducted by Pernilla Andersson, found that older adults with memory problems have lower-quality connections between brain areas, which can affect how efficiently information is processed.
Read more »
Google's memory safety plan includes rehab for unsafe languagesLarge C and C++ codebases will be around for the 'foreseeable future'
Read more »