3 ms·
Note that Go is not memory safe for concurrent programs. Memory safety is ensured for sequential code only.
by zozbot234 4y ago
Note that Go is not memory safe for concurrent programs. Memory safety is ensured for sequential code only.
- pjmlp 4y agoNeither is Rust if the memory segment is accessed via OS IPC instead of threads in the same program, there is nothing that Sync and Send can do to help there. This is a quite common memory access pattern in HPC.
- tialaramex 4y agoDo you have some examples of this "common memory access pattern in HPC" ?
- pjmlp 4y agoSure, here goes one example, "A Case Study and Characterization of a Many-socket, Multi-tier NUMA HPC Platform" https://ieeexplore.ieee.org/document/9306956 https://ieeexplore.ieee.org/document/9306956 Or for something with FPGAs and other cool stuff in-between, "The ATLAS Data Acquisition and High Level Trigger system" https://iopscience.iop.org/article/10.1088/1748-0221/11/06/P06008/pdf https://iopscience.iop.org/article/10.1088/1748-0221/11/06/P...