Re: Choosing a PL - What you can do or how you do it?



evan@xxxxxxxxxxxxxxxxx skrev:
[...]
On the one
hand, it is all well and good to sing the praises of languages like
Haskell, and it's FP brethren, but on the other hand - why do
necessary languages like C/C++ get such a bad rap, when it is pretty
clear we can't actually live without them?

Well, in fact there are saner alternatives to C and C++. Oberon, for
instance, is a completely type safe procedural language with OOP support.

http://www.zel.org/oberon/fromctoo.htm
http://www.modulaware.com/mdltws.htm
http://www.modulaware.com/mdlt49.htm

Now, if Haskell could do
all the things that C can do - including meeting performance
requirements - then I would be fully converted. Right now, I'm still
sort of on the fence - and quite a bit skeptical. Thoughts, anyone?

To cite Niklaus Wirth regarding functional languages:

"To postulate a state-less model of computation on top of a machinery
whose most eminent characteristic is state, seems to be an odd idea, to
say the least. The gap between model and machinery is wide, and
therefore costly to bridge. No hardware support feature can wash this
fact aside: It remains a bad idea for practice. This has in due time
also been recognized by the protagonists of functional languages. They
have introduced state (and variables) in various tricky ways. The purely
functional character has thereby been compromised and sacrificed. The
old terminology has become deceiving."

http://www.cs.inf.ethz.ch/~wirth/Articles/GoodIdeas_origFig.pdf


August


.



Relevant Pages

  • Re: Q: functional/equational language, smells a little of Python
    ... which made me think of Python. ... > scripting languages like Perl and Python, ... > being offered for other functional languages. ... > evaluation capabilities as a term rewriting language dictate that the ...
    (comp.lang.python)
  • Re: Commercial viability
    ... Functional languages do seem to be more agile, ... store and they typically lack type inference (dynamic types are a very ...
    (comp.lang.functional)
  • tired of shootouts, cross-posting, and closed minds
    ... a semantic quibble about what a "running server" is. ... camp in this discussion to presume that the Lisp camp is filled with ... languages is incapable of doing things interesting to someone. ... have not found the features of functional languages personally ...
    (comp.lang.lisp)
  • Re: Choosing a PL - What you can do or how you do it?
    ... necessary languages like C/C++ get such a bad rap, ... Not if you want parallelism with code humans can still read. ... and executed on a large cluster of commodity machines. ... also been recognized by the protagonists of functional languages. ...
    (comp.programming)
  • Re: Language chatter
    ... functional languages as coming primarily from *syntactic* elements. ... so it can not be non-Turing complete as long as the parent language ... Restricting access to features of the parent language to get this ...
    (comp.lang.ruby)