Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - Re: [xml-dev] Feasibility of "do all application coding in the XML [Thread Next] RE: [xml-dev] Feasibility of "do all application coding in the XMLTo: "'Rick Jelliffe'" <rjelliffe@-------.---.-->, <xml-dev@-----.---.---> Date: 12/2/2008 10:32:00 AM > I don't see that functional programming is any different than > imperative programming in this regard: unless the CPUs SIMD > data structures are first-class objects (or have a first > class abstraction that is > CPU-neutral) and useable in the platform APIs, the SIMD > instructions are just inaccessible: the result is our text > processing programs run slower > (2 times? 10 times?) than they could. I think there is a difference: in a functional (stateless) language, far more aggressive compile-time rewriting of expressions is possible, including the ability to generate code that does multiple operations in parallel. This kind of rewriting cannot be done in imperative languages because the side-effects cannot be statically analysed. I think Intel are the only people currently doing this kind of rewriting (for XSLT) in a way that goes right through to generating code for specific hardware, but the potential is there. Michael Kay http://www.saxonica.com/ _______________________________________________________________________ XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting. [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ Or unsubscribe: xml-dev-unsubscribe@l... subscribe: xml-dev-subscribe@l... List archive: http://lists.xml.org/archives/xml-dev/ List Guidelines: http://www.oasis-open.org/maillists/guidelines.php | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
