POV-Ray : Newsgroups : povray.off-topic : Standard libraries Server Time
7 Sep 2024 01:22:01 EDT (-0400)
  Standard libraries (Message 9 to 18 of 108)  
<<< Previous 8 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: scott
Subject: Re: Standard libraries
Date: 5 Mar 2009 07:46:40
Message: <49afc9b0$1@news.povray.org>
>  But .NET is not standard C++.

What bit of "Not so different with C and all its derivatives" did you not 
get?


Post a reply to this message

From: Warp
Subject: Re: Standard libraries
Date: 5 Mar 2009 08:23:15
Message: <49afd242@news.povray.org>
scott <sco### [at] scottcom> wrote:
> >  But .NET is not standard C++.

> What bit of "Not so different with C and all its derivatives" did you not 
> get?

  Check the thread topic.

-- 
                                                          - Warp


Post a reply to this message

From: Invisible
Subject: Re: Standard libraries
Date: 5 Mar 2009 08:35:21
Message: <49afd519$1@news.povray.org>
Invisible wrote:

> Yeah. It's a hoot. You use one library that uses array-X, and another 
> library that uses array-Y, and now your program must waste time 
> converting from one to the other. Great fun. :-/
> 
> It wouldn't be so bad if we were talking about complete libraries that 
> differ stylistically or something. But we're not. We're talking about 
> several libraries, each of which only covers about 20% of what you might 
> like to do. But each library covers a different 20%. Which means you're 
> virtually *forced* to use several of them at once... *sigh*
> 
> Apparently everybody else thinks this is "perfectly OK".

Irony: Haskell was invented because there are numerous "competing" 
functional programming languages, and people wanted to concentrate their 
efforts on just one such language.

So having several different but essentially equivilent programming 
languages was "bad". But having several different but somewhat 
overlapping array libraries is "good" and even "to be encouraged". WTF?


Post a reply to this message

From: scott
Subject: Re: Standard libraries
Date: 5 Mar 2009 08:43:29
Message: <49afd701@news.povray.org>
>> What bit of "Not so different with C and all its derivatives" did you not
>> get?
>
>  Check the thread topic.

Yes, and C++ .net has standard libraries, what on Earth is your problem, do 
you really not have anything better to do?


Post a reply to this message

From: Mike Raiford
Subject: Re: Standard libraries
Date: 5 Mar 2009 09:21:14
Message: <49afdfda@news.povray.org>
Invisible wrote:

> So having several different but essentially equivilent programming 
> languages was "bad". But having several different but somewhat 
> overlapping array libraries is "good" and even "to be encouraged". WTF?

Sounds like they drank the OSS flavored kool-aid.

-- 
~Mike


Post a reply to this message

From: Invisible
Subject: Re: Standard libraries
Date: 5 Mar 2009 09:30:12
Message: <49afe1f4$1@news.povray.org>
>> So having several different but essentially equivilent programming 
>> languages was "bad". But having several different but somewhat 
>> overlapping array libraries is "good" and even "to be encouraged". WTF?
> 
> Sounds like they drank the OSS flavored kool-aid.

I have no idea what the heck kool-aid is, but... yes.

Don was the person who rejected my suggestion for working on unifying 
the libraries. Don is also the guy who regularly posts graphs of the 
number of packages being submitted to the Haskell package database. 
(Because, after all, it's the number of packages that matters, right? 
Not, say, the quality of those packages or how many people they're 
useful to or even whether they compile at all...)

Don's position was that "the perfect container API hasn't been invented 
yet" and that we need to "experiment" and that these multiple different 
array libraries would "compete" for users and the best one would win. Or 
something like that.

 From where I'm sitting, we've got a library that does A, B and C, 
another one that does A, D and E, another that does C, D and F, and yet 
another that does X, Y and B. And I'd really like to just have a single 
library that does A through Z easily and without fuss. :-P

IMHO, "competition" only works if people actually have the time and 
inclination to try out all the alternatives and pick the one they like 
the best. That probably works for parser libraries. (Indeed, Haskell has 
at least two major ones - Parsec and PolyParse.) I'm not sure it works 
well for a bunch of array libraries when none of them covers more than a 
few use cases.

But hey, it's only my opinion. And I suck at Haskell, remember? :-S


Post a reply to this message

From: Warp
Subject: Re: Standard libraries
Date: 5 Mar 2009 09:50:31
Message: <49afe6b6@news.povray.org>
scott <sco### [at] scottcom> wrote:
> >> What bit of "Not so different with C and all its derivatives" did you not
> >> get?
> >
> >  Check the thread topic.

> Yes, and C++ .net has standard libraries,

  Defined by which standard?

> what on Earth is your problem, do 
> you really not have anything better to do?

  Look who's talking. ;)

-- 
                                                          - Warp


Post a reply to this message

From: Mike Raiford
Subject: Re: Standard libraries
Date: 5 Mar 2009 10:32:47
Message: <49aff09f$1@news.povray.org>
Invisible wrote:

>> Sounds like they drank the OSS flavored kool-aid.
> 
> I have no idea what the heck kool-aid is, but... yes.

