Lurker News
Algs/DS were my first love in CS. Nowadays, all we hear about is AI/ML. There must be hardware/software improvements coming from or necessitating fundamental Algs/DS research.

Care to share any of the favorite recent results?
Are there big fields still making gains behind all this computing surge?

Comments (211) 45 threads

Show all comments

Showing thread 24 of 45

giogadi5 replies#
IMO the hip new thing in algorithms and data structures is to Just Use Arrays For Everything
bckr2 replies#
Got a source?
mejutoco#
I think OP is talking about ML and matrix (array) multiplication to learn the right weights in a neural network.
dymk#
Surely it’s the interesting things built on top of the arrays?
yamazakiwi1 reply#
Are you talking about Vector DB's?
masklinn#
Also ECS / columnar data?
eternalban1 reply#
When skirt lengths change and we observe no measurable change in human anatomy, that's fashion and to follow fashion is "hip".

When the computing platform changes and you have to start paying attention to L-level caches and counting your bytes (so you can do you big compute in memory), and use n cores, and then arrays are adopted, that is not fashion; so not "hip", rather modern.

kmstout1 reply#
Isn't everything since the Renaissance considered modern?
eternalban#
touche. Exactly so, just like how every political system going forward will be "democratic". /g
ygra#
Interesting and similar here is that there are a bunch of algorithms from days of yore that made sense with performance back then, but these days where the CPU absolutely doesn't care whether it's comparing a single byte or 32 bytes at once this can shift some algorithms towards much simpler ones. E.g. for substring searches this page is rather interesting: http://0x80.pl/articles/simd-strfind.html which posits that some of the older algorithms were built with the assumption that comparing parts of memory is more expensive than a table lookup, which is in many cases no longer true.