POV-Ray : Newsgroups : povray.off-topic : Standard libraries : Re: Standard libraries Server Time
6 Sep 2024 03:13:36 EDT (-0400)
  Re: Standard libraries  
From: Warp
Date: 5 Mar 2009 03:41:20
Message: <49af9030@news.povray.org>
scott <sco### [at] scottcom> wrote:
> > Haskell's array libraries... are a mess. Specifically, there is now about 
> > half a dozen of them.

> Not so different with C and all its derivatives (C++, C++ STL, C++ .net), 
> there are many different array handling "libraries", fun if you work with 
> code that uses all sorts of different approaches :-)

  Really? C has no array handling libraries whatsoever (standard C, that is).
The core language has exactly one type of array. (Ok, two if you count
dynamically allocated and statically allocated arrays as distinct, although
they behave basically in the exact same way.)

  The C++ standard libraries have two data containers which could be
considered "arrays" (std::vector and std::deque). Perhaps three if you
count std::string. They are pretty straightforward and well-defined.

-- 
                                                          - Warp


Post a reply to this message

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