What kind of projects (besides the obvious OS stuff) use assembly language?

后端 未结 16 1893
野的像风
野的像风 2021-02-14 15:48

Seemingly, no one uses assembly nowadays other than to develop device drivers, or the very core of OS kernels etc. Anyone has knowledge of it being currently used for other thin

16条回答
  •  难免孤独
    2021-02-14 16:24

    One of the rate determining code (after whatever is needed dynamic for memory management) in nearly every language is the routine used by the runtime (-library) to move memory. Move(), memcpy etc, as well as primitives like searching for a byte (strchr ) etc.

    These quite often written in assembler too, with special dedicated code to exploit alignment.

提交回复
热议问题