Open jyn514 opened 4 years ago
Explanation of pre-compiled headers:
say you have a big header you include in almost every file, like windows.h or something because of C's broken compilation model, you have to lex, parse, and do semantic analysis on it every time pre-compiled headers is doing that once and storing it to a file somewhere so it's cached it doesn't have to be any standardized format
Normally this would be pretty difficult because I'd have to write the serialization, but fortunately rust has
serde
! @Kixiron recommended thebincode
backend which looks like exactly what I want.