Live data from Hacker News

Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

github.com

71–80 of 226 posts

Re: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

#71
post #42

Very cool. Shame there's not a webgl fallback though. It will be a couple of years until webgpu adoption is good enough. https://caniuse.com/webgpu

And even if WebGPU is enabled, the implementation might still be broken or inefficient in various ways. For example, Firefox uses some ridiculous polling-based approach [1] to check for completion, which disqualifies the implementation for many performance-critical applications.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1870699

And there is the issue of getting the browser to use the correct GPU in the first place, but that is a different can of worms.

Re: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

#73

Right on time. We’ve been working on a browser-based Link Graph (osint) analysis tool for months now ( https://webvetted.com/workbench ). The graph charting tools on the market are pretty basic for the kind of charting we are looking to do (think 1000s of connected/disconnected nodes/edges. Being able to handle 1M points is a dream. This will come in very handy.

my 2 cents: I'm one of these people that could possibly use your tool. However, the website doesnt give me much info. I'd urge you to add some more pages that showcase the product and what it can do with more detail. Would help capture more people imo.

Re: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

#74
post #50

Bug report: there is something wrong with the slider below the chart in the million-points example: https://chartgpu.github.io/ChartGPU/examples/million-points/... While dragging, the slider does not stay under the cursor, but instead moves by unexpected distances.

Thanks - you're the second person to report this! Same issue as the Mac M1 scrollbar bug reported earlier. Looks like the data zoom slider has a momentum/coordinate mapping issue. Bumping this up the priority list since multiple people are hitting it.

I also experienced this behavior :)

Re: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

#76
> You are an elite WebGPU developer with deep expertise in modern GPU programming for the web. You are a master of the WebGPU API, WGSL shader language, compute shaders, and high-performance graphics rendering across all major browsers.

This is just embarrassing.

Re: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

#78
post #42

Very cool. Shame there's not a webgl fallback though. It will be a couple of years until webgpu adoption is good enough. https://caniuse.com/webgpu

It’s available everywhere if you are on newest OS and newest browser. Biggest issue is MacOS users with newer Safari on older MacOS.

Support for Firefox on Linux is still only in nightly (unless that changed "very" recently)

This blocks progress (and motivation) on some of my projects.

Re: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

#79

WebGPU is a security nightmare. The idea that GPU vendors are going to care about memory access violations over raw performance is absurd.

Security is one aspect to consider. It's not a veto button!

It's absolutely a veto button on something so pervasive.

What is wrong with you JavaScript bros.

Post reply on HN