|
|
|
|
|
by ostenning
961 days ago
|
|
I think the embedded book kind of teaches at a very fundamental level, prioritizing safety. It teaches you to use a mutex and critical section when accessing a global variable, which can easily obscure what you are trying to achieve. Globals should be avoided in Rust, unless you have some kind of synchronization strategy because otherwise modifying them is unsafe. |
|