- From: Rik Cabanier <cabanier@gmail.com>
- Date: Sat, 1 Dec 2012 09:00:09 -0800
- To: peasthope@shaw.ca
- Cc: www-svg@w3.org
- Message-ID: <CAGN7qDDS42vtEpqrviFn-eMZRwO-Oohn2MqKBZLbotZhLkFsKQ@mail.gmail.com>
Hi Peter, I have programmed PostScript for many years and I can tell you that it is not very elegant and not what the majority of people want. If you want a similar experience, you should look at Canvas. It was designed as a quick path to Core Graphics which started as a front end to PDF 1.3+ which was a cut-down version of the PostScript drawing model. JavaScript and PostScript share many similar traits (such as dictionaries and the vm). JavaScript is much easier to write and read since you can write real 'for' loops, switches, if/else statements, ... They are also both non-retained modes, except canvas lets you bring in content from the dom and lets you do pixel manipulation. SVG is several layer removed from that with its reliance on DOM. This is its strength but also a drawback as it makes scripting slower and harder. Rik On Fri, Nov 30, 2012 at 9:58 AM, <peasthope@shaw.ca> wrote: > From: "David Dailey" <ddailey@zoominternet.net> > Date: Thu, 29 Nov 2012 21:37:22 -0500 > > I think at the core of the debate is what sort of a thing we want SVG to > be. > > A related question. Two features of SVG and siblings are striking; > absence of capability for calculation and clumsiness of syntax. > In comparison, PostScript handles calculations nicely and syntax > is elegant. So I've always wondered about a language combining the > capabilities of the Web markups with the syntactic elegance and > Turing completeness of PostScript. I guess the question has been > discussed but I've never encountered a mention. > > The above is slightly provocative, only for emphasis. > > Regards, ... Peter E. > > > -- > 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 > Tel +13606390202 Bcc: peasthope at shaw.ca http://carnot.yi.org/ > "http://members.shaw.ca/peasthope/index.html#Itinerary " > > >
Received on Saturday, 1 December 2012 17:00:39 UTC