Skip to content

Files

Latest commit

e374f05 · Oct 2, 2014

History

History
9 lines (6 loc) · 445 Bytes

Memory-leaks.md

File metadata and controls

9 lines (6 loc) · 445 Bytes

The design of ATS helps the programmer to create code without memory leaks. Still, there are a few ways to create leaky code.

  1. Using unsafe features in ATS
  2. Using C code or other non-ATS code that is not memory-safe
  3. Propagating exceptions, as noticed in Exceptions and linear values

Here are some strategies for creating memory-safe code in ATS.

Fill me in!