News for hackers. Stuff that matters.
Re:Taking ML to production with Rust by h5reaheaaer on Monday December 02, 2019 @09:48AM (#21682740)
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?

Re:Taking ML to production with Rust by pjmlp on Monday December 02, 2019 @09:59AM (#21682852)
Here are some references about the C++ memory model, introduced in C++11:

https://arxiv.org/pdf/1803.04432.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.

Re:Taking ML to production with Rust by fnord123 on Monday December 02, 2019 @10:24AM (#21683148)
>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.

Re:Taking ML to production with Rust by pjmlp on Monday December 02, 2019 @10:40AM (#21683314)
I 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.

Re:Taking ML to production with Rust by jeremyfranco on Monday December 02, 2019 @10:10AM (#21682982)
> What advantages would a more complex memory model yield?

consistency