TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Google Earth Ported to Browsers with WebAssembly

153 pointsby nfrankelalmost 6 years ago

14 comments

dgaudetalmost 6 years ago
the article seems to suggest that this is a port of the original (not web) google earth app to webassembly ... but what i'm seeing is another version of the web app. the desktop app has a zillion more features which are not available in the web app... aside from the similarity of their name, and the shared imagery, the two are completely different things. i'm bummed, i was hoping the desktop app was being given a breath of fresh air. it's one of the most important tools i use for planning hikes on infrequently climbed mountains.
评论 #20335317 未加载
评论 #20336721 未加载
Ajedi32almost 6 years ago
Original blog post by Google: <a href="https:&#x2F;&#x2F;blog.chromium.org&#x2F;2019&#x2F;06&#x2F;webassembly-brings-google-earth-to-more.html" rel="nofollow">https:&#x2F;&#x2F;blog.chromium.org&#x2F;2019&#x2F;06&#x2F;webassembly-brings-google-...</a>
lmkgalmost 6 years ago
I would be extremely interested to hear a report or post-mortem of the porting process. The fact that a decade-old, resource-intensive C++ program can be ported successfully speaks well to WebAssembly living up to its potential. Knowing what went well, what went pear-shaped, caveats, gotcha&#x27;s, etc with this project would start building up the &quot;community knowledge&quot; about whether, when, and how other code bases could be ported.
评论 #20336198 未加载
评论 #20334923 未加载
hs86almost 6 years ago
I haven&#x27;t listened to it yet but this very recent podcast episode has someone from the Google Earth team on it:<p><a href="https:&#x2F;&#x2F;softwareengineeringdaily.com&#x2F;2019&#x2F;07&#x2F;02&#x2F;google-earth-webassembly-with-jordon-mears&#x2F;" rel="nofollow">https:&#x2F;&#x2F;softwareengineeringdaily.com&#x2F;2019&#x2F;07&#x2F;02&#x2F;google-earth...</a>
aloeralmost 6 years ago
I am confused about the multi-threading support in chrome. The article links to <a href="https:&#x2F;&#x2F;medium.com&#x2F;google-earth&#x2F;performance-of-web-assembly-a-thread-on-threading-54f62fd50cf7" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;google-earth&#x2F;performance-of-web-assembly-...</a> where they mention that chrome 74 added support for threading. Reading the 74 release notes I can&#x27;t find anything<p><a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;JavaScript&#x2F;Reference&#x2F;Global_Objects&#x2F;SharedArrayBuffer" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;JavaScript&#x2F;Refe...</a> says that SharedArrayBuffer was readded in chrome (behind a flag?) in v67, not 74. Is that the same? Is SharedArrayBuffer equivalent to the support for multi-threading or were other parts disabled due to spectre – or not yet implemented in 2018?<p>This whole wasm&#x2F;threading&#x2F;spectre mitigation situation is difficult to follow<p>What is the state of this in July 2019. Do you know about a benchmark&#x2F;good example project that gives a good overview of what&#x27;s currently possible?<p>context: I want to build a tile based view (tiles in x&#x2F;y dimensions + zoom levels). The content of the tiles is loaded from server (shapes mostly) and rendered into tile images client side. I also want the same tiles prerendered as identical images on the server.<p>For this I have a feeling that something like skia is the way to go. Skia can be used via wasm bindings. How I would fetch the shapes and render the tiles (or fetch the prerendered ones) transparently and then where to render the tiles into, that is what I am trying to figure out. It feels like multithreading could be very useful here. Right now only chrome appears to support OffscreenCanvas (which can be accessed from webworkers), hence the idea of using skia directly and possibly going a level higher to write whatever kind of multithreaded render logic in rust and run it with wasm and a single &quot;canvas output&quot;. Whether skia is the right choice here or not is also something I have yet to figure out<p>The ultimate goal is quick startup (prerendered tiles) while simultaneously high performance when updating the entire view (=multiple tiles in parallel). This is mostly a learning project for me
评论 #20339731 未加载
neilvalmost 6 years ago
I&#x27;ll be interested to see whether they support this for practical use, whether they provide programmability as much as the original, and how well they get it to work under WASM.<p>The original Google Earth Plugin worked well on even Core Duo laptops with very modest GPUs. I used it to do a technical Web front-end project that pushed the limits of the Plugin. At the time, there was no other viable way to do what was needed (with the requirement that it run in particular Web browsers, as part of a larger Web system).<p>In my project, I did have to do a cute little multi-step camera movement at the start of an interactive animation, to keep the Plugin from culling one of the objects I&#x27;d added to the scene. I still wonder how many people using that thought the camera movement was just zooming around for gee-whiz effect, or for spatial context, rather out of necessity that the core functionality work at all.
zbrozekalmost 6 years ago
I wasn&#x27;t given the option to run it with Firefox, and was prompted to install Chrome instead. So it&#x27;s hard to say it was ported to browsers (plural) as opposed to browser (singular).
评论 #20339750 未加载
评论 #20339150 未加载
cpetersoalmost 6 years ago
If you&#x27;re interested in mapping technology and the history of Google Maps (Keyhole) in particular, check out Bill Kilday&#x27;s book &quot;Never Lost Again: The Google Mapping Revolution That Sparked New Industries and Augmented Our Reality&quot;. Kilday was a founder at Keyhole, the startup acquired by Google to become Google Earth.<p><a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;0062673041" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;0062673041</a>
landcoctosalmost 6 years ago
My favorite part of Google Earth is viewing the satellite imaginary history. Does the web client support this?
评论 #20337416 未加载
underbluewatersalmost 6 years ago
Beautiful. I&#x27;d love to see something along the lines of the old plugin-based Google Earth API made available for this. I used to run an ocean conservation planning application using that API but had to migrate to 2d maps. There has been a very long gap since the plugin deprecation and the release of the 3d-view in Google Maps where there has been no good 3d API offered by Google. I&#x27;ve been thinking &quot;in the next 6 months they will probably release maps api v4&quot; for about 3 years now...
评论 #20336805 未加载
snekalmost 6 years ago
Interestingly, they&#x27;ve been publicly working on this for over a year, but only in the last few weeks did they remove the &quot;only run in chrome&quot; check.
LeonMalmost 6 years ago
I just tried it on a modern machine (6-core i7, 32GB ram, GTX1050) on latest Chrome for windows, and the fly-by animations were still not smooth.<p>I&#x27;m disappointed by that, but I guess the desktop app also never was smooth to begin with.
landcoctosalmost 6 years ago
Doesn&#x27;t work on Firefox 67.0.4 64bit.
评论 #20335175 未加载
microcolonelalmost 6 years ago
Seems dramatically slower than the satellite view in Google Maps. I guess this is for people who have Google Earth based GIS stuff they want to keep using.<p>Is there some reason why WebGL applications never seem to make proper use of my VRAM? Most of the data in these views are persistent, but they keep loading them over and over again even though I have 16GiB of VRAM. I&#x27;m guessing WebGL doesn&#x27;t expose queries for that, so the applications play it safe?
评论 #20335073 未加载