Hacker News new | ask | show | jobs
by coldtea 3570 days ago
>If your code cannot quickly do graphics, you have failed to competently make use of the user's resources. You are bad and are wasting their time and power, and in the one place where that inefficiency isn't justifiable

Bzzt wrong. Nobody cares much about efficiency above a certain level. If they did we wouldn't be using your "efficient" canvas, where 30% of calls is JS overhead, but native code.

>Sure but we're also not all running MacBook Pros or GTX1080 cards on Xeons, now are we?

No, but we almost all are running multi-core PCs, laptops and phones that are perfectly capable to run SVG for most things people use it for.

Maybe not plots with 10.000 points, but then again those are just badly designed, the screen doesn't have 10.000 pixels horizontally or vertically to show them all at once anyway.

1 comments

> Nobody cares much about efficiency above a certain level

This line of thinking is why web mobile experience is garbage.

> Maybe not plots with 10.000 points, but then again those are just badly designed, the screen doesn't have 10.000 pixels horizontally or vertically to show them all at once anyway.

300x300 scatterplot holds potentially 90K points. Even in the case of just 10K datapoints, sampling considerations may mean that it is simpler and more maintainable to just ship full-resolution data to the frontend to be drawn--an option that only exists if you can do so efficiently.

You're wrong on this mate.