Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
That sounds plausible in the first second.More instructions means longer execution time.
I came from a C background and I have been using cc and makefile since before all those fancy visual c++ came. So, I do know the difference between a compiler and a linker. A compiler creates an object (.obj) file from your source codes and a linker links all those different object files (.obj) into one executable module. It would be very interesting to see how you are going to map all those memory addresses without the use of pointers.stefanwagner said:You know the difference between linker and compiler?
I was talking about machine-level instructions and not some high-level language instructions (which consists of several machine level instructions). It doesn't matter what language you use but your machine will execute the machine instructions one by one. So the longer the machine-level instruction, the longer it will take to execute your program. High-level languages usually have convenient features and powerful commands. However, these features and commands are often expensive because they often means more instructions at the machine-level.stefanwagner said:Quote:
>>More instructions means longer execution time.
That sounds plausible in the first second.
But I argued on that before - didn't you read it?
Try to optimize your c++ - programs for size AND speed.
Java programs contain a lot more machine-level instructions than the equivalent C/C++ programs. More instructions means longer execution time.
++a;
and k4ghg mentioned some speedup two days later.If you redirect the output to a file, it might speed up significantly, if there is a lot of output (factor 100 will not be unusual).
It wouldn't surprise me to learn that he was working on a windows box outputting to a command window.