>>106366226
>replace malloc() with open() and memory reads/writes with read()/write().
Unfortunately that used to work well with HDDs but the modern SSDs made it an obsolete technology.
We should switch to sockets that are more flexible than files that handle only static data. We need to replace the read()/write() with send()/recv().