This is all to say OCamlโs memory model is very cool and the authors thought a lot into how to make it performant and sound! Itโs an interesting area
24.06.2025 12:58 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0@quack.bsky.social
Low-level bit twiddler. CS @ UNC
This is all to say OCamlโs memory model is very cool and the authors thought a lot into how to make it performant and sound! Itโs an interesting area
24.06.2025 12:58 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0But from what I can find ldapr is just an alias for ldar on M-series so RCsc hasnโt been beneficial on those platforms (I kind of want to verify this with benchmarks too)
23.06.2025 20:07 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0I got to read through the paper on OCamlโs memory model again and as a project I was wondering if we could replace ldar with ldapr on arm64 platforms but unfortunately atomic writes are lowered compare-and-exchanges and regular stores are simply str unless you have M2
23.06.2025 20:07 โ ๐ 3 ๐ 1 ๐ฌ 1 ๐ 0At an internship-of-sorts and access to GPUs for some of this DL work Iโm working on has been delayed, which makes it difficult to make any progress. Iโm staying optimistic though, because I think this is potentially novel and itโd be a shame if it couldnโt get done in my limited time here :(
20.06.2024 08:33 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0This work will hopefully be a blogpost soon. I think the idea of an Rust allocator making use of sized deallocation hasnโt been properly exploredโbecause itโs focused towards safe Rust users, I can forego security features that are found in modern C malloc implementations
07.01.2024 14:02 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0The per-location tracking of tree borrows is necessary to be able to use references in a sane way at all without prolific, infectious use of raw pointers that eliminate the utility of the borrow checker. Iโd really like to see tree borrows model see wider adoption, especially for allocator authors.
07.01.2024 04:51 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0Been working on the Rust allocator recently; ended up delving into the aliasing model with stacked/tree borrows. Itโs difficult to write sound multithreaded code with references in the presence of raw pointers, and the lack of view types make for unergonomic code under the strict stacked borrowsโฆ
07.01.2024 04:38 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0Merry Christmas!
25.12.2023 05:27 โ ๐ 4 ๐ 0 ๐ฌ 0 ๐ 0ๆ็ฎๅญฆไน ๅฅฅๆฏๆฌ็ใๅๅผ่ฎบๆ็จใ๏ผ็ฅๆๅฅฝ่ฟ
22.10.2023 00:49 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0ๅจๅญฆๆ กๆ นๆฌๅฐฑๆฒกๆถ้ด็ฉไน ๐
17.08.2023 01:28 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0I think I ultimately want to pursue cryptography and by extension, mathematics. Iโm just not sure how to reconcile that with my interests in security in general. It would be nice if I had the time to seriously get into pwn like some of the people I look up to ๐
10.08.2023 18:01 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0ๅพๅฟซๅฐฑๅผๅญฆไบ๏ผๅฏๆฏๆๆฒกๆๆไน่ฏปๆ็ๆฐๅญฆ่ฏพๆฌ๏ผๅชๅจ็ฌฌๅ็ซ ใ
ๆๅนดๅฐฑๅผๅง็ณ่ฏทๅคงๅญฆไบ๏ผ็็ๆ็น็ดงๅผ ใ
Think Iโll try screaming into the void here but in simplified Chinese
22.06.2023 21:03 โ ๐ 5 ๐ 0 ๐ฌ 0 ๐ 0