comp.lang.ada
 help / color / mirror / Atom feed
From: Vinzent Hoefler <vinzent@MailAndNews.com>
Subject: RE: is ada dead?
Date: Mon, 9 Jul 2001 09:23:59 -0400
Date: 2001-07-09T09:23:59-04:00	[thread overview]
Message-ID: <3B635921@MailAndNews.com> (raw)

Original Message From "Jean-Pierre Rosen" <rosen@adalog.fr>
>"Vinzent Hoefler" <vinzent@MailAndNews.com> a écrit dans le message news:
3B5F53D1@MailAndNews.com...
>> future). I'm still doing ancient, but f* fast assembly code and to tell you
>> about some success with that "consider it to be dead, too"-language, I got
a
>> 50-60 _times_ (5,000%) speed improvement last week compared to some old
>> code.
>>
>Well... Recently, I improved some code from one of my clients 50 times too -
by
>replacing convoluted Ada code by better Ada code.

That's cool. And probably you did a much better job then.

>Not to diminish the value of what you are doing -

Oh no, writing it wasn't that hard. The hard work was still done with pencil
and paper to figure out the algorithm. The fact is that Assembly just does a
much better job in simple bit shuffling with floating point variables than a
dumb compiler that always decides to use floating point instructions with
such
ones[*] and does not even really know of 64-bit mantissas or of the
existance
of quite strange 24-bit floating point formats at all. Not to mention the
little/big endian problem.

Expressing those in HLL would have become more unreadable than the less than
40 lines of well commented assembly that probably no-one is ever looking at
again once it is working.

[*]Bad side effect of strong typing, I guess. ;-)))

>just another example that you can get tremendous speed-ups by doing the right
>thing, irrespective of language.

Yes. First improve the algorithm. That's what I really did in the end. Just
chose a better suited language. :-)


Vin"Writing too much, should work on my device driver."zent.




             reply	other threads:[~2001-07-09 13:23 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-09 13:23 Vinzent Hoefler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-07-10 14:02 is ada dead? Vinzent Hoefler
2001-07-09 16:20 Vinzent Hoefler
2001-07-09 13:24 Vinzent Hoefler
2001-07-09  7:40 Vinzent Hoefler
2001-07-09  7:39 Vinzent Hoefler
2001-07-09 12:06 ` Jean-Pierre Rosen
2001-07-08 12:07 Gautier Write-only-address
2001-07-06  6:19 Vinzent Hoefler
2001-07-05 21:56 tyler spivey
2001-07-05 23:11 ` James Rogers
2001-07-06  0:21 ` Gerhard Häring
2001-07-06  2:31 ` wzm
2001-07-06  7:47 ` Pascal Obry
2001-07-06 12:12 ` Martin Dowie
2001-07-06 21:33   ` Bobby D. Bryant
2001-07-06 14:04 ` Marin David Condic
     [not found]   ` <3B45E0E9.E3E7BB55@nokia.com>
2001-07-06 16:45     ` Marin David Condic
2001-07-06 18:28 ` Robert Dewar
2001-07-06 19:12 ` Lao Xiao Hai
2001-07-07  1:57   ` Adrian Hoe
2001-07-06 21:36     ` Bobby D. Bryant
2001-07-07 10:53       ` Larry Kilgallen
2001-07-07 18:44         ` James Rogers
2001-07-08  3:15           ` Stephen J. Bevan
2001-07-08  3:46             ` James Rogers
2001-07-08  5:29               ` Stephen J. Bevan
2001-07-09 14:27                 ` Marin David Condic
2001-07-08 11:07             ` Larry Kilgallen
2001-07-08 14:57               ` Stephen J. Bevan
2001-07-08 13:34       ` Me
2001-07-07 18:33     ` James Rogers
2001-07-07 22:41       ` Andrzej Lewandowski
2001-07-08  0:58         ` Larry Kilgallen
2001-07-09  1:33           ` Florian Weimer
2001-07-08  1:45         ` Jeffrey Carter
2001-07-08 17:19           ` Robert C. Leif, Ph.D.
2001-07-08 21:28             ` Larry Kilgallen
2001-07-09  2:46               ` Robert C. Leif, Ph.D.
2001-07-08 10:52         ` Michal Nowak
2001-07-08 22:38           ` Andrzej Lewandowski
2001-07-09  1:20             ` James Rogers
2001-07-09 14:45               ` Marin David Condic
2001-07-09 15:54                 ` Ted Dennison
2001-07-09 20:27                   ` Jerry Petrey
2001-07-09 21:08                     ` Ted Dennison
2001-07-14 16:49                     ` Stefan Skoglund
2001-07-09 16:50             ` Michal Nowak
2001-07-15 18:14             ` Lao Xiao Hai
2001-07-16 15:38               ` Marin David Condic
2001-07-16 17:32                 ` Mark Lundquist
2001-07-16 22:18                   ` tmoran
2001-07-21 16:30                   ` Bertrand Augereau
2001-07-16 18:19                 ` Larry Kilgallen
2001-07-16 18:21                   ` Marin David Condic
2001-07-16 20:14                     ` Gary Scott
2001-07-16 18:26                   ` Mark Lundquist
2001-07-16 21:21               ` Michal Nowak
2001-07-10 23:31         ` raj
2001-07-10 23:32         ` raj
2001-07-07 22:37     ` Andrzej Lewandowski
2001-07-08  1:10       ` James Rogers
2001-07-08  1:47       ` Jeffrey Carter
2001-07-08  9:01       ` Pascal Obry
2001-07-08 10:52       ` Michal Nowak
2001-07-08 22:40         ` Andrzej Lewandowski
2001-07-09  1:48           ` James Rogers
2001-07-09 15:11           ` Jerry Petrey
2001-07-09 16:14             ` Al Christians
2001-07-10  1:21               ` Pat Rogers
2001-07-10  2:29                 ` Al Christians
2001-07-09  1:44       ` Florian Weimer
2001-07-08 21:05         ` Bobby D. Bryant
2001-07-09 15:09           ` Ted Dennison
2001-07-14 18:40           ` Stefan Skoglund
2001-07-09  2:37       ` Adrian Hoe
2001-07-07 23:03 ` chris.danx
2001-07-09 15:22   ` Ted Dennison
2001-07-09 16:13     ` chris.danx
2001-07-10  9:02     ` Emmanuel Briot
2001-07-10 13:58       ` Ted Dennison
2001-07-10 17:04       ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox