Для общего развития - про принципы работы Garbage Collector и возможность написания его для языка C: http://libcello.org/learn/garbage-collection
#cs #memory
#cs #memory
libcello.org
Cello • Garbage Collection
libCello Official Website
Детальный разбор того, в каких случаях нужно использовать weak, а в каких - unowned. Отдельное внимание разделу про производительность.
https://www.uraimo.com/2016/10/27/unowned-or-weak-lifetime-and-performance/
#swift #memory
https://www.uraimo.com/2016/10/27/unowned-or-weak-lifetime-and-performance/
#swift #memory
uraimo.com
Unowned or Weak? Lifetime and Performance
While the usual explanation that when dealing with retain cycles you should choose between unowned or weak considering references lifetime is by now well known, sometimes you are still in doubt about which one you should actually use between the two and if…
Майк Эш в часовом докладе рассказывает про особенности работы с памятью в Swift, параллельно затронув кучу других вопросов и написав свою утилиту для дампа памяти. Ну, в общем, все как обычно, если вы успели соскучиться по его пятничным Q&A.
https://realm.io/news/goto-mike-ash-exploring-swift-memory-layout/
#swift #memory
https://realm.io/news/goto-mike-ash-exploring-swift-memory-layout/
#swift #memory
Надеюсь, что вы, как и я, любите статьи про особенности работы с памятью. В этот раз - про то, от чего зависит воемя жизни переменной в Swift, и детально про функцию withExtendedLifetime.
https://www.cocoawithlove.com/blog/resources-releases-reentrancy.html
#swift #memory
https://www.cocoawithlove.com/blog/resources-releases-reentrancy.html
#swift #memory
Начнем 2017 год с крутой статьи про шесть различных моделей работы с памятью, на которых построены различные языки программирования.
http://canonical.org/~kragen/memory-models/
#memory #languages #cs
http://canonical.org/~kragen/memory-models/
#memory #languages #cs
Доклад про работу с памятью в Swift, в том числе про memory leaks и retain cycles. Без хардкора, для легкого вечернего просмотра.
https://realm.io/news/hector-matos-memory-management/
#memory #swift
https://realm.io/news/hector-matos-memory-management/
#memory #swift
Про сходства и различия в работе с памятью в языках Swift и Rust.
https://medium.com/@itchyankles/memory-management-in-rust-and-swift-8ecda3cdf5b7#.f5q4t5yoe
#languages #memory
https://medium.com/@itchyankles/memory-management-in-rust-and-swift-8ecda3cdf5b7#.f5q4t5yoe
#languages #memory
Medium
Memory Management in Rust and Swift
Recently I’ve been trying to go lower and lower in the software stack by learning more about Rust — a new systems programming language in…
Рубрика "стыдные вопросы". Как работают ссылки, указатели и массивы в C.
https://habrahabr.ru/post/251091/
#memory
https://habrahabr.ru/post/251091/
#memory
Habr
Указатели, ссылки и массивы в C и C++: точки над i
В этом посте я постараюсь окончательно разобрать такие тонкие понятия в C и C++, как указатели, ссылки и массивы. В частности, я отвечу на вопрос, так являются массивы C указателями или нет....
Отличная история из двух частей про поиск причин абсолютно непонятного креша в приложении, понимание того, что это ошибка в компиляторе, и исправление ее.
https://topologyeyewear.github.io/engineering-blog/2018/03/07/heap_corruption/
https://topologyeyewear.github.io/engineering-blog/2018/03/19/heap_corruption_followup/
#debug #memory
https://topologyeyewear.github.io/engineering-blog/2018/03/07/heap_corruption/
https://topologyeyewear.github.io/engineering-blog/2018/03/19/heap_corruption_followup/
#debug #memory
Topology Engineering
Solving a Mysterious Heap Corruption Crash
A while back, we noticed an increase in crashes in our app. The crashes were marked as heap corruption, which makes them hard to debug — the location given in the stack trace (if any) can be far away
Почему пойнтеры в плюсах – это сложно.
https://www.ralfj.de/blog/2018/07/24/pointers-and-bytes.html
#cpp #memory
https://www.ralfj.de/blog/2018/07/24/pointers-and-bytes.html
#cpp #memory
www.ralfj.de
Pointers Are Complicated, or: What's in a Byte?
This summer, I am again working on Rust full-time, and again I will work (amongst other things) on a “memory model” for Rust/MIR. However, before I can talk about the ideas I have for this ...
Нужно ли еще знать, что такое autoreleasepool в 2019 году? Кажется, да.
https://swiftrocks.com/autoreleasepool-in-2019-swift.html
#swift #memory
https://swiftrocks.com/autoreleasepool-in-2019-swift.html
#swift #memory
Краткий пересказ работы memory management в iOS для тех, кто все забыл.
https://medium.com/flawless-app-stories/ios-memory-management-in-under-6-minutes-3be777f69b7e
#memory
https://medium.com/flawless-app-stories/ios-memory-management-in-under-6-minutes-3be777f69b7e
#memory
Medium
iOS Memory Management in Under 6 Minutes
Everything you should know about ARC in old good Objective-C.