ITT: apple thumbs its nose at the kaiser!
-
-
It's ok though, malloc allocations are 16-byte aligned on Darwin, so that still leaves 11 bits to play with.
1 reply 0 retweets 2 likes -
Replying to @stephentyrone @jckarter and
I like how the platform that aligns heap allocations to 16 wasn't sure about STACK ALIGNMENT for a while.
1 reply 0 retweets 1 like -
Stack alignment has always been 16B too, except for 32b iOS because /reasons/
3 replies 0 retweets 0 likes -
Replying to @stephentyrone @pkhuong and
(For sufficiently weak notions of “always”)
1 reply 0 retweets 1 like -
Replying to @stephentyrone @jckarter and
OK, so maybe we have to share some of the blame with artisanal stack frames.
2 replies 0 retweets 2 likes -
Replying to @pkhuong @stephentyrone and
Ok. Clearly I have kicked a fascinating hornet’s nest and need to learn more about cutting edge ARC :-) Can anyone suggest good resources/papers?
1 reply 0 retweets 1 like -
Replying to @hugofirth @pkhuong and
Specifically interested in examples of efficient cycle detection without user hints and intervention. Also sharing references between threads without atomic ops
1 reply 0 retweets 0 likes -
Replying to @hugofirth @pkhuong and
@graydon_pub or@pcwalton might have some good papers on hand; early Rust had some fancy cycle detection and heap sharing.2 replies 0 retweets 0 likes -
Replying to @jckarter @hugofirth and
AFAIK Bacon 2001 is still state of the art in cycle collection: https://researcher.watson.ibm.com/researcher/files/us-bacon/Bacon01Concurrent.pdf … Graydon is more of an expert here though, having shipped the most widely used implementation of cycle collection in industry :)
3 replies 0 retweets 4 likes
(For what it’s worth, I think RC was the right choice for Swift, though I prefer GC even for resource constrained environments.)
-
-
Replying to @pcwalton @hugofirth and
Making gc-managed allocations async, like some of the rust-gc libraries do, might change the game a lot. That could help keep GC managed operations out of non-async C interop or realtime/critical sections
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.