GithubHelp home page GithubHelp logo

JavaScript is faster than people expect, in this project I highlight techniques for optimizing it for speed and efficiency:

  • Multi-threading: Leveraging web workers and atomics for concurrent execution.
  • Typed Arrays: Utilizing typed arrays to reduce memory overhead through and encourage aggressive optimisations in V8.
  • C++ Performance Comparisons: Conducting performance benchmarks between JavaScript and C++ for optimization insights.
  • Game of Life: Check out the app built with these techniques here!

I love diving deep into C++ code and finding ways to squeeze out every ounce of performance. This project highlights:

  • Branchless Logic: Improving CPU performance through better instruction-level parallelism, reduced branch mispredictions and optimized pipeline utilization.
  • CPU Caching: Optimizing memory access patterns to leverage the CPU cache hierarchy effectively.
  • Compiler Benchmarks: Exploring performance differences across various compilers and tweaking code accordingly.
  • Job Pooling: Implementing efficient job pooling techniques for parallel and asynchronous programming.

Sometimes, less is more! I've written my personal site with zero JS to illustrate the power and flexibility of CSS.

  • Semantic HTML: Naturally increasing accessibility and reducing DOM bloat by properly leveraging HTML semantics.
  • Native SPA: Effectively leveraging browser targets to create native single page app experiences.
  • Raw CSS: Exploring the limits of native CSS capabilities.

image

This Minecraft mod is what ignited my passion for programming all the way back in 2012.

I remember finding this challenge in the forums and being in awe at the knowledge required... So in this repository I go back and complete the challenge. Feels good 😌

  • The Challenge: Write an AI in Lua capable of replicating itself.
  • Capabilties: The robot forages, mines, smelts and crafts all while operating efficiently to minimise fuel usage.

image

Logical programming is interesting because the solutions almost write themselves, this is my first foray into the topic:

  • Backward Chaining: Implementing backward chaining algorithms for logical reasoning.
  • Pretty Diagrams: Visualizing logical structures and solutions with beautiful and educational diagrams.
  • Blockworld: Check out my logic solver in action here!

image

Solving expressions without floating point innaccuracies or implicit approximations:

  • Error Bounds Tracking: Implementing error tracking mechanisms to ensure accuracy when using transcendental functions such as sine.
  • Infinitely Large Fractions: Storing and operating on numbers in a lossless manor with infinitely large values.
  • Pure Functional Haskell: Building a calculator using pure functional programming paradigms.

A gift to my sister as I headed off to live overseas in Vancuover for a couple years. The idea was that while we were both on opposite sides of the country, we'd still have some level of live casual interaction.

  • Pico W: Developed firmware for the Raspbery Pico Wifi microcontroller board.
  • MQTT Messaging: Leveraged the MQTT messaging protocol for real-time communication between devices.
  • Touch Screen Panel: Integrating touch screen panels for interactive drawing experiences.
  • 3D Printing: Printing and shaping a case to fit the board and touch panel.

TypeScript's type system is truly fascinating. In this repository I explore some of it's limits and lack thereof:

  • Turing Complete Type Systems: Exploring the expressive power of TypeScript's type system.
  • Type-Driven Development: Leveraging types for program design and verification.

Jamie Bray's Projects

codepad icon codepad

Personal templated environments and utilities for competitive coding

do-math-right icon do-math-right

Solve expressions without any floating point inaccuracies or implicit approximations.

pico-to-pico icon pico-to-pico

A Raspberry Pico RP2040 and ILI9341 based online drawing app.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.