The Beauty and Power of Primitive C++
The Beauty and Power of “Primitive” C++ Bjarne Stroustrup Morgan Stanley, Columbia University www.Stroustrup.com Stroustrup - "Primitive" - CppCon 2020 1This year is different Stroustrup - "Primitive"0 码力 | 53 页 | 1.03 MB | 5 月前3Some Things C++ Does Right
Python, C, Haskell…A word about beauty and elegance 23A word about beauty and elegance • Beauty is in the eye of the beholder • Beauty is cultural • There’s beauty in most programming languages • • C++ has warts, but it’s often beautiful 24A word about beauty and elegance • Situation: we have a game with all sorts of monsters • We made a class hierarchy managed within objects of a pImpl class 25A word about beauty and elegance // if we were in C# static ListRemoveDead(List lst) { lst.RemoveAll(m => !m.IsAlive); return lst; } 26A word about beauty and elegance // 0 码力 | 228 页 | 2.47 MB | 5 月前3COMPOSABLE C++
"When I am working on a problem, "When I am working on a problem, I never think about beauty. I never think about beauty. But when I have �nished, But when I have �nished, if the solution is not beautiful include mutual recursion. The most common inhibitor of recursive beauty is mixed up return types. The most common inhibitor of recursive beauty is mixed up return types. auto calculate_recursively(const collection&)0 码力 | 124 页 | 8.28 MB | 5 月前31 Beautiful Python
Q3 of 2020 3 Book signing at 12:00 today on 3rd floor INTRODUCTION 4 To Love and create beauty are conditions to happiness. — Walter Gropius (1883–1969), founder of Bauhaus School 6 7 OPERATOR & 68 https://github.com/standupdev/uintset 69 https://github.com/standupdev/uintset THE BEAUTY OF DOUBLE DISPATCH 70 FAIL FAST 71 72 73 NO "UNDEFINED" VALUES 74 NO SURPRISING NULL0 码力 | 109 页 | 34.99 MB | 1 年前3使用 TEX 写文档
正文排版 讨论和演示 History Knuth Donald E. Knuth 高德纳 TAOCP Year 1969 ∼ TEX τ ϵ χ ⇔ technology TEX — Beauty and Fun! KevinW@OUC 王晓东 大纲 What’s TEX 历史 扩展 系统 Why TEX 优点 比较 HowTo LATEX 文档基本结构 一个简单例子 正文排版 讨论和演示 History Knuth Donald E. Knuth 高德纳 TAOCP Year 1969 ∼ TEX τ ϵ χ ⇔ technology TEX — Beauty and Fun! KevinW@OUC 王晓东 大纲 What’s TEX 历史 扩展 系统 Why TEX 优点 比较 HowTo LATEX 文档基本结构 一个简单例子0 码力 | 65 页 | 1.07 MB | 1 年前3Cross-Platform Floating-Point Determinism Out of the Box
. …one thing in common too It's a, it's a, it's a, it's a sin()! — almost Pet Shop Boys The beauty of this code is that it means EXACTLY the same thing for ALL fp’s with 23 bits of fraction and 80 码力 | 31 页 | 3.88 MB | 5 月前3The React Handbook
We're adding thecomponent as if it was part of the HTML language. That's the beauty of React components and JSX: we can compose an application interface and use it like we're writing 0 码力 | 31 页 | 1.28 MB | 1 年前3Nim - the first high performance language with full support for hot codereloading at runtime
typed high performance (compiles to native binaries - comparable to C/C++) very clean & elegant - no, beauty is NOT subjective! garbage collected (can do manual memory management too) expressive - some of the0 码力 | 63 页 | 2.91 MB | 1 年前3Blender v2.92 参考手册(繁体中文版)
from any group of selected edges or vertices, as long as they form one or more complete perimeters. Beauty Arrange the new triangles nicely. Filled using fill. Note, unlike creating n-gons, Fill supports Edit Mode. Mesh before Triangulate modifier. Mesh after Triangulate modifier. 選項 Quad Method Beauty Split the quads in nice triangles, slower method. Fixed Split the quads on their 1st and 3rd vertices Shortest Diagonal Split the quads based on the diagonal distance between their vertices. N-gon Method Beauty Arrange the new triangles nicely, slower method. Clip Splits n-gons using an ear-clipping algorithm0 码力 | 3966 页 | 203.00 MB | 1 年前3Blender v2.93 Manual
from any group of selected edges or vertices, as long as they form one or more complete perimeters. Beauty Arrange the new triangles nicely. Filled using fill. Note, unlike creating n-gons, Fill supports Mode. Mesh before Triangulate modifier. Mesh after Triangulate modifier. Options Quad Method Beauty Split the quads in nice triangles, slower method. Fixed Split the quads on their 1st and 3rd vertices Shortest Diagonal Split the quads based on the diagonal distance between their vertices. N-gon Method Beauty Arrange the new triangles nicely, slower method. Clip Splits n-gons using an ear-clipping algorithm0 码力 | 3962 页 | 201.40 MB | 1 年前3
共 96 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10