4 ms·
Sorry, I tried searching for what you mean by "ISO C++ memory model", I can't find authoritative usage of that term. I find a bunch of references to fences and
by h5reaheaaer 7y ago
Sorry, I tried searching for what you mean by "ISO C++ memory model", I can't find authoritative usage of that term. I find a bunch of references to fences and std::atomic, both ideas of which Rust has supported from the start.
I also can't find any details on the CUDA project you mention, it seems counter-intuitive to me. At least with graphics data, it's mostly just large buffers of structs, defined with vertex attrib pointers or whatever. What advantages would a more complex memory model yield?
- pjmlp 7y agoHere are some references about the C++ memory model, introduced in C++11: https://arxiv.org/pdf/1803.04432.pdf https://arxiv.org/pdf/1803.04432.pdf https://people.mpi-sws.org/~viktor/slides/2016-01-debug.pdf https://people.mpi-sws.org/~viktor/slides/2016-01-debug.pdf A language memory model is a mathematical specification on how the language semantics map to actual CPUs and the basis how to write lock-free algorithms. If you bothered to follow the YouTube videos you would found the CUDA projects I mentioned. Rust currently doesn't have such mathematical model.
- fnord123 7y ago>If you bothered to follow the YouTube videos you would found the CUDA projects I mentioned. Dude, you linked to two hours worth of video. Give people a break.
- pjmlp 7y agoI don't give a break to people that are too lazy and then issue statements like "I also can't find any details on the CUDA project you mention". Just clicking on the links would show the info.
- jeremyfranco 7y ago> What advantages would a more complex memory model yield? consistency