Skip to content Skip to sidebar Skip to footer
Learning CUDA by optimizing matrix-vector multiplication for cuBLAS-like perf by rrampage

Learning CUDA by optimizing matrix-vector multiplication for cuBLAS-like perf by rrampage

18 Jan, 2025 Matrix-vector multiplication is a foundational operation in linear algebra, where a matrix transforms an input vector into an output vector. This operation basically powers numerous fields including computer science and deep learning. Optimizing matrix-vector multiplication, especially in the context of GPU programming and CUDA can help us learn many new things. In

Read more

Optimizing compiler for ts-pattern (zero runtime) by stevekrouse

Optimizing compiler for ts-pattern (zero runtime) by stevekrouse

⚠️ Note: this is highly experimental software. Here be dragons 🐉 Zero-runtime pattern matching. (~10-12x faster 🔥) Pattycake is an optimizing compiler for ts-pattern that lets you have your cake (expressive pattern matching), and eat it too (zero runtime overhead). Install Next.js // next.config.js const pattycake = require(‘pattycake’); module.exports = pattycake.next({ // your next.js config

Read more

Optimizing Open Addressing by TheNumbat

Optimizing Open Addressing by TheNumbat

Your default hash table should be open-addressed, using Robin Hood linear probing with backward-shift deletion. When prioritizing deterministic performance over memory efficiency, two-way chaining is also a good choice. Code for this article may be found on GitHub. Open Addressing vs. Separate Chaining Benchmark Setup Discussion Separate Chaining Linear Probing Quadratic Probing Double Hashing Robin

Read more

Optimizing Sequences by masijo

Optimizing Sequences by masijo

In this episode of jank’s development updates, we follow an exciting few weekends as I was digging deep into Clojure’s sequence implementation, building jank’s equivalent, and then benchmarking and profiling in a dizzying race to the bottom.IntroductionNot expecting a rabbit hole, I was originally surprised at how many allocations are involved in a normal sequence

Read more

In the Shadows of Innovation”

© 2025 HackTech.info. All Rights Reserved.

In the Shadows of Innovation”

© 2025 HackTech.info. All Rights Reserved.

Sign Up to Our Newsletter

Be the first to know the latest updates

Whoops, you're not connected to Mailchimp. You need to enter a valid Mailchimp API key.