POV-Ray : Newsgroups : povray.off-topic : Interesting take on C++ vs others... : Re: Interesting take on C++ vs others... Server Time
9 Oct 2024 06:57:25 EDT (-0400)
  Re: Interesting take on C++ vs others...  
From: nemesis
Date: 4 Jun 2009 15:54:14
Message: <4a282666$1@news.povray.org>
I have to say, after posting it and rethinking about, that I believe he 
missed the point the poster wanted to say:  that higher abstractions 
like recursion and getting away from lowlevel machinery do indeed incur 
in a cost.

He correctly identifies unboxing and variable capture as extras not 
present in the C++ code but that was precisely the point of the author 
-- "The price of abstraction".  By making OCaml behave the same as C++, 
you can indeed maxout performance, but that was not the point... yes, 
Warp, I see what you mean about the dumbing down of the C++ code.

In any case, although he went after C++, I was more annoyed at seeing 
another higher-level language with high level constructs, Scala on the 
JVM, outpacing OCaml.  That's what really stroke me as odd.

-- 
a game sig: http://tinyurl.com/d3rxz9


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.