Skip to content

#javascript

26 posts tagged javascript. All posts

  1. JavaScript & webWebAssembly for web developers: what it's good at and when to skip itWhat WebAssembly gives a web app (fast compute, reuse of C, C++ and Rust code, a sandbox) and what it costs, with a minimal module called from JavaScript.
  2. RustCalling WebAssembly from JavaScript: exports, imports and when it is fasterHow to load a .wasm module in the browser, call its exports, pass JavaScript functions in as imports, and decide whether moving code to WebAssembly will help.
  3. RustWebAssembly with Emscripten: compile C to wasm and call it from JavaScriptInstall Emscripten, compile a small C program to WebAssembly, run it in the browser, and call an exported C function from JavaScript with cwrap.
  4. JavaScript & webFive ways to add search to a website: Algolia, Fuse.js, Google, PHP and PagefindWorking examples of site search with Algolia, Fuse.js in React, Google Programmable Search, a PHP and MySQL query, and Pagefind for static sites.
  5. JavaScript & webAn endless road animation for a car in React and CSSMake a car look like it is driving forever by scrolling dashed road markings with a CSS keyframe animation inside a small React component.
  6. JavaScript & webFinding and removing broken links with the Fetch APIUse fetch() HEAD requests to find links that return 4xx or 5xx errors, remove them from a page in the browser, or check them from Node.js.
  7. JavaScript & webWebAssembly for AR and VR on the web: where it fits with WebXRWhat WebAssembly does and doesn't do for browser AR/VR: how it works with WebXR and WebGL, which engines export to it, and the gotchas to plan for.
  8. JavaScript & webRunning C numerical code in the browser with WebAssembly and EmscriptenCompile a C dot-product function to WebAssembly with Emscripten, pass Float64Array data through Wasm memory, and see where Wasm fits for scientific code.
  9. AI & dataRunning machine learning models in the browser with WebAssemblyHow WebAssembly is used to run ML inference in the browser, with an ONNX Runtime Web example, the TensorFlow.js Wasm backend, and when WebGPU is the better fit.
  10. RustCalling shared libraries from Rust: link-time vs runtime loadingHow Rust calls functions in a C shared library, either linked when the program starts or loaded at runtime with libloading or dlopen.
  11. RustEmail slicer in Rust: splitting an address into username and domainA small Rust exercise that splits an email address into its username and domain, first with a character loop and then with split_once.
  12. RustResize, rotate and adjust brightness of images in Rust with the image crateBuild a small Rust library with the image and imageproc crates that loads, resizes, rotates, brightens and adjusts the contrast of images, then saves the results.
  13. RustBuild a JSON API in Rust with Rocket 0.5 and connect it to PostgreSQL with DieselCreate a small Rocket 0.5 web server with JSON GET and POST routes, then open a PostgreSQL connection with Diesel 2 and dotenvy.
  14. RustBatch renaming files with regex in RustBuild a small Rust CLI with clap and the regex crate that renames every file in a directory using a regex pattern and replacement, with a dry-run mode.
  15. RustWebAssembly in desktop apps: a Rust module in a Tauri windowWhere WebAssembly fits in a cross-platform desktop app, and how to compile a Rust function to Wasm with wasm-bindgen and call it from a Tauri 2 frontend.
  16. C++ & systemsImage processing in the browser with WebAssembly: a Gaussian blur with OpenCV.jsUse OpenCV.js, OpenCV compiled to WebAssembly, to blur an image in the browser, plus where Wasm helps for audio and video and what it costs.
  17. JavaScript & webWhat package.json does in a Node.js project, with an Express exampleThe main package.json fields (name, version, scripts, dependencies, devDependencies) and how to add a start script for a small Express server.
  18. JavaScript & webA simple collapsible component in React and TypeScriptA small React function component that shows or hides its content when you click the header, with a CSS-only caret and no icon library.
  19. JavaScript & webAsync JavaScript: promises, async/await and fetchHow promises and async/await work in JavaScript, plus making HTTP requests with fetch, handling errors, cancelling with AbortController and caching responses.
  20. GoGetting started with strapiintroduction to strapi cms platform
  21. JavaScript & webOverview of corporate landing page done in react with microsoft fabric uimaking a corporate landing page in react
  22. JavaScript & webUsing remotion for game highlightsAs I hit titan in erbs I wanted to make a video of the highlights
  23. Mobile & AndroidBasic React Native Templatereact native template for a basic app
  24. JavaScript & webUpgrading from material v4 to mui v5Updating material ui components to the latest version
  25. DevOps & toolingHeroku shutdown how to migrate to koyebBasic explaination of how I migrating my discord rss bot to koyeb
  26. JavaScript & webScreenshot utility for mobile appsThis covers how to take screenshots of your mobile app using the ios simulator or android.

© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)