Memory allocation: Difference between revisions

Content added Content deleted
(It corrected the position of "Scala".)
(Nimrod -> Nim)
Line 753:
131072 maximum pages</lang>
 
=={{header|NimrodNim}}==
Usually in NimrodNim we have automated memory allocation and garbage collection, but we can still manually get a block of memory:
<lang nimrodnim># Allocate thread local heap memory
var a = alloc(1000)
dealloc(a)