Constexpr — большое благо, выраженное в неправильной идее (Евгений Клименков, ISPRASOPEN-2019) — различия между версиями
Материал из 0x1.tv
StasFomin (обсуждение | вклад) |
StasFomin (обсуждение | вклад) |
||
;{{SpeakerInfo}}: {{Speaker|Евгений Клименков}}
<blockquote>
Introduction of ``constexpr" feature in the C++11 standard has born a great interest to the compile-time function execution in the programming languages communities. In this paper, we evaluate this feature and argue that while the compile-time evaluations are one of the most valuable optimization methods, its explicit support on the level of a programming language is a wrong decision. We show that compile-time evaluations must be enforced by the compiler automatically and transparently to the developer. Finally, we propose a programming language design principle stating that positive optimization ``hints'' must not be a part of programming language.
</blockquote>
{{VideoSection}}
{{vimeoembed|378873988|800|450}}
{{youtubelink|}}{{letscomment}}
{{SlidesSection}}
[[File:Constexpr — большое благо, выраженное в неправильной идее (Евгений Клименков, ISPRASOPEN-2019).pdf|left|page=-|350px]]
{{----}}
[[File:{{#setmainimage:Constexpr — большое благо, выраженное в неправильной идее (Евгений Клименков, ISPRASOPEN-2019)!.jpg}}|center|640px]]
{{LinksSection}}
<!-- * [ Talks page on site] --> |
Версия 12:19, 27 декабря 2019
- Докладчик
- Евгений Клименков
Introduction of ``constexpr" feature in the C++11 standard has born a great interest to the compile-time function execution in the programming languages communities. In this paper, we evaluate this feature and argue that while the compile-time evaluations are one of the most valuable optimization methods, its explicit support on the level of a programming language is a wrong decision. We show that compile-time evaluations must be enforced by the compiler automatically and transparently to the developer. Finally, we propose a programming language design principle stating that positive optimization ``hints must not be a part of programming language.
Видео
Посмотрели доклад? Понравился? Напишите комментарий! Не согласны? Тем более напишите.