C/C++ speed optimization bible/resources/pointers needed!

This is a discussion on C/C++ speed optimization bible/resources/pointers needed! within the Other Technologies forums in category; Dave Seaman wrote: > On Fri, 14 Sep 2007 22:08:32 -0700, Wade Ward wrote: > >>>There is a Makefile in the src directory, and it works for me (on a Mac), >>>but there does not seem to be a compile.bat file as mentioned in >>>readme.txt. The run_demo.bat file surely won't do anything interesting >>>if you haven't compiled yet. Have you tried doing a "make"? >> >>That makes it sound like there's a compiler there, but is it the point that >>I have to bring my own, as well as my own source? Then I could have as a >>line in ...

Go Back   Application Development Forum > Other Technologies

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #191  
Old 09-15-2007, 12:19 PM
Gary Scott
Guest
 
Default Re: C/C++ speed optimization bible/resources/pointers needed!

Dave Seaman wrote:
> On Fri, 14 Sep 2007 22:08:32 -0700, Wade Ward wrote:
>
>>>There is a Makefile in the src directory, and it works for me (on a Mac),
>>>but there does not seem to be a compile.bat file as mentioned in
>>>readme.txt. The run_demo.bat file surely won't do anything interesting
>>>if you haven't compiled yet. Have you tried doing a "make"?

>>
>>That makes it sound like there's a compiler there, but is it the point that
>>I have to bring my own, as well as my own source? Then I could have as a
>>line in a batch file something like:
>>echo on
>>gcc some_file.c
>>pause

>
>
> Er, no, open source packages never include compilers, unless a compiler
> is the actual product (as with gcc). When you buy a box of cereal, do
> you expect to find a bowl, a spoon, and a carton of milk inside the
> package?


No, but I do expect to find close to 30 grams of sugar per 1/2 cup of
cereal. Then most people add another 20 or 30 grams of sugar on top of
that. Cereal, the real cause of the obesity epidemic.

>
>



--

Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

If you want to do the impossible, don't hire an expert because he knows
it can't be done.

-- Henry Ford
Reply With Quote
  #192  
Old 09-15-2007, 04:03 PM
Gary Scott
Guest
 
Default Re: C/C++ speed optimization bible/resources/pointers needed!

Wade Ward wrote:

> "Gary Scott" <garylscott@sbcglobal.net> wrote in message
> news:uCTGi.34252$RX.13204@newssvr11.news.prodigy.n et...
>
>>Dave Seaman wrote:
>>
>>>On Fri, 14 Sep 2007 22:08:32 -0700, Wade Ward wrote:
>>>
>>>
>>>>>There is a Makefile in the src directory, and it works for me (on a
>>>>>Mac),
>>>>>but there does not seem to be a compile.bat file as mentioned in
>>>>>readme.txt. The run_demo.bat file surely won't do anything interesting
>>>>>if you haven't compiled yet. Have you tried doing a "make"?
>>>>
>>>>That makes it sound like there's a compiler there, but is it the point
>>>>that I have to bring my own, as well as my own source? Then I could have
>>>>as a line in a batch file something like:
>>>>echo on
>>>>gcc some_file.c
>>>>pause
>>>
>>>
>>>Er, no, open source packages never include compilers, unless a compiler
>>>is the actual product (as with gcc). When you buy a box of cereal, do
>>>you expect to find a bowl, a spoon, and a carton of milk inside the
>>>package?

>>
>>No, but I do expect to find close to 30 grams of sugar per 1/2 cup of
>>cereal. Then most people add another 20 or 30 grams of sugar on top of
>>that. Cereal, the real cause of the obesity epidemic.

>
> Frosted mini wheats is the answer. I spent five bucks on my last gallon of
> milk; maybe it was bundled with a compiler?

i don't deal well with wheat gluten. I'll spare you the details.

--

Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

If you want to do the impossible, don't hire an expert because he knows
it can't be done.

