Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In a browser/on the desktop? I would think everyone would use a dedicated application, probably on their phone. For Linux users in particular, I would be unsurprised if they use OsmAnd. Maps also shouldn't require webgpu or wasm. e.g. XForms made something like a scrollable map application trivial to develop years before wasm was a thing[0]. That shows what could have been a browser improvement if W3C standards were still relevant. Google maps of course predates those things by over a decade.

[0] https://www.youtube.com/watch?v=2yYY7GJAbOo



If I want to use google maps, or find a new home - I am not browsing maps with my phone. I use a big screen.

With the browser.

And most real estate sites also do have a map for example.


That still sounds relatively niche/doesn't really disagree with my statement that easily over 99% of web usage is not something like that. How often are you finding a new home? Map widgets also shouldn't really be a performance concern; they were doable 15-20 years ago (i.e. with much weaker hardware and no webasm/webgpu).

Something like improved forms with validations and databinding would be useful for actual easier document authoring. Built-in charts (line graphs, pie charts, etc. with baked in support for legends and axes) would also be generically useful in the way that tables were. Flexbox was useful for layouts, but otherwise we instead got pushes for more scripting performance to cover up the impact of mass surveillance and more ways to leak data about the underlying system to conduct that surveillance.


"How often are you finding a new home?"

Too often.

" Map widgets also shouldn't really be a performance concern"

Have you ever build one?

I hate those stuttering ones build by suckers and enjoy those that just run smooth GPU accelerated.

Also I frequently encounter maps on various sites.

The tracking service for my package. The shop showing me the nearest stores. A map with points of niche interest ..


I haven't built a map app and basically never touch frontend stuff, so I vibe-coded one in 20 minutes here[0] following the approach of the video I linked earlier. It's done inside of an SVG to make it so you could add map markers as another layer (and I added a dot to demo). The map marker here doesn't stay in the correct spot after a zoom change, and I didn't bother to do touch events, but that's not really the point and I don't see much purpose in spending more time. The point is smooth panning works just fine with 150 lines of simple javascript. Probably could be done with less if I were more familiar with browsers.

You can sometimes see a flash if you pan quickly and a new tile is loading in, but the embedded Google Maps on Zillow has a (much more obvious/longer) visible delay for new tiles loading in too. And actually the full, real google maps has tons of stuttering/tearing on my computer when panning, so mine seems to perform better on my computer (though to be fair theirs takes more of the screen. Mine seems to do fine when upping the page zoom level to make it bigger though). The big difference though is my (frontend portion of the) widget can be built during a lunch break, and it's easy enough to see what's going on that a high school student could figure it out with view-source.

Note that for real world use cases, it'd probably also make sense to restrict the range that the user is allowed to zoom and pan around anyway (e.g. Zillow or your delivery tracker don't need to let you scroll a world map to look at a neighborhood/get context). For something like a delivery tracker, you might not be allowed to move the map at all, in which case you're pretty much dealing with a static image where you maybe reposition a marker every minute or so. This does not require wasm or webgpu, and it's a poor use of engineering resources to add that kind of complexity.

[0] https://ndriscoll.github.io/map.html


SVG indeed also has come a long way and also with just using images in the browser you can solve it quite performant, that is right. I have done both (no map service, but having lots of images on the screen). But WebGL is still leagues ahead. And that shows on old smartphones for example. And I regret not having made the switch earlier as more performance gives much more possibilities, than being restricted to what the DOM offers.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: