Sure, and this lasted right up until we got GPUs, where you can take advantage of something even faster than general purpose ASM - specially developed hardware. The death nail in using ASM was the library. You only need to develop your ASM optimization once into GCC or a special purpose library, and then you can just happily re-use that from a maintainable language.