Kode Vicious: Beautiful Code Exists, If You Know Where to Look.

The article discusses computer code, examining hardware performance monitoring counters (hwpmc) on the FreeBSD operating system. HWPMC is implemented in hardware, the author indicates, in this case the hardware of the central processing unit (CPU). Topics include the confusing nature of the code, co...

Descripción completa

Detalles Bibliográficos
Publicado en:Communications of the ACM Vol. 51; no. 7; pp. 23 - 26
Autor principal: Neville-Neil, George V.
Formato: Artículo
Publicado: Association for Computing Machinery Jul2008
Materias:
Acceso en línea:Ver este registro en EBSCOhost
Descripción
Sumario:The article discusses computer code, examining hardware performance monitoring counters (hwpmc) on the FreeBSD operating system. HWPMC is implemented in hardware, the author indicates, in this case the hardware of the central processing unit (CPU). Topics include the confusing nature of the code, compilers that generate suboptimal code, and computer programmers who write good code. Also discussed is reading header files before the code, lines that indicate well-written code, and the inclusion of patch version numbers.