writing python extensions in assembly
Diez B. Roggisch
deets at nospam.web.de
Fri May 16 12:08:55 EDT 2008
inhahe schrieb:
> I like to learn what I need, but I have done assembly before, I wrote a
> terminal program in assembly for example, with ansi and avatar support. I'm
> just not fluent in much other than the language itself, per se.
>
> Perhaps C would be as fast as my asm would, but C would not allow me to use
> SIMD, which seems like it would improve my speed a lot, I think my goals are
> pretty much what SIMD was made for.
That is not true. I've used the altivec-extensions myself on OSX and
inside C.
Besides, the parts of your program that are really *worth* optimizing
are astonishly few. Don't bother using assembler until you need to.
Diez
More information about the Python-list
mailing list