KlongPy: High-Performance Array Programming in Python
1–10 of 90 posts
Re: KlongPy: High-Performance Array Programming in Python
#2Re: KlongPy: High-Performance Array Programming in Python
#3[flagged]
Re: KlongPy: High-Performance Array Programming in Python
#4Re: KlongPy: High-Performance Array Programming in Python
#5Re: KlongPy: High-Performance Array Programming in Python
#6Naive array programming is not really high performance in my book, because performing a lot of trivial arithmetic on large arrays leads to poor locality and high bandwidth pressure. The better alternative is SPMD, i.e. something like CUDA or ISPC for CPUs. This is possible with some type of JIT if the numpy style of programming is to be maintained, for example tinygrad.
Re: KlongPy: High-Performance Array Programming in Python
#7I gather where it says `:monad` it is referring to an operation that had an effect on the interpreter state?
In '1 + 1', + is a dyadic operator, while in 'exp 5', exp is monadic.
In J, and in APL I guess, left arg is usually understood as 'control data', while right arg is the data upon which calculation is done. Left argument is usually left unchanged after calculations.
In this way, is it possible to create multi-arguments verbs, by placing boxed args on the left of the verb.
Re: KlongPy: High-Performance Array Programming in Python
#8Naive array programming is not really high performance in my book, because performing a lot of trivial arithmetic on large arrays leads to poor locality and high bandwidth pressure. The better alternative is SPMD, i.e. something like CUDA or ISPC for CPUs. This is possible with some type of JIT if the numpy style of programming is to be maintained, for example tinygrad.
Re: KlongPy: High-Performance Array Programming in Python
#9Nice.
Re: KlongPy: High-Performance Array Programming in Python
#10Naive array programming is not really high performance in my book, because performing a lot of trivial arithmetic on large arrays leads to poor locality and high bandwidth pressure. The better alternative is SPMD, i.e. something like CUDA or ISPC for CPUs. This is possible with some type of JIT if the numpy style of programming is to be maintained, for example tinygrad.