Comment Re: VS8 has so many problems (Score 1) 162
Hi Melissa,
Sorry to digress from the topic. I've read your 'VS8 has so many problems' post, it's VERY useful.
BTW, VC has has built-in variable-sized stack allocation: void *_malloca(size_t size); Allocates memory on the stack. This is a version of _alloca with security enhancements as described in Security Enhancements in the CRT. I used _alloca() a lot sincelong time ago. I hope it'll be useful to you too.
You also wrote:
- VC8 does not have __asm in x64. This is a terrible mistake. It would have been very easy for Microsoft to have implemented this feature (it's not very different from x86)! This is the most severe problem my company has with Visual Studio 8. We have resorted to using a GCC cross-compiler to compile our x64 C programs with embedded x64 assembly language.
I agree. Could you share with me some build or Makefile samples on how use GCC this way? I am trying to do the same (compile our x64 C programs with embedded x64 assembly language on x64). My email: abereznyi@hotmail.com
Thanks, Alex
Sorry to digress from the topic. I've read your 'VS8 has so many problems' post, it's VERY useful.
BTW, VC has has built-in variable-sized stack allocation: void *_malloca(size_t size); Allocates memory on the stack. This is a version of _alloca with security enhancements as described in Security Enhancements in the CRT. I used _alloca() a lot sincelong time ago. I hope it'll be useful to you too.
You also wrote:
- VC8 does not have __asm in x64. This is a terrible mistake. It would have been very easy for Microsoft to have implemented this feature (it's not very different from x86)! This is the most severe problem my company has with Visual Studio 8. We have resorted to using a GCC cross-compiler to compile our x64 C programs with embedded x64 assembly language.
I agree. Could you share with me some build or Makefile samples on how use GCC this way? I am trying to do the same (compile our x64 C programs with embedded x64 assembly language on x64). My email: abereznyi@hotmail.com
Thanks, Alex