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

Re: How does XML limit "the range of implementationdecisions t

  • From: John Cowan <johnwcowan@gmail.com>
  • To: Stephen D Green <stephengreenubl@gmail.com>
  • Date: Sat, 25 Jun 2022 16:55:05 -0400

Re:  How does XML limit "the range of implementationdecisions t


On Thu, Jun 23, 2022 at 5:09 PM Stephen D Green <stephengreenubl@gmail.com> wrote:

The SQL is declarative, and non-procedural

This is a widespread myth.   SQL is an imperative language whose domain is (mostly) relations rather than lower-level objects.  It is only "declarative" in the sense that C is declarative: you tell the compiler what you want done, and it chooses an execution plan for doing it, namely a machine language program.

As for "procedural", it seems nowadays to be a synonym for "imperative".

Isn't all
declarative, 'non-procedural' code usually actually turned into
something procedural behind the scenes?

Yes, if it is compiled; no if it is interpreted.  This distinction is meaningful but relative: languages are in all cases compiled into something lower-level which is then interpreted, whether by hardware or software.  We call an implementation an interpreter if it does only a small amount of compiling; we call it a compiler if the interpreter is hardware or very low level.
 
Isn't declarative,
'non-procedural' code actually an illusion, wrapping procedural code
under the hood - smoke and mirrors?

On modern pipelined CPU the so-called "machine language" is also smoke and mirrors.  "You don't fool _me_, young man.  It's turtles all the way down."
 



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


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.