wow. that's incredible.
I worry what else is lurking in libc++ implementations that implies dependencies on things that aren't exactly portable...
the dependence on /dev/urandom as an absolute path is the most jarring to me.
I worry what else is lurking in libc++ implementations that implies dependencies on things that aren't exactly portable...
the dependence on /dev/urandom as an absolute path is the most jarring to me.
You do realize that the C++ runtime library is always a system or compiler supplied non-portable library?
Just like the C library is also highly non-portable. It uses system-specific syscalls all over the place.
Why? You use the system supplied entropy source; for each implementation it will use the appropriate one for the platform.