4 ms·
> It's the difference between the C standard runtime library (OpenGL), where you can call `read` and calling the kernel directly via custom system calls to impl
by astrange 10y ago
> It's the difference between the C standard runtime library (OpenGL), where you can call `read` and calling the kernel directly via custom system calls to implement the functionality of read (Vulkan).
In fact, that's just one line:
syscall(SYS_read, fd, buf, size);
I guess it's like writing your own SATA commands for the disk drive. Or like a car analogy of some kind.