Read http://en.wikipedia.org/wiki/Drank_the_kool-aid it's interesting, 
and gives the source for the expression.

> Don's position was that "the perfect container API hasn't been invented 
> yet" and that we need to "experiment" and that these multiple different 
> array libraries would "compete" for users and the best one would win. Or 
> something like that.

Interesting assertion ... I don't know what to say.

>  From where I'm sitting, we've got a library that does A, B and C, 
> another one that does A, D and E, another that does C, D and F, and yet 
> another that does X, Y and B. And I'd really like to just have a single 
> library that does A through Z easily and without fuss. :-P

No problem compartmentalizing libraries. But, you really don't need two 
libraries that do A, and three that do C, etc ...

> IMHO, "competition" only works if people actually have the time and 
> inclination to try out all the alternatives and pick the one they like 
> the best. That probably works for parser libraries. (Indeed, Haskell has 
> at least two major ones - Parsec and PolyParse.) I'm not sure it works 
> well for a bunch of array libraries when none of them covers more than a 
> few use cases.

How many libraries does it take to deal with such an elementary concept 
as an array? (I assume we're talking about what is essentially a vector, 
a list of values, no particular data structures like hash tables, linked 
lists and the sort ...)

> But hey, it's only my opinion. And I suck at Haskell, remember? :-S

Yeah, right .. Sounds like the Haskell community is dominated by a bunch 
of egos that have closed themselves off from any outside ideas and 
believe that what they think is right, and no one else is.

That's just the sort of thing that will cause a project to stagnate and 
die.

-- 
~Mike


Post a reply to this message

From: scott
Subject: Re: Standard libraries
Date: 5 Mar 2009 10:33:55
Message: <49aff0e3$1@news.povray.org>
>> Yes, and C++ .net has standard libraries,
> 
>  Defined by which standard?

http://en.wikipedia.org/wiki/Standard_library


Post a reply to this message

From: Invisible
Subject: Re: Standard libraries
Date: 5 Mar 2009 11:08:19
Message: <49aff8f3$1@news.povray.org>
>>> Sounds like they drank the OSS flavored kool-aid.
>>
>> I have no idea what the heck kool-aid is, but... yes.
> 
> Read http://en.wikipedia.org/wiki/Drank_the_kool-aid it's interesting, 
> and gives the source for the expression.

...OK, *now* I'm depressed. :-/

>> Don's position was that "the perfect container API hasn't been 
>> invented yet" and that we need to "experiment" and that these multiple 
>> different array libraries would "compete" for users and the best one 
>> would win. Or something like that.
> 
> Interesting assertion ... I don't know what to say.

While it's a reasonable theory, I don't think you can have competition 
between half a dozen semi-broken packages.

I mean, look at web browsers. There's IE, there's Safari, Firebox, 
Opera, etc. But imagine if there was one browser which could do HTTP and 
FTP, but didn't understand HTML. And another browser that understands 
HTML and CSS, but only handles HTTP and not FTP. Now imagine another 
browser that handles HTTP and HTML, but doesn't support forms, but does 
support Java... Would they "compete"? Or would everybody just concluse 
that this whole web dealy isn't worth the effort?

> No problem compartmentalizing libraries. But, you really don't need two 
> libraries that do A, and three that do C, etc ...

See above.

> How many libraries does it take to deal with such an elementary concept 
> as an array? (I assume we're talking about what is essentially a vector, 
> a list of values, no particular data structures like hash tables, linked 
> lists and the sort ...)

Well... Haskell is slightly unusual in that it prefers data structures 
to be immutable. Hence it offers immutable arrays. No other language 
does. Look at BASIC, Pascal, C, C++, C#, Java, Perl, Tcl, etc., and 
arrays are always mutable. Only in Haskell does such an animal as an 
immutable array exist.

The Haskell data structure of choice is a list or a tree, because these 
can be recursively defined. Arrays are not recursive, but it is possible 
in various ways to pretend that they are. Similarly, immutable arrays 
aren't particularly useful, but there are various ways to make mutable 
arrays look immutable while retaining efficiency.

So, to summarise, arrays are slightly tricky in Haskell. There are 
design choices to be made, and the optimal choice varies depending on 
what you want to do. By contrast, C arrays are "just arrays".

>> But hey, it's only my opinion. And I suck at Haskell, remember? :-S
> 
> Yeah, right .. Sounds like the Haskell community is dominated by a bunch 
> of egos that have closed themselves off from any outside ideas and 
> believe that what they think is right, and no one else is.

Either that, or I come across as sounding like an idiot so people ignore 
the content of what I'm saying.

Don and friends all seem like highly intelligent people. Maybe they just 
have other priorities or something, IDK.

> That's just the sort of thing that will cause a project to stagnate and 
> die.

Er, yeah.

But hey, it's already begun. Every day, mainstream programming languages 
continue to steal Haskell's inovative ideas. Maybe someday soon Haskell 
truly will wither and die. :-(


Post a reply to this message

<<< Previous 8 Messages Goto Latest 10 Messages Next 10 Messages >>>

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