Загрузка...

DConf '23 -- Simple @safe D -- Robert Schadek

DIP1000 adds quite a bit of syntax to the language and makes D look a lot less beautiful, in Robert's opinion. Instead of trying to add things to the language, why not take a look at things that need to be removed to achieve the same level of memory safety? This talk shows how to remove three things from the language to make it memory-safe and still live with the consequences. The PDF slides are available here: https://dconf.org/2023/slides/schadek.pdf DConf '23 Homepage https://dconf.org/2023/index.html The D Programming Language Home https://dlang.org/ #dlang #dconf TIMECODES: 00:00 Title and Introduction 00:22 The problem 03:11 The solution 03:58 The consequences 04:51 Consequences and Remedies: Passing data down 05:55 Consequences and Remedies: Containers 08:58 Consequences and Remedies: @property 09:43 Consequences and Remedies: Not being smart 11:44 Continuations: Asserts 14:45 Continuations: Template constraints 22:01 Continuations: Nested functions 23:46 Continuations: Nested imports 25:47 Conclusions 28:56 Appendix 29:30 Comments from Walter 31:00 Comment about D as a library 31:17 Comment: Funkwerk has been writing pointer-free code for years 31:41 Comment about Robert's tuple example 32:11 Comments from Átila 32:45 Q: How does Dennis feel about Robert's talk? 33:06 Questions about nice-looking code vs. Robert's advice 33:52: Q: Would Robert like to see special nullable syntax in D? 35:10 Question about Robert's thoughts on other language features

Видео DConf '23 -- Simple @safe D -- Robert Schadek автора JavaScript для начинающих
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки