The ATS PL System Wiki
Unleashing the potentials of types and templates
Status: Beta
Brought to you by:
ats-hwxi
The design of ATS helps the programmer to create code without memory leaks. Still, there are a few ways to create leaky code.
In ATS versions before ATS 2, the code
prval () = foo_free(afoo)
can cause a leak. Instead, use
val () = foo_free(afoo)
Here are some strategies for creating memory-safe code in ATS.
Fill me in!
Wiki: Frequently asked questions
Wiki: Home
Anonymous