Google Engineer: We Need More Web Programming Languages
itwbennett (1594911) writes Web applications may one day surpass desktop applications in function and usability — if developers have more programming languages to choose from, according to a Google engineer. 'The Web is always available, except when it is not,' said Gilad Bracha, software engineer at Google and one of the authors of Google Dart, speaking to an audience of programmers Wednesday at the QCon developer conference in New York. 'It isn't always available in a way that you can always rely on it. You may have a network that is slow or flaky or someone may want to charge you.' Therefore any Web programming language, and its associated ecosystem, must have some way of storing a program for offline use, Bracha said. The Web programming language of the future must also make it easier for the programmer to build and test applications.
any Web programming language, and its associated ecosystem, must have some way of storing a program for offline use
So what's the point of this being a "Web" language? Why not just keep downloading apps like we always have?
There are far too many choices now.
JavaScript and VBScript.
I agree there is atleast one choice too many.
Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
"Web programming language is a buzzword that I heard before since 1994-1995 over and over and over and over and over again. Here is one joke about one of the "Web programming languages" from that era:
--Knock knock!
--Who is there?
--... (wait one minute before replying... And then:) Java!
But for some reason, every declared "web programming language" seem to not having universal adoption.
Question is: Why, and why are they talking about it again and again?
Translation: Google is about to introduce yet another web language into this Tower of Babel
SJW's don't eliminate discrimination. They just expropriate it for themselves.
A Google engineer that designed a web language no one wants to use much less need, gives a talk about how the web needs more languages.
Part of me wants to think the guy is just nuts but this is starting to seem like a trend from Google.
They try to create a many options/products as possible to weaken established standards and then take them over with half-assed efforts that never work out.
The good thing about standards is that there are so many to choose from.
Stupidity is an equal opportunity striker.
Fellow slashdotter Bill Dog
I thought that was what Java was "supposed" to be. Write Once, Run anywhere ?
Oh yeah.. That's right... 99% of programmers ONLY write for their target... Use libraries designed for their preferred target and can't even bother to test the damned thing...
And I've been programming around 33 years (As a professional for about 25) so just a "little" familiar with what happens because of "I have this Tool (hammer) so every problem must be solved with it (everything = nail).
UPS Sucks
Yeah, I agree. The first thing to do would be to reinvent the web browser. I guess HTML would still suit for displaying static content, but all the interactive stuff is like rockets duct-taped on a stone-age sleigh.
So how about that? A programming language that'll download and store a program for later use just in case the network connection isn't stable or available. Sounds good to me. Having more than one way to get a program is a great thing to do.
Seems to me that if I can't rely on my network I'd want some sort of storage media that'll let me back up or reinstall the base program. It should also be light and easy to transport with plenty of additional storage space, just in case of anything.
Seriously, the older I get the more I find out that everything old is new again.
http://xkcd.com/927/
Web browsers should at this point be able to parse some sort of bytecode that can be translated to native. This way anyone can use whatever programming language he or she pleases. Google did a great work with PNaCL, but I don't think that will ever gain traction from the other vendors.
Mozilla's ASM.JS is much better idea and much closer to a real-life usage scenario, but Google itself is not doing enough to promote it and their support is half assed (even though It would definitely benefit them).
I'm a old fogey. And I welcome new programming languages. Because the existing ones suck so much.
When do you suggest we should have stopped? With COBOL as the major language? or C? With PHP as the major web language? With PERL is the major scripting language?
Bring forth every language anyone wishes to invent, and let the good ones rise to the top.
Software quality is a different issue. And most of it is in unrelated to language. But on the language side, new languages can help. Take Swift vs Objective-C. Many or most fatal bugs and security vulnerabilities with C languages revolve around stray pointers, exceeding bounds, and omitting breaks in case statements or braces around if blocks. These are simply not possible in the new language. And thus software quality will be improved.
Yep, and even if you use the correct tool for the job people rewrite it anyway. I used XSLT to turn XML into a different XML. It was 20 lines and worked great. I came back later and somebody had replaced it with 2500 lines of C#.
Peter predicted that you would "deliberately forget" creation 2000 years ago...
Except once it's offline it's no longer contained...
How? Pretty much every major platform other than Windows desktop, OS X, and GNU/Linux has some sort of containment measure by default. This includes Windows Phone, Windows RT and Windows 8's WinRT subsystem, Android, iOS, and modern game consoles.
Some of our best CS minds are already working on it.
Have gnu, will travel.
This happens because the desktop UI has "spoiled" users and application requesters. We as developers cannot say "it can't be done" because it can be done and they've seen web applications or demos that do make their browser act like a desktop GUI.
However, the web standards are poorly fitted for desktop-style GUI's such that we have to "force it" with tricks and micromanaging low-level details with kludges, including dealing with browser-version-specific differences.
But forcing it results in a web application that is expensive to build and especially difficult to maintain. The result is that the requester balks at the initial cost, and then balks again when maintenance is an even bigger expensive headache. Thus, the requester is double pissed.
I believe it's time to rethink how web-served UI's are done. A new "GUI markup language" perhaps should be invented that does most of the common desktop-like GUI idioms declaratively (as markup) to reduce the need for direct GUI coding in JavaScript or whatnot.
Java applets and Flash gave of a taste of GUI-centric engines. But applets have awkward API's and don't integrate well with existing HTML browsers. Flash provided decent GUI's and API's, but Flash is proprietary, limiting its reach, and also suffers from the HTML integration problem.
A key lesson from Java and Flash is that a new GUI markup standard is probably going to have to be a super-set of HTML so that the HTML content and the GUI content don't have to run on different engines or panels. Hopefully it will also have an open-source version.
Table-ized A.I.
I didn't make any such blanket assertion. I pointed out that Swift in particular doesn't have the brain dead design defects of C, from which Objective-C also suffers. It's a language specifically crafted to do what Objective-C did previously without all the C crap. Crap that causes many or most bugs in C language programs.
That does nothing to say that BASIC is better or worse than any other language.
And bounds checking and preventing stray pointers is certainly not "safety features de jour". No more than keeping rats and cockroaches out of restaurants is "health standards de jour".
So that'd be about five lines in awk, right?
Even ignoring whether you trust Google to stand behind anything they throw out there, we really don't need more languages for web programming. JavaScript might have a few things that make it quirky, but it isn't a particularly difficult language to learn, and there's no compelling reason to use anything else.
The part of web app development that sucks isn't the language. It's the API. The HTML/XML DOM is a horrible way to design a UI, and browsers implement lots of things in different and inconsistent ways. For example, I once built a website that uses the HTML editing API, and found myself repeatedly adding piles of browser-specific workarounds. The worst was Internet Explorer, and it was such a nightmare that I basically gave up trying to make it fully work. But both Firefox and WebKit had serious bugs, most of which have still not been fixed (though a few of them have at least been fixed in Google's fork).
And that's the tip of the iceberg. While doing design work for an EPUB book, I found such fascinating bugs as:
Almost every time I try to do anything significant with any browser (or with eBook readers based on browser engines), I end up filing five or six bugs against the browser, and although nearly all of them do get confirmed, within a small margin of error, none of them ever get fixed. All the while, these browsers keep getting new features, most of which are not fully implemented, most of which are just as fragile and buggy as the previous features that I filed bugs about, and we're trying to build apps on top of that mess. It's like developing for an early beta of an operating system, only the OS never gets out of beta.
That's what's wrong with writing apps on the web. The d**n browsers suck. They all range from horrible to utterly catastrophic. And that's me putting a positive spin on things. So before Google wastes a lot more time creating new languages that don't fix any real problem, thus adding yet another major browser feature that will only halfway work just like all the others, they and other web browser manufacturers need to take the time to fix the steaming dung heaps that they call browsers so that every single &^$@#(&^@ web programming project doesn't require me to spend 75% of my time working around browser bugs.
Check out my sci-fi/humor trilogy at PatriotsBooks.