1. A method comprising: dynamically allocating a file, by a computing device, between different storage technologies and respective memory technologies in a hybrid infrastructure, the dynamically allocating comprising: using a malloc syntax, which includes a first set of variables for a first size of bytes and a first type of storage or memory technology, to allocate a first buffer; using the malloc syntax, which further includes a second set of variables for a second size of bytes and a second type of storage or memory technology, to allocate a second buffer; mapping the respective memory technologies to the different storage technologies according to performance; and storing an initial portion of the file in the first buffer on the first type of storage or memory technology and automatically storing a remaining portion of the file in the second buffer on the second type of storage or memory technology based on the mapping.