fengb / zCord

Zig âš¡ Discord API with zero allocations in the critical path
MIT License
53 stars 11 forks source link

Comptime generate the cacert chain #3

Open fengb opened 3 years ago

fengb commented 3 years ago

Due to limitations in the compiler (no comptime allocators) + iguana (requires an allocator), this cannot be done atm. But what if we could? 🤔

fengb commented 3 years ago

My previous implementation used a hidden 100KB buffer with a FixedBufferAllocator at runtime. Not ideal :(