TrapC is a new memory-safe fork of the C programming language aimed at preventing crashes caused by memory errors. Developed by Robin Rowe, TrapC maintains syntax similar to C/C++ and ensures that pointers cannot produce segfaults or buffer overruns. Unlike Rust, TrapC lacks an 'unsafe' keyword, making it reportedly easier to learn. The compiler is set for a 2025 open-source release by Rowe's startup, Trasec. TrapC aims to improve error handling and memory management, making programming safer without significantly altering the familiar C/C++ workflows.

11m read timeFrom go.theregister.com
Post cover image

Sort: