3 ms·
Does your compiler perform any transformations at all? I imagine it can run out of memory pretty quickly if you're performing multiple transformations in succes
by oh_teh_meows 13y ago
Does your compiler perform any transformations at all? I imagine it can run out of memory pretty quickly if you're performing multiple transformations in succession on large code base, unless you recycle some of those used memory.
Granted...since you explicitly stated that your compiler focused on compile speed, I guess optimized code generation isn't your main concern, since the two are more or less mutually exclusive.
- WalterBright 13y agoCompile speed issues are for non-optimized builds. Optimized builds take significantly longer, as those are for maximum generated code speed rather than compile speed.
- oh_teh_meows 13y agoI guess I wasn't being clear. I was just curious how do you handle your memory in the case of doing optimized builds?
- WalterBright 13y agoThe same.
- qznc 13y agoThe rule of thumb is that you get a 10% boost if you use the LLVM or the GCC backend compared to DMD. I googled a little for a go vs gccgo comparison, but found no general numbers. The situation is similar.