Comment on Microsoft to kill off VBScript in Windows to block malware delivery

<- View Parent
AlmightySnoo@lemmy.world ⁨1⁩ ⁨year⁩ ago

Yup that’s normal because VBA is single-threaded, doesn’t take advantage of vector instructions and even its interpreter is slow. So when someone writes numerical code in VBA working in single precision, and assuming they have an 8 core CPU with AVX2, they’re using only 1/64-th of their CPU’s processing power. On the other hand with Python, while it’s still interpreted, the interpreter is much faster on its own, and you have modules like numpy that use precompiled routines that take advantage of vector instructions (and possibly multiple cores).

source
Sort:hotnewtop