On 21 October 2012 23:51, Nicolas Cellier
<nicolas.cellier.aka.n...@gmail.com> wrote:
> Hi Ciprian,
>
> I ran into same problem when I tried to interface Lapack with FFI a
> few years ago.
> So I used this simple idea to let the Compiler automatically pass an
> array of arguments, with two variants
> - hacked the compiler
> - subclassed the compiler

Just as a side note, today i think that 15 args is too much.
I would even put less, say 5.
To my thinking, methods which taking more than 5 arguments need to be
refactored to /dev/null,
and developers who think that it is good idea to make so much
arguments be sent to correction facility :)


>
> See http://code.google.com/p/smallapack/wiki/SmallapackPortingOnSqueak
> http://bugs.squeak.org/view.php?id=2918
> http://www.squeaksource.com/MetacelloRepository/ConfigurationOfSmallapack-nice.11.zip
> http://www.squeaksource.com/Smallapack.html
> http://www.squeaksource.com/Smallapack/Smallapack-Compiler.trunk-nice.6.mcz
>
> Nicolas
>

-- 
Best regards,
Igor Stasenko.

Reply via email to