It came out in 2010 for Android and Microsoft phones, but has been hamstrung by Apple for most of its development. I had several startup ideas which required NFC market penetration on phones, but which even today are impractical due to Apple's chokehold on NFC APIs for fear of a payments competitor. In order to even find "tap to pair" devices, you often need to seek out the one manufacturer or option available. There should be personal phone-to-phone "tap to pay" by e-cash or cryptocurrency. "Tap to auth" using your phone. "Tap to key exchange" should be part of doing business, sending "business card" contact details as well. Samsung had S-Beam, "tap to share files" securely with WiFI Direct. But even with the addition of Core NFC, you need to find a responsible adult with an Android phone to even write a single bit as an iPhone owner.
We use it in products at work and it always works seamlessly. It could be a quick and easy way to pair a phone to a car or connect a phone to WiFi. Just tapping is way more efficient than the current connecting options when you're near the hardware you want to connect with.
To create client-side web apps, rather than writing Javascript, write Java and have it transpiled to Javascript. Java has IDEs, isn't a new language to learn (like Dart), has static type checking, support for refactoring in the IDEs, etc. GWT could do tree shaking, obfuscation, etc. You could write your server code in Java, and "call" remote server methods from your client code, "passing" Java objects transparently back and forth between the client and the server. It was released in around 2006, it was not without issues but seemed to be a much better way to develop complex client code than the Javascript options available in 2006, as far as I could see. It never really took off. Google moved their team over to Dart at some point. I guess the Oracle Java lawsuit meant Google were unenthusiastic about continuing to have anything to do with Java where they didn't need to. The compile times were slow. Not all Java compiled so you had to have a mental model in your head not only of Java but also the Javascript that was going to be generated which was mental overhead.
GWT was quite complex. You had to write a lot of code for achieving very little.
There also was a huge impedance mismatch between Java and JavaScript at the time. Nowadays you can write decent functional code in Java but back then you needed anonymous classes for that.
That's true, but while it was difficult back then to write functional code in Java (now solved), it was difficult back then to write class-based object-oriented code in Javascript (now solved).
This came up a few weeks ago, and someone from google chimed in saying google just recently release new apps usin gwt, and it's still active. But I share your view that it was a failed technology. All the gwt I see in my area is legacy. I remember prototyping a project with it and being flummoxed by the ui not laying out the way it ought to have. From that experience, I never used it again.
I haven't worked with GWT for about 5 years, but out of personal interest I want to a GWT conference in Florence, Italy a few weeks ago.
The open source movement is still ongoing, but there is apparently no help from Google any more. Apparently Google do use GWT internally, but it's a fork and not the same as the open source version that we can all use. Apparently the reason is they integrate it with their own build tools (i.e. not Maven) that themselves are not open source. At the conference they were talking about GWT 3 which is basically a re-write, open source, but it seemed to lack a lot of the features that made GWT good. I appreciate the time they're devoting to the project, and don't want to sound ungrateful, but I do not expect a useful GWT 3 any time soon.
In addition to the ones mentioned, another issue with GWT was that the differences in browser JS environments were much more salient in 2006 (IE6 was still a massively popular browser) and browser development tools were limited. If your script didn't work, debugging was likely difficult.
It was a stated goal of GWT to produce different JS files, one per browser, so that it could generate the right JS dialect for each browser. (And so that the browser didn't have to download "if" statements containing code for other browsers that it was never going to run, meaning a smaller downloaded, also relevant then.) That always worked perfectly for me, but I only used it for about 6 months, on a small project.
Also, it had a debugging version where it actually ran the client code in a JVM, and you could step through it with Eclipse etc. Of course that didn't help if the bug only happened after the Java-to-Javascript compilation process, but in my short experience with it I never had such a bug. Of course Javascript and the browsers have caught up, but I would have expected these features to be gladly embraced by the development community at the time, as they really did help. But they weren't.
There was a time when the consensus was that things like GWT were too far from the "bare metal" of the browser that issues in anything beyond toy projects were impossible to debug.
Now we have React and JSX. Maybe the tooling just caught up.
I'm no expert but I think Clojurescript takes the Clojure language (spelt with a "j") and converts it to unoptimized Javascript, which then gets processed by the Closure compiler (spelt with an "s"). The Closure compiler takes unoptimized Javascript and emits optimized/minified Javascript.
Closure is from Google, but is independent of GWT which is also from Google, despite the two projects having similar aims. Closure is modern, whereas GWT is not. The open source team who maintain GWT now (after Google abandoned it) are in the middle of a re-write, which will be called GWT 3 (current version is GWT 2). GWT 3 will convert Java to unoptimized Javascript and use the Closure compiler to optimize it etc (as Clojurescript does). Current GWT 2 does not use Closure but does its optimizations itself. I may have got some of that wrong, corrections welcome!
They generated a Closure compiler implemented in js by running the closure compiler through GWT, but it's worse than the java equivalent (fewer features, slower)
The semantic web. It spawned an entire generation of academic study, but aside from assuring job security for researchers hasn't amounted to anything beyond their ivory towers.
That's not entirely true. It's perhaps a far cry from the original goal but Schema.org markup has definitely caught on mostly thanks to use by Google for rich snippets.
Beyond some very nice pieces of software created by clever SW developpers (let's mention DBPedia Spotlight, RelFinder, Semantic MediaWiki, N3.js) I mostly agree with your argument. To be the devil's advocate, in my opinion, data lakes are just a new buzzword that will eventually become what the Semantic Web was supposed to be. With some millions dollars, companies will aggregate and interlink their datasets. There are then one step away from extracting their master data from their data lake & publish it as Linked Corporate Data. From that, the public part of will be published as Linked Open Data.
WebGL. I spent ~10 years doing Flash / ActionScript and when Jobs nixed the mobile Flash plugin, I figured everything would shift to HTML5 / WebGL. Nope. The era of fancy, interactive websites faded into the rearview mirror.
I'm sure most of you don't miss it, but there was so much amazing work. Rather than the budgets shifting to Three.js etc, it went to apps or dried up completely.
WebGL is fantastic, but writing compelling software with it is significantly more difficult than just using "normal" web libraries because you have to be able to think in rendering terms, use linear algebra (a bit), etc. And the thing is, it turns out it is really difficult to find something to do using WebGL that isn't easier to understand in a normal 2D visualization.
I think there is great stuff to be done (and is done) with WebGL, but most of it is in the background and subtle. "Walking through a data world" is just a dumb idea, for lots of reasons. But using WebGL to speed up 2D visualizations works great, as is using it to make more interesting 2D visualizations. However, that is a subtle art.
Since in my experience WebGL is still not really stable on many devices (especially mobile), I think its time, combined with wasm, is about to come ...
The reason that 3D web hasn't been big is because, the most effective way of making and consuming content is via natural language, or text. text, by its nature, is 2D. 3D won't be mainstream, because it's too demanding to make.
WebGL is really cool, but in my personal experience, pretty hard to pick up, at least with no prior experience in graphics rendering type stuff. There's a lot of overhead to do relatively simple stuff. (In 3D anyway.)
In retrospect I maybe should have just started with ThreeJS or another higher level abstraction.
Comments (983) 199 threads
Earlier commentsIt came out in 2010 for Android and Microsoft phones, but has been hamstrung by Apple for most of its development. I had several startup ideas which required NFC market penetration on phones, but which even today are impractical due to Apple's chokehold on NFC APIs for fear of a payments competitor.
In order to even find "tap to pair" devices, you often need to seek out the one manufacturer or option available. There should be personal phone-to-phone "tap to pay" by e-cash or cryptocurrency. "Tap to auth" using your phone. "Tap to key exchange" should be part of doing business, sending "business card" contact details as well. Samsung had S-Beam, "tap to share files" securely with WiFI Direct.
But even with the addition of Core NFC, you need to find a responsible adult with an Android phone to even write a single bit as an iPhone owner.
To create client-side web apps, rather than writing Javascript, write Java and have it transpiled to Javascript. Java has IDEs, isn't a new language to learn (like Dart), has static type checking, support for refactoring in the IDEs, etc.
GWT could do tree shaking, obfuscation, etc.
You could write your server code in Java, and "call" remote server methods from your client code, "passing" Java objects transparently back and forth between the client and the server.
It was released in around 2006, it was not without issues but seemed to be a much better way to develop complex client code than the Javascript options available in 2006, as far as I could see.
It never really took off.
Google moved their team over to Dart at some point. I guess the Oracle Java lawsuit meant Google were unenthusiastic about continuing to have anything to do with Java where they didn't need to.
The compile times were slow. Not all Java compiled so you had to have a mental model in your head not only of Java but also the Javascript that was going to be generated which was mental overhead.
There also was a huge impedance mismatch between Java and JavaScript at the time. Nowadays you can write decent functional code in Java but back then you needed anonymous classes for that.
They’re just sugar around protypical object-oriented code.
The open source movement is still ongoing, but there is apparently no help from Google any more.
Apparently Google do use GWT internally, but it's a fork and not the same as the open source version that we can all use. Apparently the reason is they integrate it with their own build tools (i.e. not Maven) that themselves are not open source.
At the conference they were talking about GWT 3 which is basically a re-write, open source, but it seemed to lack a lot of the features that made GWT good. I appreciate the time they're devoting to the project, and don't want to sound ungrateful, but I do not expect a useful GWT 3 any time soon.
https://bridge.net/
Also, it had a debugging version where it actually ran the client code in a JVM, and you could step through it with Eclipse etc. Of course that didn't help if the bug only happened after the Java-to-Javascript compilation process, but in my short experience with it I never had such a bug.
Of course Javascript and the browsers have caught up, but I would have expected these features to be gladly embraced by the development community at the time, as they really did help. But they weren't.
Now we have React and JSX.
Maybe the tooling just caught up.
Closure is from Google, but is independent of GWT which is also from Google, despite the two projects having similar aims. Closure is modern, whereas GWT is not.
The open source team who maintain GWT now (after Google abandoned it) are in the middle of a re-write, which will be called GWT 3 (current version is GWT 2). GWT 3 will convert Java to unoptimized Javascript and use the Closure compiler to optimize it etc (as Clojurescript does). Current GWT 2 does not use Closure but does its optimizations itself.
I may have got some of that wrong, corrections welcome!
Beyond some very nice pieces of software created by clever SW developpers (let's mention DBPedia Spotlight, RelFinder, Semantic MediaWiki, N3.js) I mostly agree with your argument.
To be the devil's advocate, in my opinion, data lakes are just a new buzzword that will eventually become what the Semantic Web was supposed to be. With some millions dollars, companies will aggregate and interlink their datasets. There are then one step away from extracting their master data from their data lake & publish it as Linked Corporate Data. From that, the public part of will be published as Linked Open Data.
I'm sure most of you don't miss it, but there was so much amazing work. Rather than the budgets shifting to Three.js etc, it went to apps or dried up completely.
I think there is great stuff to be done (and is done) with WebGL, but most of it is in the background and subtle. "Walking through a data world" is just a dumb idea, for lots of reasons. But using WebGL to speed up 2D visualizations works great, as is using it to make more interesting 2D visualizations. However, that is a subtle art.
The reason that 3D web hasn't been big is because, the most effective way of making and consuming content is via natural language, or text.
text, by its nature, is 2D. 3D won't be mainstream, because it's too demanding to make.
In retrospect I maybe should have just started with ThreeJS or another higher level abstraction.
All comments shown.
Couldn't load more comments. Check your connection and try again.