Hacker News new | past | comments | ask | show | jobs | submit login

If the language's sqlite bindings don't offer a way to load a database from a string, if you're on a modern linux kernel (3.17+) you can make use of the memfd_create syscall: it creates an anonymous memory-backed file descriptor equivalent to a tmpfs file, but no tmpfs filesystem needs to be mounted and there's no need to think about file paths.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: