ch0k1 on Nostr: TrapC proposal to fix C/C++ memory safety ...
TrapC proposal to fix C/C++ memory safety
https://www.infoworld.com/article/3836025/trapc-proposal-to-fix-c-c-memory-safety.html
TrapC, a fork of the C language, is being developed as a potential solution for memory safety issues that have hindered the C and C++ languages.
TrapC is a proposed C-language extension compiler intended to be implemented as a cybersecurity compiler for C and C++ code, said developer Robin Rowe. “Think of TrapC as wishing C was memory-safe, while also wishing it a bit more like C++, but not so much that it becomes a lot to learn like C++. C code can be safer with C++ constructors and destructors,” said Rowe. “Moreover, C/C++ code should be safe by default, not blunder on after a programmer didn’t check for an error code.”
originally posted at https://stacker.news/items/901175
https://www.infoworld.com/article/3836025/trapc-proposal-to-fix-c-c-memory-safety.html
TrapC, a fork of the C language, is being developed as a potential solution for memory safety issues that have hindered the C and C++ languages.
TrapC is a proposed C-language extension compiler intended to be implemented as a cybersecurity compiler for C and C++ code, said developer Robin Rowe. “Think of TrapC as wishing C was memory-safe, while also wishing it a bit more like C++, but not so much that it becomes a lot to learn like C++. C code can be safer with C++ constructors and destructors,” said Rowe. “Moreover, C/C++ code should be safe by default, not blunder on after a programmer didn’t check for an error code.”
originally posted at https://stacker.news/items/901175