News for hackers. Stuff that matters.
Re:The Wolfram Language: Fast Introduction for Programmers by chinhodado on Monday December 21, 2015 @02:11PM (#10772801)
I don't really understand the point of the Wolfram Language. It feels like a language with a humongous standard library that tries to cover everything?
Re:The Wolfram Language: Fast Introduction for Programmers by sundarurfriend on Monday December 21, 2015 @04:03PM (#10773491)
There's a "For programming language experts" page[1], which describes the language as:

> The Wolfram Language is first and foremost an evolution of the symbolic language developed for Mathematica over the course of more than 25 years. But it's considerably more than that—adding the knowledge, knowledge representation and natural language abilities of Wolfram|Alpha, as well as a new symbolic deployment mechanism created with the Wolfram Cloud.

This is followed by a "Buzzword Compliance" section, which lives up to its name, but describes some of the features of the language

[1] http://www.wolfram.com/language/for-experts/

Re:The Wolfram Language: Fast Introduction for Programmers by rtkwe on Monday December 21, 2015 @02:58PM (#10773072)
It's purpose is much the same as Maple or R a language designed with mathematics and stats. The standard library is just one of the peculiarities of how Wolfram decided to design his language. Instead of using libraries like R it's all built in. Beneath that it's not so terribly odd being a mostly functional language with a standard library that covers maths requirements.
Re:The Wolfram Language: Fast Introduction for Programmers by brandonbloom on Monday December 21, 2015 @03:36PM (#10773331)
Beyond surface similarities like an emphasis on data transformation over side-effects, I wouldn't call Mathematica a functional language. It's much better classified as a term rewriting language: https://en.wikipedia.org/wiki/Category:Term-rewriting_progra...
Re:The Wolfram Language: Fast Introduction for Programmers by 4ad on Monday December 21, 2015 @04:47PM (#10773757)
Then I guess you don't call Lisp a functional language either?
Re:The Wolfram Language: Fast Introduction for Programmers by brandonbloom on Monday December 21, 2015 @05:27PM (#10774019)
Lisp's evaluation strategy is based on a very particular category of rewriting systems known as the lambda calculus. Mathematica's is an abstract rewrite system with a broad set of evaluation strategies that are not easily represented in the lambda calculus (without first implementing a term rewriting system).
Re:The Wolfram Language: Fast Introduction for Programmers by strmpnk on Monday December 21, 2015 @05:01PM (#10773860)
The syntactical building blocks might be similar but the execution model differs. While you could obviously achieve any sort of term evaluation with a metainterpreter, the TRS in Mathematica offers a rather smart rewriting system.

It can easily express things like associative and commutative operators (esp. useful if you have a pattern that matches on a use of that operator), and alternate evaluation orders (outside-in, mixed, lazy, held, &c). These are hard to trivially implement w/o very different kind of interpreter.

In this sense, most Lisp implementations pick a static evaluation strategy and leave implementing alternatives to a metainterpreter, which isn't exactly what's happening in Mathematica.