Data-Oriented Programming • Yehonathan Sharvit & James Lewis • GOTO 2023

Data-Oriented Programming • Yehonathan Sharvit & James Lewis • GOTO 2023

GOTO Conferences

8 месяцев назад

19,072 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@amirghorbanian1300
@amirghorbanian1300 - 07.12.2023 23:08

OMG , I used DoD and I didn't realize it :) in terms of tools I use Ajv to validate my input JSON . which makes my code static on runtime and dynamic on compile , I even can define the exact format of string like ip v4 email .

Ответить
@danielbarnes3406
@danielbarnes3406 - 23.11.2023 08:36

Love this book. I've read it a couple times and some passages more than that.

Ответить
@ZapOKill
@ZapOKill - 06.11.2023 19:43

Sry, but since he mentioned it 3 times I have to throw it in... Closure/Hickey was (by far) not the first to come up with immutable DS.

Ответить
@Tony-dp1rl
@Tony-dp1rl - 03.11.2023 06:18

I am 3 chapters into his book ... good read so far. I can't help but think everything I have read so far is identical to how we built software in C last century though. I am sure that feeling will disappear as I read on past what seems to be the "undoing" of OOP part of the book.

Ответить
@perghosh8135
@perghosh8135 - 02.11.2023 16:31

More should listen to Yehonathan Sharvit, very few developers is talking about "data oriented design" and that is really sad. I think the main reason why so few talk about it is that takes some time to learn and you should know how the hardware works.

With that said, it is possible to take this type of development very far with C/C++. C/C++ differ a lot from other types of languages because C/C++ is basically assembler without coding assembler. You have maximum freedom. That means that the developer are able to more logic around data to make it "smart" compared to other languages. Invested time in making smart code can be reused. Making cache friendly code, take advantage of SIMD and threads. It is hard but this "smart" code and you can throw away huge amounts of code that it replaces.

Ответить