Better HN
topnewbestaskshowjobs
Log inSign up

nipxx

14 karma · joined Oct 31, 2019 (7y ago) · 5 submissions

Submissions

comment 6y ago · link · parent

As sad as it is, I get 90% of my algorithm work done with sorted arrays and binary search. Rarely I need more fancy stuff.

comment 6y ago · link · parent

if these kinds of optimizations make a difference for your applications write it in native code, dammitl

comment 7y ago · link · parent

file-cache and system load jitter. That's it.

comment 7y ago · link · parent

For me it was the TMS320C64x+ There are newer versions of that chip out there with floating point support.

The glory instruction set reference is here:

https://www.ti.com/lit/ug/spru732j/spru732j.pdf

comment 7y ago · link · parent

It's alive and kicking on the Texas Instruments DSP chips. You can get incredible performance out of them, but you pay with horrible compile times.

To give you a taste what these chips do:

- 64 registers, 8 execution units, so 8 instruction can execute per cycle. Each instruction executes in a single cycle but may writes back the result later (multiplications do this for example). It's your responsibility to make sure you don't generate a conflict.

- for loops the hardware has a very complicated hardware scheduling mechanism that effectively lets you split the instruction pointer into 8 different pointers, so you can run multiple instances of a loop at the same time.

I wrote assembler code for that. Sudoku is a piece of cake compared to it.