Hi,
Just starting to dive into the wonderful world of intros, and I came up with some questions. I'd really appreciate somebody answering these!
How fast is __asm in MSVC?
Is the compiled code as good as MASM/TASM/NASM/etc. would produce?
1) Set active buildmode to Release
2) /NODEFAULTLIBS
3) Changing c++ classes to c-style functions and using __fastcall
4) Use functions from dlls dynamically (using extern)
5) Project settings / C/C++ / Optimization -> Minimize Size (/01)
Inline Function Expansion Disable
Favor Small Code (/0s)
These are the size optimization tricks for MSVC what I've know of. Are there any more?
Which one is better, dropper 2.0 or 20to4 beta? And is cab dropping generally better than com?
How much can be done after a dropper has been used? Are there still things after dropping that can be optimized in an executable (for intanse, in the PE section)? If yes, then how many bytes can be saved and how?
How much is the benefit (in terms of size and speed) writing everything in asm instead of C/C++ from start to end using the same kind of optimization tricks (which ones are they?) and using dropper in the end? And is there any difference in size between MASM/TASM/NASM/etc.?
What is the smallest size of an exe (uncompressed and compressed) one can get using MSVC, win32 and opengl (the minimal
application, that has a window and draws a white triangle onto screen)? And the same using MASM(or other), win32 and opengl?[Post edited by Nam on Tuesday 10 August 2004 - 14:49] |