[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Feasibility of "do all application coding in the XML langu

  • From: "Mukul Gandhi" <gandhi.mukul@g...>
  • To: "Michael Kay" <mike@s...>
  • Date: Tue, 2 Dec 2008 09:10:59 +0530

Re:  Feasibility of "do all application coding in the XML langu
Hi Mike,
   Thanks for your thoughts.

I agree that functional languages are quite useful. But I think the
problem is, many of the underlying hardware architectures are von
Neumann based. von Neumann machines work best with imperatives
programs (languages).

I think building machine architectures which can support functional
paradigm is challenging ...

On Mon, Dec 1, 2008 at 11:05 PM, Michael Kay <mike@s...> wrote:
> There are no applications that NEED imperative programming (functional
> programming has provably the same computational power). Whether things are
> more EASILY done that way is in large measure a matter of your skills and
> experience. (I remember working with programmers from an older generation
> who claimed coding was easier if they used GOTO statements.) There are one
> or two things I still find easier in imperative languages - notably some
> graph-walking applications - but they are few and far between. Many problems
> that appear to be so complex that you need an imperative language turn out,
> on examination, to be complex only BECAUSE you are using an imperative
> language.
> Of your three examples, one of my clients builds complex workflow
> applications entirely in XSLT/XQuery and it's remarkable how the logic is
> simplified by doing it this way. One of the attractions is that a functional
> language like XSLT or LISP encourages you to think about program and data in
> a more unified way, which is really helpful when building a workflow engine.
> For example, it's natural to think about a set of rules written in an XML
> vocabulary being translated dynamically into an XSLT stylesheet.
> Game programming and GUI programming are a different question because your
> choice of language is heavily dictated by the data you are working with. XML
> languages are good at manipulating XML, they are not so good at manipulating
> images. But functional languages such as Haskell are certainly used for
> implementing "strategy" games such as chess.
> Michael Kay
> http://www.saxonica.com/

Mukul Gandhi

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.