Re:Nodejs+Fabric as fast as multi-threaded C++
by pjin on Saturday November 12, 2011 @12:34PM
(#3228275)
Fortran compilers (gcc has a Fortran 95 frontend) have long offered optimization levels beyond -O3; i.e., -O6 is a decent upper bound among popular free and commercial compilers, not just gcc/gfortran. The author probably came from a HPC background where -O6 is commonly used for compatibility among such a variety of compilers, even when writing C and C++ programs. Technically not the most portable way to build, but it works.
Re:Nodejs+Fabric as fast as multi-threaded C++
by FabricPaul on Sunday November 13, 2011 @02:51PM
(#3231624)
I asked the engineer for a response: "For reference, I used -O6 because it's a historical convention (more of a joke, really) for "optimize the crap out of it". UNIX geeks have been using -O6 in this way for about 30 years."
Re:Nodejs+Fabric as fast as multi-threaded C++
by Game_Ender on Saturday November 12, 2011 @11:29AM
(#3228099)
Yes it was a very WTF moment for me as well. The "C++" code is pretty much straight C, with references being the only C++ feature being used.
Isn't -O6 the same as -O3 ?