12 ms·
Google to announce "new programming language for structured web programming"
- alexatkeplar 15y agoBased on the authors, my guess is a Smalltalk-ish interpreted lang for Web programming, which runs on V8? So a higher-level compliment to Go. Sounds promising - will be interesting to compare to Io/Ioke/Seph...
- cdleary_ 15y ago> a Smalltalk-ish interpreted lang for Web programming In what practical sense would that differ from JS?
- michaelcampbell 15y agoIt would be something other than JS... ;-) Your point is well taken; I know some who hate JS because, well, it's JS. I doubt Google is trying to cater to THAT crowd as such, but if Gilad Bracha is involved in it I think it will at least be worth looking at.
- jurjenh 15y agoMaybe in much the same way as CoffeeScript differs from JS. It doesn't need to be that much different to be better. Of course this depends on how you define "better" and "different."
- drothlis 15y agoMaybe it's about more than just the language. Have you actually seen a Smalltalk development environment? (e.g. http://vimeo.com/27850933 http://vimeo.com/27850933 ).
- katox 15y agoI wonder how many of (quite a few) unique newspeak features will Dart sport. My gut feelings are that Google will try to please mainstream instead. That'd be unfortunate but if things like no namespace or modularity were alike it'd be still cool as a wider scale experiment.
- michaelchisari 15y agoThis will be interesting. Given Google's love for Python, I'm excited to see how they feel they could improve on that. Although, I wonder if the language may be more suited to Google's needs (which are pretty specific) than the general web programming world.
- rbanffy 15y ago> This will be interesting. Given Google's love for Python Since they also love Java a lot, I am not that optimistic.
- watty 15y agoNo more web languages, I can't keep up!
- espadagroup 15y agoWait what was GO suppose to be used for?
- slillibri 15y agoGo was initially intended as a systems language, but has been expanded into a more general purpose language.
- chc 15y agoSystems programming, very explicitly. Go is basically aiming at C, whereas it sounds like this is going to be aiming at trendier languages like Python and JavaScript.
- dongsheng 15y agoGo is to compete with cpp/c#, it slowly growing, lately it's available on google app engine
- drivebyacct2 15y agoI got all excited that this was the "Spot" we've been hearing about... but alas, something even newer. I have dreams of a Go-like language that could be used for both web server and web client programming.
- pointyhat 15y agoI know this sounds a little coarse, but I really don't care about yet another new programming language. There are too many already with so many distinct use cases and niches. I think a simple, general purpose programming language is good enough(1) for the web and I'd rather have one tool for all jobs versus another edge case language. In fact I'd rather have someone concentrate on one good "multi-tool" than provide me with a hundreds of cheap short-lived screwdrivers with different shaped heads. Innovation should be about making the status-quo better, not introducing a new status-quo every 5 minutes with new promises. (1) - "Good enough" is an under-used term these days.
- dantheman 15y agoI have to completely disagree, there isn't enough innovation in the programming language space. The more people we have writing languages and the more people using them, the more quickly we'll discover new patterns and improved ways of doing things. Improved programming languages with better abstractions, better guarantees can allow whole new classes of programs to be written. Of course, they could be written using traditional techniques but the complexity and difficulty involved can make them almost impossible.
- pointyhat 15y agoI completely disagree with your disagreement. There is plenty of innovation in the programming language space. There is too much. We're too busy working out how to talk to the machines versus how to get problems solved. We're here to solve problems, not serve the machines. In fact, the shortage is in computer-science research. There has been NOTHING as fundamentaly important as Knuth's work in the last couple of decades. It's an innovation standstill. Nothing fundamentally better than the UNIX and LISP paradigms is out there for example. Until something fundamental changes, most of what we have will do the job fine.
- llimllib 15y ago> There has been NOTHING as fundamentaly important as Knuth's work in the last couple of decades. What work of Knuth's? TOACP? TeX? I'm a huge Knuth fan, but I don't see his work as fundamental to computer science, rather mostly as an amazing gatherer and editor of such work.
- Kilimanjaro 15y agoGimme a mix of harmony and coffeescript on the server and I'm sold. Btw, no static typing please, the web is definitely dynamic, oh one last thing, remember the hobbyists.
- leon_ 15y ago> Btw, no static typing please, the web is definitely dynamic Could you explain what you mean with that?
- ams6110 15y agohttp is a text protocol. Best to deal with values as text, and dynamically as other types when needed.
- colanderman 15y agoMost data sent over HTTP that's parsed by scripts is either XML or JSON, both of which are highly structured. XML in particular has a rich type system.
- ams6110 15y agoYou are leaving out simple urlencoded data sent with GET and POST. I'd say that is a huge chunk of what's parsed by scripts. Also XML and JSON are, at the bottom of it all, text, with (perhaps) type metadata.
- colanderman 15y agoEverything "at the bottom of it all" is just "text", a sequence of octets. The point of a type system is to make sure you adhere to the structure inherent in that series of octets.
- flatline 15y agoSince there is already a very nice, albeit quirky, dynamically typed langauge for the web, I think there is room for something different. If you want to build robust applications with larger teams - as is increasingly the case with JavaScript - it would be really nice to have features of a statically typed language. Same goes with the performance overhead for processor-intensive apps, which we are also seeing more of with JavaScript. We are learning enough about the potential for powerful browser-based apps that we could conceivably start to come up with something better. On the other hand, and to your point, nobody wants to reinvent SOAP.
- deleted 15y ago[deleted]
- deleted 15y ago[deleted]
- dfischer 15y agohttp://sass-lang.com/ http://sass-lang.com/
- mikelyons 15y agohttp://learnboost.github.com/stylus/ http://learnboost.github.com/stylus/
- randomdata 15y agoI think CSS is fine for documents. Your style rules will be pretty simple and consistent. The problem is when you try to shoehorn an application onto HTML. Then I agree, CSS is an abomination. I have taken a liking to using Javascript widgets that manage their own styles, inspired by the OpenStep view model. But then I start to question why use the browser at all?
- jsmcgd 15y agoPerhaps there is some good reason for developing a whole new language. However my gut tells me that they should instead put their weight behind a new promising language that's still evolving.
- wanorris 15y agoI would say that it depends entirely on what aspect(s) of the problem of web programming Dart is trying to solve. It may be that the decision to make a new language stemmed from new ideas about type systems or new semantics that didn't really fit with any existing language. Obviously I'm speculating here, but since we don't know what Dart is, we're all speculating here.
- jsmcgd 15y agoAgreed :)
- perfunctory 15y agoFor example?
- jsmcgd 15y agoI specifically didn't want to give an example. I thought it might appear that I was merely cheer-leading my language of choice and undermine the point I was making. However since you've asked I was thinking that perhaps something Javascript based, like Coffeescript or perhaps Clojure/Clojurescript or perhaps even Links http://groups.inf.ed.ac.uk/links/ http://groups.inf.ed.ac.uk/links/ There are probably another 100 reasonable candidates. I guess this leads me to the point I should have outright stated, that given that so many languages have already been written, it is highly likely that any new language will spend a lot of time covering ground that has already been covered by some other language. Surely it makes most sense to start off hunting through all these languages to find something that most closely matches what you need and continue from there. Who knows, perhaps that's exactly what they've done.
- 15y ago
- dfischer 15y agoThe web needs this. To those that say "I don't need another programming language"; I say "polyglot."
- dpatru 15y agoI would really like to see a typed programming language to build web apps on App Engine. Most of the bugs I track down could be caught at compile-time.
- 4ad 15y agoGo does that. http://golang.org http://golang.org http://blog.golang.org/2011/07/go-for-app-engine-is-now-generally.html http://blog.golang.org/2011/07/go-for-app-engine-is-now-gene...
- groks 15y agohttp://code.google.com/appengine/docs/go/overview.html http://code.google.com/appengine/docs/go/overview.html
- heydenberk 15y agoI'm dreaming of something that runs on V8 that intelligently compiles to server-side and client-side JS as well as HTML and CSS from better higher level languages (something like, say, CoffeeScript + LESS + HAML).
- fsiefken 15y agoSomething like that already exists :-) SocketStream; coffeescript, node.js, jade (a better haml), stylus (sass-like) http://goo.gl/ynJkM http://goo.gl/ynJkM
- cbr 15y agoNo need for a short url; we're not limited to 140 characters here. https://github.com/socketstream/socketstream#readme https://github.com/socketstream/socketstream#readme It's nice to see where a link goes before you click on it.
- deleted 15y ago[deleted]
- johnohara 15y agoI'd be very interested in a content authoring language that included the ability to assemble and create webm container files. Something that takes direction from a source file and "compiles" to webm (mkv+vorbis).
- wavephorm 15y agoGo is not gaining enough traction, while Scala takes off. GAE is losing steam, while AWS takes off. I guess it was about time for Google to make yet another attempt to remain relevant.
- lightcatcher 15y agoI'm not too familiar with the Go ecosystem, but does Google really have anything to gain if Go becomes wildly popular?
- forgotusername 15y agoA non-crappy language to build internal systems? There's a strong culture of NIH at Google, so I doubt there is any sneaky hidden strategy in their opening Go: they get widespread peer review and the chance to prime candidates on the language before they ever reach the hiring process. I guess even that is justification enough.
- shuzchen 15y agoI have a hard time attributing a new language coming out of Google as NIH syndrome. If you take a look at some of the people employed at the big G (Gosling, Kernighan, Pike, Guido, Thompson, etc.) who were responsible for creating and nurturing some very big languages being used today, I would be surprised if new languages weren't being created.
- hvs 15y agoA little perspective is in order here: Go appeared in 2009 Scala appeared in 2003 For more perspective, Ruby appeared in 1995 and Python in 1991, and yet those just became really popular in the past 5-10 years. It takes a while for languages to gain maturity. Go wasn't going to "take off" after two years.
- salimmadjd 15y agoGoogle has had a horrible track record in seeing things through. So there are two issues here. One, there are already too many programming languages out there. Two, you just can't trust google to make it into a mature and viable language that you would invest time in learning. As of now, I'm hoping javascript and Node.js become the dominate language of choice.
- jurjenh 15y agoGo seems to be doing alright. And that came from Google. And you can't get better languages without developing more...
- wanorris 15y agoI would classify Python and C# as languages that have improved considerably over time. So I would say that it is, in fact, possible to get better languages without developing more.
- jurjenh 15y agoI don't disagree with that, as a language that is actively maintained should (hopefully) get better over time. The key thing is to develop new techniques for solving problems - think iterative versus recursive, or functional programming versus logic programming. A given language is most likely targeted (or has least resistance) towards one style of programming, which means that new abstractions are likely to work better in a new language, one that has been developed with these blocks as starting points rather than added later. It might be nice to focus development of specific key languages to avoid too much fragmentation by picking best-of-breed, but everyone's got their own itch... and for some that is developing new languages.
- MartinCron 15y agoC# hasn't just improved itself considerably, C# put pressure on Java to improve as well. That's why I welcome the creation of any and all new languages. I don't need to be on the cutting edge and try to learn all of them, I can wait until the early adopters see value in them and then learn from the things that work.
- losvedir 15y agoFirst take: Oh, Google, what are you doing this time? Second take: Wait, the guy behind V8 is working on this... Hm, I'll have to take a look. It sounds like Lars himself may not have tons of expertise creating a language, but teaming up with someone who does and throwing in his own expertise getting it to run fast in a browser... might be interesting. However, is there a concern here that only Chrome will support it for a while? Then anything you write in it will be Chrome only. Isn't that kind of like the bad old days when each browser had its own tags and whatnot?
- w1ntermute 15y agoIf it's good and the spec is open, I don't see anything wrong with that. If it's really that great and becomes popular, other browsers will be able to add support easily.
- benjoffe 15y agoI'm guessing (hoping) it will use their closure compiler (or something else) to fallback to JavaScript for other browsers.
- abraham 15y agoLooks like the repo will be here: https://code.google.com/p/dart/ https://code.google.com/p/dart/
- angrycoder 15y agoIs this going to be streamed anywhere?
- mgoo 15y agoNew language couldn't solve our problem even its inventor comes from Google or not. Take for example go language, what the go language achives to us, just nothing. Same rule could be applied to this unknown super start language. Startups and freelance developer could use that toy language to implement their worthless and crap 'todo web app' but real world dont have free time to play with these toy languages. Technology is not consist with web apps, we need scalable, easy to learn, easy to read, easy to maintain languages. And finally look from broad perspective, all of the new web languages doesnt have a mature ide like Eclipse or Visual Studio, dont suggest me to use vim or emacs, i dont have enough time, i am not an idiot to fuck my brain with those useless shortcut keys.
- mtogo 15y ago> hat the go language achives to us, just nothing. Maybe for you, but not for the hundreds-thousands of people using it. > Technology is not consist with web apps What? > all of the new web languages doesnt have a mature ide like Eclipse or Visual Studio I'm going to assume be "web languages" you are talking about Python, Ruby, Javascript (on nodejs), and Perl. Most people get along fine with the existing tools. Many people don't even like ides like VS. > me to use vim or emacs, i dont have enough time, i am not an idiot to fuck my brain with those useless shortcut keys. Not sure how learning fast, easy shortcut keys would 'fuck your brain'. > but real world dont have free time to play with these toy languages. False. Developers in the 'real world' work with cool new languages, frameworks and tools every day. If you're not willing to learn them that's your own problem.
- pshc 15y agoThis sounds a lot like my side project of three years and counting. I'm half-hoping it hasn't been in vain, and half-hoping they've done all the hard work for me. Steeeeeve!
- deleted 15y ago[deleted]
- contextfree 15y agoWas this leaked some time ago? see http://markmail.org/message/uro3jtoitlmq6x7t http://markmail.org/message/uro3jtoitlmq6x7t (although the language is here called "Dash", but they could have changed its name since last November which the mail apparently dates from) From the supposed internal email: Javascript has fundamental flaws that cannot be fixed merely by evolving the language. We'll adopt a two-pronged strategy for the future of Javascript: - Harmony (low risk/low reward): continue working in conjunction with TC39 (the EcmaScript standards body) to evolve Javascript - Dash (high risk/high reward): Develop a new language (called Dash) that aims to maintain the dynamic nature of Javascript but have a better performance profile and be amenable to tooling for large projects. Push for Dash to become an open standard and be adopted by other browsers. Developers using Dash tooling will be able to use a cross-compiler to target Javascript for browsers that do not support Dash natively. [...] Javascript has been a part of the web platform since its infancy, but the web has begun to outgrown it. The web development community has been backed into using large amounts of JS largely to work around the deficiencies in the platform. Complex web apps--the kind that Google specializes in--are struggling against the platform and working with a language that cannot be tooled and has inherent performance problems.[...] The emergence of compelling alternative platforms like iOS has meant that the web platform must compete on its merits, not just its reach. Javascript as it exists today will likely not be a viable solution long-term. Something must change.[...] The “clean break” option is extremely high risk--it will be a huge challenge to convince other browser vendors to rally around a new language--but is the only way to escape the historic problems with Javascript. Thus, its high risk is matched by the potential for a very high reward--a classic leapfrog strategy. [...] Dash is designed with three perspectives in mind: - Performance -- Dash is designed with performance characteristics in mind, so that it is possible to create VMs that do not have the performance problems that all EcmaScript VMs must have. - Developer Usability -- Dash is designed to keep the dynamic, easy-to-get-started, no-compile nature of Javascript that has made the web platform the clear winner for hobbyist developers. - Ability to be Tooled -- Dash is designed to be more easily tooled (e.g. with optional types) for large-scale projects that require code-comprehension features such as refactoring and finding callsites. Dash, however, does not require tooling to be effective--small-scale developers may still be satisfied with a text editor. Dash is also designed to be securable, where that ability does not seriously conflict with the three main goals. Dash will be designed to be consumed in a number of locations: - Browser VM -- Our aspiration is that Dash will ultimately be a viable substitute for Javascript as the native client-side language of choice across all browsers. [...] I actually ran into this a long time ago but couldn't find any comments on it anywhere (either backing it up, or debunking it as a hoax).
- rufugee 15y agoIs this what Steve Yegge recently alluded to? (http://steve-yegge.blogspot.com/2011/07/hacker-news-fires-steve-yegge.html http://steve-yegge.blogspot.com/2011/07/hacker-news-fires-st...)
- pshc 15y agoI'm hoping so. Well, here's how I interpret it: A structural (non-textual) environment that hosts code in a distributed graph. Less string schlepping and more semantic manipulation of data.
- perfunctory 15y agoCan't wait to get my hands on it. At the same time I'm a bit afraid to be disappointed. All programming languages suck.
- igorgue 15y agoPLEASE BE A PURE FUNCTIONAL PROGRAMMING LANGUAGE!!!
- scarmig 15y agoAin't no such thing. Javascript programs can be relatively pure now, and even Haskell isn't truly "pure."
- petegrif 15y agoThe fact that we can use a hammer doesn't mean everything is a nail. Languages and programming paradigms profoundly influence the way we think about solving problems. How can it be wrong to explore new paradigms? My concern is not them introducing a new language, but whether it is radical and innovative enough.
- nickik 15y agoWait a moment Lars Bak and Gilad Bracha? I really like Gilad Brachas newspeak language. I really like people who can make good Jits. - Gilad Bracha was working on a way to run Newspeak in the browser. - Newspeak is a bad name because Newspeak is a bad thing, when I read Newspeak I think "bad". The could mean that if google would want to support it they would maybe change the name. So my guess is: Dart is Newspeak that runs on the browser and on the server and it gets support by google.
- alexatkeplar 15y agoI reckon you're right. The involvement of Gilad Bracha suggests that V8 plays a big part - probably Google are extending it so that V8 can compile Dart to machine code and run it, same as it can JavaScript. This would be cool for server-side apps. Probably there's a CoffeeScript-style transcompiler too to convert Dart (or a subset?) to JavaScript for execution client-side in non-Chrome browsers (any V8 browser could "speak" Dart directly)...
- nickik 15y agoI think its hard to belive that google would make a client site language that works only on V8. Chrom does not have enough marked share to do something like that. It need to run everywhere. There are two ways you could go about this: - Write a VM in JS where you run Dart/Newspeak on. This could be a Interpreter or to make it fast a Jit that runs ontop of a JS VM. Jit on a Jit has been don before (pypy with the .NET backend is an example (look for the paper on the website its very intressting) - Write a compiler like CoffeeScript or ClojureScript. I think with newspeak gilad when down the VM road as far as I know (don't hold me to that). Maybe the are snicky and work it in a way that it runs anywhere JS runs but build spezial support into V8 to make it faster.
- alexatkeplar 15y agoThe JS VM idea is really interesting - because it frees a language from having to have basically a one-to-one mapping between the new language and JavaScript a la CoffeeScript. So I'm going to update my guess: I reckon Dart will be a tweaked version of Newspeak natively supported by V8 (server and Chrome browser), plus a JavaScript VM for running Dart on non-Chrome browsers. More of a guess, but I imagine it might come with its own node.js-y framework with perhaps some interesting Seaside-style continuation approach and/or Lift-style view-oriented approach...
- pacemkr 15y agoThere is an excellent podcast with Gilad Bracha on Newspeak at se-radio: http://www.se-radio.net/2009/07/episode-140-newspeak-and-pluggable-types-with-gilad-bracha/ http://www.se-radio.net/2009/07/episode-140-newspeak-and-plu... It was one of the most memorable and interesting podcasts that I have ever heard. Newspeak will likely remain one of those languages that I really want to learn, but won't find the time for. Considering the speakers, I'm actually very interested in what Dart is like.
- davidmathers 15y agoI've been reading Gilad Bracha's blog for a while. He believes the future belongs to languages that compile to javascript.
- teyc 15y agoI wonder if structured web programming is to conventional web programming as structured programming is to GOTO-style programming. If this is the case, it is more or less like Hacker News, or Seaside using continuations in web programming. If so, I'm interested to know how they overcome the mismatch between the statelessness of the web and stateful continuations. How are we going to permalink, for example?
- gnuvince 15y agoAnxious to see how it compares to Opa (www.opalang.org)
- ByteMuse 15y agoNeat. This is the first time I have seen this. First impression: I'm not really sure what this is solving - the syntax is a bit ugly and the projects seem unstructured. Seems like the ability to customize the stack is minimal. I couldn't find any solid examples of this being used in production. It looks fairly young so hopefully these concerns will be addressed.
- cousin_it 15y agoI wonder how much of the speed gain can be achieved by subsetting JavaScript instead of creating a new language? Something like PyPy's RPython. This way they wouldn't need to reeducate people.
- nickik 15y agoThis is allread beeing done its called JS strict mode. RPython is not really the same because RPython has to be staticlly compiled and that takes a long time. Both of these things have nothing to do with Dart however because we do not know if Dart is about speed. Its probebly about having a better language.
- zaelie 15y agoAre they going to call it D flat?
- abdulhaq 15y agoThe primary problem with web development is not that javascript, css, DOM and dynamic HTML make for painful application development, even though that is the case. The main problem is having divergent implementations of HTML/DOM etc.. that results in having to test and maintain code for a dozen different browsers/versions. Google adding yet another language to the pool just adds to this problem.
- bphogan 15y agoExactly. Especially if it's a server-side language. I'm really hoping that we're coming to the end of the era where we use server-side languages to generate static HTML, and I hope we're closer to the end of the creation of new languages to do that. That problem is solved. What's not entirely solved is how we make client-side interaction with server-side systems work better. Backbone.js + Sinatra is a nice start, but then you have browser inconsistencies and awful client-side debugging. I'd love to see people tackling that problem instead of inventing Yet Another Framework, But then, maybe Dart is something client-side. Of course, then only Google's browser would support it and we'd go back to pretending we like JavaScript while writing in CoffeeScript. :)
- Animus7 15y agoWeb programming is certainly fragmented by divergent implementations, but the conclusion doesn't follow from the premises. Adding another language doesn't automatically add browser compatibility problems. Who knows what "structured web programming" is, as Google defines it? For all we know, Dart could be a unification framework that compiles to browser-independent JS/CSS/DOM. In which case, the Dart would be very good for reducing implementation fragmentation.
- ByteMuse 15y agoI think the languages that are out there are fine, Python, Ruby, JS, Java, Go, etc... An innovative framework that utilizes an established language for web development would be more beneficial, IMO.
- taylorbuley 15y agoGoogle should probably start coordinating these product names: http://www.google.com/doubleclick/publishers/dart.html http://www.google.com/doubleclick/publishers/dart.html
- thepumpkin1979 15y agoYeah, Busted! I was about to make a comment on the same topic! Thanks.
- RyanKearney 15y agoIf this goes anything like AppEngine they will wait until it gets popular, then start charging $0.25 per line of code you write with it.
- cpeterso 15y agoI remember Curl, an "web Lisp" programming language startup spun out from MIT in the late 1990s, had intended to charge users for the number of bytes served by Curl's web server! Surprisingly, the Curl company is still around and just released Curl 8.0.
- buff-a 15y agoIt could cause magical creatures to appear and fellate me while I work, I still wont be locking myself into anything from Google. http://news.ycombinator.com/item?id=2972108 http://news.ycombinator.com/item?id=2972108 - "What’s better: Pricier Google App Engine, or nothing?" or, more honestly: "Tough shit. What you gonna do about it?"
- gojomo 15y agoA language would almost certainly include an open-source implementation. Thus it'd be nothing like the kind of vendor lock-in characterizing AppEngine, an excludable/non-forkable service.
- buff-a 15y agoIf the community picks it up and starts developing it (in addition to developing with it) great. But if all the code is written by Google employees, and they then get reassigned, you'll be left either learning how to write compilers or hoping that someone else, not at google, already has. You wont be completely, and immediately fucked, like we are on GAE. But you'll be adding "rewriting all our code within the next two years" to your to-do list.
- mkopinsky 15y agoBlame a combination of an American education and poor web design, but it took me 5 minutes browsing around on this site before I figured out that Aarhus is a city in Denmark. The first clue when was I couldn't load maps.google.dk. The location page should have some kind of clue that Aarhus is a city.
- motters 15y agoUnless they're doing anything significantly novel, there probably isn't any need for yet another programming language.
- aninteger 15y agoAnd in 5 years perhaps it will be usable. It will take that amount of time before it will attract a large enough audience. It will also take some time to port necessary libraries. It also could end up like D and stagnant.
- Vladimir509r 15y agoFor some reason I seem to Cio new programming language will be locked up not only under the WEB but under a large-scale development of all kinds of goodies for Android and Chrome Perhaps this language in the near future will be a key to all projects Google
- Vladimir509r 15y agoI think that a new programming language to be used under the WEB for large-scale development of all sorts of goodies for Android and Chrome Perhaps this language in the near future will be a key to all projects Google
- marknutter 15y agoWhat I would like to see is an ultra-high level programming web-focused language used mainly for prototyping and MVPing. Something where all the grubby details like authentication, form creation, routing, etc. And I mean, get a working application up and running, ready for users, that looks and works really well in a matter of hours.
- mas644 15y agoI always felt the problem with web programming was not so much the expressiveness of existing languages, but rather the hacked nature of the web and more generally the Internet. We try to patch the stateless nature of the original HTTP protocol with cookies, AJAX, Flash player, Java applets, ActiveX, etc. We scale the net with ugly technologies like NAT and BGP. We hack some security on top with things like SSL. Heck, we can't even get simple web pages to render identically in two different web browsers. Though not practical, there's a lot to be said for a clean slate. I don't think any programming language out there is going to be make web programming easier...you gotta rethink the infrastructure on which your web apps run. Once that happens, writing web apps in a language should be no more difficult than writing a native app with said language.
- danssig 15y agoWhat's ugly about BGP? It's very elegant. Yes, the regex thing is a bit odd but just consider it a DSL.
- sandroyong 15y agoI agree a new infrastructure is needed, and a clean slate might not be such a bad idea, especially if it would handle some of the infrastructure-related security and spanning issues for programmers. Such an infrastructure could make it practical to start from a clean slate especially if it could allow us to unravel and discard much of the tangle of complexities that make web programing so much different from native programming. We need to focus on how we use the internet and what we need from it and then revise the current web achitecture to see what's really needed, what's fluff, and what just plain idiocy. Right now, I think we'd find too much fluff and idiocy and not much of what's really needed. This could pave the way for a simplified and more unified architecture that could do what we want and could make it easier to deliver applications across the web. Simplifying that delivery would make it possible to simplify web programming, making it more intuitive and less burdened by security considerations. An altogether different infrastructure would spark new innovations in programming (as others in HN have posted that such innovation has ‘stalled’).
- jpalomaki 15y agoI think Google could be interested in creating something that would make web app development on client side easier. Ie something to replace Javascript and maybe more closely tie in DOM, CSS and client-server communication. Right now this problem seems to be usually solved by writing the software with some other language and the preprosesing or compiling it to Javascript. Obviously a new language alone does not solve the problems but maybe a good combination of a language and framework would.
- danssig 15y agoInstead of making new languages to run in the browser, why not make an assembly language for the browser and then we can use what ever language we like and compile to that? It's a pain to develop in one language and then have to use JS. Of course you can use coffee script and such things but if it breaks you're going to have to debug JS code.