Home | Sitemap | Kontakt | english  | Impressum | Datenschutz | KIT

Veranstaltungskalender


Kolloquium
Informatik-Sonderkolloquium: "Lost in Translation: Production Code Efficiency"
17.05.2018, 17:30
Informatik-Hauptbau Geb. 50.34, HS -101 (UG), Am Fasanengarten 5, 76131 Karlsruhe
 

Lost in Translation: Production Code Efficiency

When software engineers re-implement a high-performance research prototype code, one often observes one to two orders of magnitude drop in performance. This holds even if both implementations use the same language. The gap is even wider when one goes from a simple language (e.g., C++) to a more sophisticated one (e.g., Java).

One of the root causes of this phenomenon is the misinterpretation by software engineers of what they learn in school. Theoretical computer scientists ignore constant factors for the sake of machine-independent analysis. Programming language researchers focus on compilers that automatically handle low-level OS and architectural issues such as memory management. Software engineering professors emphasize abstraction and re-usability. Many software engineers learn to ignore constant factors, rely on compilers for the low-level efficiency, and use generic primitives for re-usability. This is tempting to do as one has to worry about fewer issues when coding, and one needs to know fewer primitives and data structures.

However, in practice constant factors do matter, compilers do not always take advantage of computer architecture features, and generic primitives may be less efficient than the simple ones sufficient for the task. Ignoring these issues can lead to significant loss of computational efficiency and increased memory consumption. Power consumption also increases significantly.

In this talk we give several examples of inefficient program fragments and discuss them. These examples show that software engineers need to pay attention to low-level details when choosing data structures and programming primitives, and avoid some inefficient coding practices.

 
Homepage
http://www.informatik.kit.edu/downloads/180517_isk_goldberg.pdf
Referent/in
Dr. Andrew V. Goldberg
Amazon.com
Veranstalter
Kommunikation, Marketing und Events
Fakultät für Informatik
Karlsruher Institut für Technologie (KIT)
Am Fasanengarten 5
76131 Karlsruhe
Tel: 0721 / 608-48660
Fax: 0721 / 608-41777
E-Mail:prCyt0∂informatik kit edu
http://www.informatik.kit.edu
Servicemenü
Neue Veranstaltung für Kalender vorschlagen