Carp is a research language and compiler for interactive, performance-sensitive apps such as games and audio tools, using deterministic memory without a garbage collector.
Overview
Carp combines Lisp syntax with inferred static types and explicit memory management suitable for real-time use. It remains research-oriented and may change; version 0.6.0 was current at documentation time.
Key traits include ownership tracking that still allows mutating cache-friendly structures, straightforward C interoperability, macros, compile-time scripting, and a REPL. It targets games, sound synthesis, and visualization workloads where predictable allocation matters.
Documentation covers a compiler manual, language guide, and core library references plus an examples directory. Community discussion has moved toward Discord.
Users invoke the carp compiler toolchain locally rather than deploying a hosted service.
Key features
- No garbage collector runtime
- Inferred static typing
- Ownership-tracked mutation
- C foreign function interface
- Lisp macro system
- Interactive REPL
- Real-time oriented design
Use cases
- Game prototyping
- Sound synthesis tools
- Performance-sensitive visuals
- Systems Lisp experiments