Optimizing at the CPU instruction level in the browser w. Rust and WebAssembly

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • webcola-wasm

    Javascript constraint-based graph layout

  • I don't think there's a way to change this math to work without taking the square root to get `distance`. It's possible that there is a way to change that to work with the squared forms, but I don't grasp the actual math going on well enough to determine that unfortunately.

    Looking at the perf metrics for the full function's disassembly[2], square root-related instructions only account for a tiny amount of the program's runtime anyway.

    That all being said, thank you so much for taking the time to read the post closely enough to come up with this idea!

    [1] https://github.com/Ameobea/webcola-wasm/blob/master/src/wasm...

  • uPlot

    📈 A small, fast chart for time series, lines, areas, ohlc & bars

  • super cool!

    i've done my share of optimizations and benchmarking charting libs [1] but this goes deeper still.

    SVG is not a good choice for large raw datasets when you need performance.

    [1] https://github.com/leeoniya/uPlot#performance

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts