It's close to insignificant to comparing two languages. Especially when they boil down to things like:
let ptr = unsafe {
libc::mmap(
ptr::null_mut(),
len,
libc::PROT_READ | libc::PROT_WRITE,
libc::MAP_SHARED,
file.as_raw_fd(),
0,
) as *mut u8
};
vs calling something like this in one line in C, etc.
The C version also crams every line together, the Rust version couples related statements but leave newlines between others (not sure if loc counts those too).
It's close to insignificant to comparing two languages. Especially when they boil down to things like:
vs calling something like this in one line in C, etc.The C version also crams every line together, the Rust version couples related statements but leave newlines between others (not sure if loc counts those too).