Marketing of D - article topic ideas?
"Jérôme M. Berger"
jeberger at free.fr
Wed Jun 9 10:52:29 PDT 2010
Andrei Alexandrescu wrote:
> On 06/08/2010 01:27 PM, "Jérôme M. Berger" wrote:
>> Andrei Alexandrescu wrote:
>>> On 06/07/2010 04:35 PM, "Jérôme M. Berger" wrote:
>>>> Andrei Alexandrescu wrote:
>>>>> On 06/07/2010 12:57 PM, "Jérôme M. Berger" wrote:
>>>>>>> Do this in any dynamic language -> FAIL because looping is so
>>>>>>> slow that you might
>>>>>>> die of old age before it executes. Besides, who wants to do
>>>>>>> computationally
>>>>>>> intensive, multithreaded work in a dynamic language?
>>>>>>
>>>>>> In python: max (map (max, args)) should have reasonable
>>>>>> performances and is *much* more elegant...
>>>>>
>>>>> I very much doubt that.
>>>>>
>>>> What do you doubt? That it has reasonable performance or that
>>>> it is
>>>> more elegant?
>>>
>>> That it has reasonable performance. Then, there are a number of things
>>> that can't be compared such as figuring out the tightest static types,
>>> something that Python doesn't worry about (at the expense of precision
>>> and performance).
>>>
>> Please define "reasonable performance"...
>
> Within 15% of hand-optimized code specialized for the types at hand.
>
Then almost nothing has "reasonable performance"...
Jerome
PS: I should maybe point out that I also do quite a lot of Verilog
development. Therefore I can hand optimize specialized code a lot
better than anything you can do on a standard CPU...
--
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20100609/d460b4d9/attachment.pgp>
More information about the Digitalmars-d
mailing list