-
portable-mmap
Discontinued an mmap shim for windows with fallback for unix systems by Mike Frysinger <[email protected]>. Mirrored from https://gist.github.com/r-lyeh-archived/bc29c8630dd778454001
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
you can take a look at my approach to create a win/mac/linux C library here, using a makefile: github
Use libraries that support the targeted platforms. Use a meta build system (like cmake) that can spit out things like a make build for Linux or a visual studio project for windows. For things with no cross-platform API, either implement different paths with a define or find shim code implementing one api with another like this one to be able to use windows memory map as if it were posix mmap: https://github.com/jessrud/portable-mmap
check out https://github.com/jart/cosmopolitan/releases