corrected the index website
This commit is contained in:
parent
1af0601011
commit
ff3e80279b
2 changed files with 9 additions and 2 deletions
7
tests/compile/tglobalforvar.nim
Normal file
7
tests/compile/tglobalforvar.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
var funcs: seq[proc (): int] = @[]
|
||||||
|
for i in 0..10:
|
||||||
|
funcs.add((proc (): int = return i * i))
|
||||||
|
|
||||||
|
echo(funcs[3]())
|
||||||
|
|
||||||
|
|
@ -45,8 +45,8 @@ Nimrod is efficient
|
||||||
* Native code generation (currently via compilation to C), not dependant on a
|
* Native code generation (currently via compilation to C), not dependant on a
|
||||||
virtual machine: **Nimrod produces small executables without dependencies
|
virtual machine: **Nimrod produces small executables without dependencies
|
||||||
for easy redistribution.**
|
for easy redistribution.**
|
||||||
* A fast non-recursive incremental and generational garbage collector that
|
* A fast **non-tracing** garbage collector that should be well suited for soft
|
||||||
should be well suited for soft real-time systems (like games).
|
real-time systems (like games).
|
||||||
* System programming features: Ability to manage your own memory and access the
|
* System programming features: Ability to manage your own memory and access the
|
||||||
hardware directly. Pointers to garbage collected memory are distinguished
|
hardware directly. Pointers to garbage collected memory are distinguished
|
||||||
from pointers to manually managed memory.
|
from pointers to manually managed memory.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue