tyushk
Joined 1 year ago
Karma
189
Submissions
34
Member since
Nov 13
Joined 1 year ago
Is the final pattern described actually safe for multi-threaded use? Something like the stack has exactly 1 byte left, T1 allocates the dynamic end with 1 byte (dynamic object just happened to be 1 byte, say) and T2 allocates the fixed size end with 1 byte. Wouldn't they end up overlapping in that case?
[1] https://www.intel.com/content/www/us/en/support/articles/000...
https://publishing.rcseng.ac.uk/doi/10.1308/147363515X141345...
Cool writeup. Have you had to do any other weird shenanigans with getting FFI between Rust and Clojure other than needing to use CStrings?
[1] https://doc.rust-lang.org/std/macro.unreachable.html [2] https://doc.rust-lang.org/std/hint/fn.unreachable_unchecked....