Jan Wedekind <j...@wedesoft.de> skribis: > Here is an example adding an integer to each element of a 2D array > and returning the result: > > scheme@(guile-user)> (use-modules (oop goops) (aiscm jit) (aiscm int) > (aiscm pointer) (aiscm sequence)) > scheme@(guile-user)> (+ (arr (2 3 5) (7 11 13)) 3) > $1 = #<sequence<sequence<int<8,unsigned>>>>: > ((5 6 8) > (10 14 16)) > > The fallback method for the GOOPS generic "+" adds a JIT compiled > plus operation for the specific array types to the generic and then > calls "+" again.
Woow, exciting stuff! It can surely make a different for number crunching applications. Ludo’.