3 ms·
> How many programming hours were spent writing the 20ms C program vs the 5-10s in other programming languages. Sorry for the trick, but it actually wasn't C a
by geocar 10y ago
> How many programming hours were spent writing the 20ms C program vs the 5-10s in other programming languages.
Sorry for the trick, but it actually wasn't C at all, but a simple, non-optimising interpreted language that beats the pants off all these fancy optimising compilers who can work around shit programmers making shit programs.
The <20msec solution written in K is as follows:
select last bid by sym from quote where date=d,sym in S
I'd love to talk about how to write programs that are fast, but by all means, let's talk about how we don't really need our programs to be fast in the first place.