4 ms·
How much does that matter? I get most of my software pre-compiled through apt repositories. It's all using basic X86_64 instruction sets. My computer, being a
by saosebastiao 9y ago
How much does that matter?
I get most of my software pre-compiled through apt repositories. It's all using basic X86_64 instruction sets. My computer, being a relatively recent Core i5, has plenty of advanced features [0], but outside of one piece of manually compiled software occupying less than 5% of my CPU on average (an LP solver used by a bot), I'm not taking advantage of any of it.
Considering how much electron apps have taken over my desktop, SSD and RAM play an exponentially bigger role in the quality of experience than my processor does.
[0] https://ark.intel.com/products/91160/Intel-Core-i5-6260U-Processor-4M-Cache-up-to-2_90-GHz https://ark.intel.com/products/91160/Intel-Core-i5-6260U-Pro...
- jasonjayr 9y agoJava, V8, or the .net CLR could sense the processor features at run time , and JIT the code into more efficient instructions? A lot of things are interpreted nowadays, if the interpreter is updated to understand the processor features, it can take advantage of it.
- the8472 9y agoIn addition to JIT-compiled code there also are libraries that do runtime detection of available processor features and dispatch to optimized implementations. Pretty much anything number-crunchy such as software image/video processing will do this.
- saosebastiao 9y agoHow much do these VMs actually optimize with newer instructions? Last I checked (oracle java 8), the jvm still had really spotty autovectorization optimizations, and SSE has been around since 1999, with the most recent SSE4 coming out over 10 years ago. I get that they technically could do so, but how much do they do it in practice?