Weird
Weird
Posted Aug 18, 2016 3:32 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)In reply to: Weird by lsl
Parent article: Better types in C using sparse and smatch
> Yet, standard library usage in forking programs seems to be considered undefined behaviour, including the loss of all memory-safety guarantees.
Really? How? Borrow checker is entirely compile time and after forking the new copy will go on independently.
Really? How? Borrow checker is entirely compile time and after forking the new copy will go on independently.
Standard library does NOT run any background threads and RNG duplication might be an expected outcome.
I can't find any recent admonitions to not use libstd in forking programs and having actually used it, I kinda doubt that there are any serious issues.