With automatic memory management and memory-safe pointers, the open source compiler TrapC is designed to make code written in C and C++ safer.