[music-dsp] [OT] Stupid C Question
James Chandler Jr
jchandjr at bellsouth.net
Thu Dec 23 11:09:01 EST 2004
Thanks, that shootout site is interesting.
A shame that the shootout site doesn't have speed test entries for
expertly-hand-tuned ASM.
It would be interesting to know on what flavor of tests that well-done ASM might
offer speed advantages, and the magnitude of any such speed advantage.
I'm wild-guessing that at least some of the compute-intensive tests could be won
by well-written ASM, but perhaps that guess would turn out wrong. Would be
interesting to know.
JCJR
----- Original Message -----
From: <gogins at pipeline.com>
To: <music-dsp at ceait.calarts.edu>
Sent: Thursday, December 23, 2004 10:31 AM
Subject: Re: [music-dsp] [OT] Stupid C Question
Thanks for your response. I have to admit, I knew _of_ Ada, but I don't
_know_ Ada.
My experience is that once I started using the Standard C++ Library
templates and boost, my C++ programming began to feel rather like what you
describe with Ada. But then you have no pointer arithmetic and optional
garbage collection, which would be advantageous.
What is the speed of Ada compared to C/C++? See for yourself at:
http://shootout.alioth.debian.org/index.php?sort=cpu
Compare the CPU time benchmarks for Ada 95 with the CPU time benchmarks for
gcc and g++.
More information about the music-dsp
mailing list