Tcl Announces NaTcl: Native Client Tcl
Minix writes "Tcl has announced the first scripting language to be supported by NaCl (Google's native client,) giving Tcl programs direct access to Chrome's DOM and marking the first such scripting language alternative to JavaScript. A demonstration of direct Tcl access to HTML5's Canvas is given. A variant of Tk for Native Client will soon follow. Web applications can right now be written completely in Tcl, as the original HTML specifications intended :)"
All security arguments aside, it seems that we may be going from an architecture-independent web to an architecture-dependent one. Sad. Maybe the mid-2000s will seem like a golden age of openness in the future. Platform-independent web applications were the hot new thing, the iPhone hadn't come out so open mobile devices still existed, anybody who suggested running native code from websites, or producing a locked-down device would have been laughed out of the room...ah the good ol' days...
"When information is power, privacy is freedom" - Jah-Wren Ryel
Native Client is open source. So any browser, even IE, could incorporate it.
In that important respect they are very different.
"There are four boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order." Ed Howdershelt
only for people who want to restrict their website to Chrome users.
Well, uh, not necessarily.
HTML standard itself has never required specific scripting language. That's why it's a requirement to specify the language used. That's why you also have monstrosities as VBScript used on the web.
Also, the same source already cites Tcl as a possible language, with even the corresponding content type. So it's a recognized possibility for some time. It only happens that nobody used it before google.
Last but not least, unlike VBScript, Tcl is not proprietary, is well documented and has an opensource implementation and no known patent limitation, so it's freely usable by anyone. Thus if this thing catches on, it could be used by most browsers (except maybe by Microsoft Internet Explorer which, as usual, would probably lag behind in implementing open standards).
What will stop adoption is not the language itself. It's the fact that, for 99.9% people out there, Javascript is more than enough.
Python would probably have a better chance of ever being used - and even it doesn't stand much a chance against the js establishment.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
It's a good thing.
Not when IE, Safari, Firefox, Opera, Mobile Safari, and Android's browser don't support the NaCl required for NaTcl. Firefox has explicitly rejected NaCl, and Apple would likely reject it as an end run around the App Store. And not when members of your site's audience on corporate computers have NaCl turned off for the same reason they have ActiveX turned off. For them, it'd be like turning JavaScript off, which makes a lot of web applications nearly unusable.
I thought that one of the samples included with NaCl was a Lua interpreter, meaning that TCL is far from being first.
I never said it did, only that it was popular and not x86. I own lots of things that are not x86, some more popular than others. Breaking the web for my sparc workstation would be pretty annoying.
Canvas, on its basic level, is turtle graphics of the HTML5 age. It's very handy for short, simple demos.