3 ms·
Most of it is. You can do a lot without touching any unsafe parts. It compiles down to JavaScript (which is memory safe), or C / C++ / Objective-C (which aren't
by beagle3 7y ago
Most of it is. You can do a lot without touching any unsafe parts. It compiles down to JavaScript (which is memory safe), or C / C++ / Objective-C (which aren't).
C FFI is unsafe, as well as taking an address of something; but you rarely need these things unless you are already interfacing with unsafe C code.
It does not, however, delineate unsafe parts into an unsafe{} scope the way Rust does.