4 ms·
if you aren't running on the gpu you're leaving 80+% of your computer's performance on the table. no optimizing compiler is going to make your legacy c or lisp
by kragen 2y ago
if you aren't running on the gpu you're leaving 80+% of your computer's performance on the table. no optimizing compiler is going to make your legacy c or lisp or rust code run efficiently on the gpu, or even in most cases on a multicore cpu. nor, as thechao points out, can it compete with assembly-language programmers for simd vectorization on the cpu
in summary, optimizing compilers for c or pascal or zig or rust or whatever can only be used for code where considerations like compatibility, ease of programming, security, and predictability are more important than performance
probably the vast majority of production code is already in python and javascript, which don't even have reasonable compilers at all
- auselen 2y agoHow come you made this about computer’s performance :)
- kragen 2y agobecause computer performance is the topic of https://news.ycombinator.com/item?id=41255695 https://news.ycombinator.com/item?id=41255695, https://news.ycombinator.com/item?id=41255365 https://news.ycombinator.com/item?id=41255365, and https://news.ycombinator.com/item?id=41255195 https://news.ycombinator.com/item?id=41255195, the three levels of parent comments in the thread, one of which was by you
- auselen 2y agoNo. Main post is about a C compiler, post I responded is saying > When your computer was anemic, and could barely do the tasks required for it which I could only interpret as a machine that can run a single process at a time, so not really about gpus or what.