Skip to content

Instantly share code, notes, and snippets.

@marccgk
marccgk / vmla.c
Created January 9, 2019 23:06
Virtual Memory Linear Arena Optimized
#include <stdint.h>
typedef signed char S8;
typedef signed short S16;
typedef signed int S32;
typedef signed long long S64;
typedef unsigned char U8;
typedef unsigned short U16;
typedef unsigned int U32;
typedef unsigned long long U64;
@marccgk
marccgk / _vmla.c
Last active February 26, 2023 10:28
Virtual Memory Linear Arena optimizations and tests
#include <stdint.h>
typedef signed char S8;
typedef signed short S16;
typedef signed int S32;
typedef signed long long S64;
typedef unsigned char U8;
typedef unsigned short U16;
typedef unsigned int U32;
typedef unsigned long long U64;
@marccgk
marccgk / _vmla.c
Last active February 23, 2021 01:06
Virtual Memory Linear Arena
#include <stdint.h>
typedef signed char S8;
typedef signed short S16;
typedef signed int S32;
typedef signed long long S64;
typedef unsigned char U8;
typedef unsigned short U16;
typedef unsigned int U32;
typedef unsigned long long U64;