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
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Less time debugging, more time building
  • talent.io - Download talent.io’s Tech Salary Report
  • SonarLint - Clean code begins in your IDE with SonarLint
  • 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

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

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