mniip

Results 40 comments of mniip

I just had this ingenious idea where we replace BOUNDS_CHECK with a different macro, which basically generates a for-loop header! Example code (untested): ``` c #define ITERATE_X(X,R) for(int px =...

http://www.lua.org/manual/5.1/manual.html#lua_tointeger > If the number is not an integer, it is truncated in some non-specified way.

Frankly, considering our game doesn't require three dozen shared libraries, I think the current approach of statically linking with all the interesting stuff is better for simplicity reasons. We have...

That's more complicated than it sounds. On most platforms by the time some `throw` does a nonlocal control transfer to some `catch` all the stack information is already lost. In...

As for including symbols, a better idea is to have split debug: For all publicly available release/snapshot builds we should have corresponding symbol files. That's pretty easy to do for...

Walking the stack was never an issue. See the problem with exceptions.

Reading more closely the documentation for `backtrace`, it's marked as `AS-Unsafe init heap dlopen plugin lock | AC-Unsafe init mem lock fd` - that might be a problem (deadlock/recursive signal)...

Double fold a-la `foldr (f2 :: b -> c -> c) (z2 :: c) . map (foldr (f1 :: a -> b -> b) (z1 :: b)) :: [[a]] ->...

A vast simplification of the code is: ```hs {-# LANGUAGE TypeApplications, RankNTypes, ScopedTypeVariables, DefaultSignatures, FlexibleContexts, AllowAmbiguousTypes, PolyKinds, DataKinds #-} import GHC.Generics as GHC import Generics.SOP import Generics.SOP.Constraint import Generics.SOP.GGP class...

Ah yes sorry `All SListI xss` in gcnt's type was probably me copying a not-completely-edited file.