-- Henry Ford
Reply With Quote
  #193  
Old 09-15-2007, 04:47 PM
Wade Ward
Guest
 
Default Re: C/C++ speed optimization bible/resources/pointers needed!




"Gary Scott" <garylscott@sbcglobal.net> wrote in message
news:uCTGi.34252$RX.13204@newssvr11.news.prodigy.n et...
> Dave Seaman wrote:
>> On Fri, 14 Sep 2007 22:08:32 -0700, Wade Ward wrote:
>>
>>>>There is a Makefile in the src directory, and it works for me (on a
>>>>Mac),
>>>>but there does not seem to be a compile.bat file as mentioned in
>>>>readme.txt. The run_demo.bat file surely won't do anything interesting
>>>>if you haven't compiled yet. Have you tried doing a "make"?
>>>
>>>That makes it sound like there's a compiler there, but is it the point
>>>that I have to bring my own, as well as my own source? Then I could have
>>>as a line in a batch file something like:
>>>echo on
>>>gcc some_file.c
>>>pause

>>
>>
>> Er, no, open source packages never include compilers, unless a compiler
>> is the actual product (as with gcc). When you buy a box of cereal, do
>> you expect to find a bowl, a spoon, and a carton of milk inside the
>> package?

>
> No, but I do expect to find close to 30 grams of sugar per 1/2 cup of
> cereal. Then most people add another 20 or 30 grams of sugar on top of
> that. Cereal, the real cause of the obesity epidemic.

Frosted mini wheats is the answer. I spent five bucks on my last gallon of
milk; maybe it was bundled with a compiler?
--
Wade Ward
wade@zaxfuuq.net
'If they took all the "And it came to pass's" out
of the Book of Mormon, it would be a pamphlet.'
--Mark Twain


Reply With Quote
  #194  
Old 09-21-2007, 03:36 PM
Wade Ward
Guest
 
Default Re: C/C++ speed optimization bible/resources/pointers needed!



"Gary Scott" <garylscott@sbcglobal.net> wrote in message
newsUWGi.26913$eY.17247@newssvr13.news.prodigy.n et...
> Wade Ward wrote:
>


>>>>Er, no, open source packages never include compilers, unless a compiler
>>>>is the actual product (as with gcc). When you buy a box of cereal, do
>>>>you expect to find a bowl, a spoon, and a carton of milk inside the
>>>>package?
>>>
>>>No, but I do expect to find close to 30 grams of sugar per 1/2 cup of
>>>cereal. Then most people add another 20 or 30 grams of sugar on top of
>>>that. Cereal, the real cause of the obesity epidemic.

>>
>> Frosted mini wheats is the answer. I spent five bucks on my last gallon
>> of milk; maybe it was bundled with a compiler?

> i don't deal well with wheat gluten. I'll spare you the details.

But the details are important. More important than an allergy-specific
proscription is the general method.

I woke up this morning unable to breathe. This failure is an important one
for carbon-based life. I stumble to my driveway where I fail to vomit, but
I keep giving it the college try. I don't recall attending a kegger last
night, but when you fail to yak five times, that would be part of the
syndrome.

The answer: a hot bath and a generous bowl of cereal. The milk is
sweetened with sugar and now sitting next to my clicker with about 10 cc of
1% remaining. One per cent is the breakfast of champions, with wheat, or if
you're allergic: rice chex. Rice chex worx too. Discrete bites are
important for a halting appetite. Add a mouis fille or three and the cup of
joe that waits on the stovetop, and voila.
There was bound to be implications for the flesh after a day a failed
attempt to surf towards Glen. I guess that's one trait that Jack Johnson and
I share, as well as his wonderful music. It wasn't for lack of enthusiasm,
I was too heavy in the 50 gallon tote. How would I float if I instead tried
to do so in still water with the same tools?
--
Wade Ward
"I apparently do have time to bleed. Unusual luxury."


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 12:58 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.