Re: Javascript: Time Traveller From the Year 1962!

[prev] [thread] [next] [lurker] [Date index for 2005/04/09]

From: Michael G Schwern
Subject: Re: Javascript: Time Traveller From the Year 1962!
Date: 00:13 on 09 Apr 2005
On Fri, Apr 08, 2005 at 03:45:07PM -0700, David Wheeler wrote:
> My understanding from talking to some JS folks on IRC is that 
> JavaScript was never designed to do I/O. Too much of a security threat 
> in browsers. Of course, this makes it practically useless as a 
> general-use language (maybe one can hack around that in Rhino, but I 
> haven't played with it, yet).
> 
>   http://www.mozilla.org/rhino/
> 
> So, without I/O, all you can do is ask the JavaScript host (Mozilla, 
> IE, Safari, whatever) to do it for you. They don't provide a general 
> way, either, so you have to use the DOM to create a new script element. 

So I have to write a hack which depends on the JS implementation to work
around a blanket security measure. 

BRILLIANT!  Classic, too.


> The upshot is that I don't think that there can ever be a CJSAN. Pity.

Yes.  Alas. :(

And now for a generalized and vaguely productive hate:
"Early Decisions All Language Designers Will Regret"
http://use.perl.org/~schwern/journal/24082

Join in.  Its fun!

There's stuff above here

Generated at 12:00 on 12 Apr 2005 by mariachi 0.52