I have improved my [Linux Game Jam 2017](https://itch.io/jam/linux-jam-2017)
[entry](https://itch.io/jam/linux-jam-2017/rate/128707) (3rd place), Glorious
Glacier Grotto, which was written using Nimgame 2.
[v1.2 on GitHub](https://github.com/Vladar4/ng2gggrotto/releases/tag/v1.2)
[v1.2 on
I have some time this weekend to experiment with boehm and markandsweep.
> It wouldn't be surprising if total heap space (live objects + free space)
> went up as a result of fragmentation, but free space explosion would mean
> that you've encountered a pathological case.
"Pathological"? If
Is it possible to return value from template which the last of argument is
`untyped`?
If possible, maybe some example would be nice
I used template with last argument `untyped` for executing that argument (which
consists of statements) but never use so that it would return something.
Creating shared lib with Nim works fine in my end and the lib loaded no
problems.
The code is same with what I wrote in C
# compile: nim c --app:lib test.nim
from os import sleep
proc test(): int {.cdecl, exportc, dynlib.} =
sleep 1 # blocking
10
A compiler problem when I using generic. the code:
import sequtils, typetraits
type
Point = object
x,y: int
rseq[T] = ref object
inq: ref seq[T]
Vector[T] = rseq[T]
proc P(x, y: int): Point = Point(x: x, y: y)
proc