|
|
|
|
|
by msbarnett
3471 days ago
|
|
> What languages is it largely meant to replace/improve on. I think it's great for any problem area where you'd instinctively reach for C. System utilities, bare metal development, etc. Stuff where you care about the precise layout of memory but would prefer that a simple but non-obvious mistake didn't end up as a high-profile CVE. > What languages is it largely meant to replace/improve on. C. It has C's straightforward machine model in mind, like C its memory behaviours are entirely predictable, it's entirely explicit about error handling (no hidden paths of errors exiting functions as in C++). It improves on C by adding strict checking to make managing memory safely and avoiding race conditions tractable problems. |
|