2 ms·
nice, but would be better to have something simpler that doesn't rely on various libraries and features that are typically forbidden in high performance environ
by jheriko 14y ago
nice, but would be better to have something simpler that doesn't rely on various libraries and features that are typically forbidden in high performance environments.
incidentally almost every memory leak I deal with comes from not being allowed to allocate my own memory and having to fiddle around with gc and refcount rubbish.
I have written whole non-trivial games with no detectable leaks.
- jheriko 14y ago(without stopping to check for leaks half way through)
- wbhart 14y agoCould you provide some more information about "features that are typically forbidden in high performance environments". Probably you want a parser expression grammar with a packrat parser if you really want speed anyway. At the moment I am not smart enough to see how to implement combinators in C in an elegant way without GC of some form. But I'll think about it. Maybe something will occur to me. Patches are welcome of course.