Alexander Houghton

Technical Programming Blog & Showcase

  • Home
  • BlogBlog of findings, fixes and thoughts!
  • Career Projects
  • LinkedIn

Latest Blog Posts

  • 📈 CUDA Parallel Sum Benchmarks
  • Exploring GPU Memory Transfer Speeds (Radeon RX 6600 & RTX 5080)
  • 🐇 Slim Graphics: Introduction
  • Comparing Synchronisation Methods on Windows
  • Does calling sqrtf always result in a single asm instruction?
  • Visualising SRGB & Gamma Correction
  • Redirect all stdout/stderr to console
  • Increase Windows Console Line Limit
  • Faster Compiling: Visual Studio Unity (Jumbo) Builds
  • Programming a Digital Potentiometer (MCP4131) With Raspberry Pi & WiringPi
  • 📈 CUDA Parallel Sum Benchmarks
    As my first foray into CUDA programming I set myself a challenge to experiment with different methods of finding the total sum of a large array of numbers, trying different strategies exposed via CUDA to see how different approaches compare… Read more: 📈 CUDA Parallel Sum Benchmarks
  • Exploring GPU Memory Transfer Speeds (Radeon RX 6600 & RTX 5080)
    I wanted to get a feel for how fast my AMD Radeon RX 6600 could transfer memory around and how much this changed depending on how much memory was being transferred as well as what type of memory was being… Read more: Exploring GPU Memory Transfer Speeds (Radeon RX 6600 & RTX 5080)
  • 🐇 Slim Graphics: Introduction
    Slim Graphics is my toy graphics engine I’ve been using to experiment with different graphical techniques and learn more about DirectX 12 as well as other graphical features such as Mesh Shaders as well as optimisation techniques. I have not… Read more: 🐇 Slim Graphics: Introduction
  • Comparing Synchronisation Methods on Windows
    Mutexs, Semaphores, Condition Variables, Critical Sections… There are so many different synchronisation types to choose from but how do they compare in terms of performance and what other synchronisation types are there we can explore? My tests here have been… Read more: Comparing Synchronisation Methods on Windows
  • Does calling sqrtf always result in a single asm instruction?
    I was recently running some performance benchmarks across different platforms to understand the cost of some simple mathematic functions such as sqrtf and quickly noticed, under certain circumstances compilers such as MSVC, Clang and GCC by default will not generate… Read more: Does calling sqrtf always result in a single asm instruction?
  • Visualising SRGB & Gamma Correction
    Introduction There are plenty of fantastic websites out there which explain the technicalities of Gamma Correction and SRGB colour correction so won’t try to do the same here. Instead this post is to show visually the effects of SRGB/Gamma Correction… Read more: Visualising SRGB & Gamma Correction
  • Redirect all stdout/stderr to console
    If your Windows executable is using /SUBSYSTEM:WINDOWS rather than /SUBSYSTEM:CONSOLE, something you will have noticed your output messages to stdout (printf, std::cout etc) will be missing. You can easily solve this however by spawning your own Windows console window and… Read more: Redirect all stdout/stderr to console
  • Increase Windows Console Line Limit
    If you’re in a situation where your console output text is being truncated because so many lines have been output, you may want to increase the limit. Increase Windows Console Text Limit With a console window already spawned, right click… Read more: Increase Windows Console Line Limit
  • Faster Compiling: Visual Studio Unity (Jumbo) Builds
    Unity/Jumbo builds are a way of speeding up C/C++ compilation by compiling multiple c/cpp files as a single object file. Speed improvements can come from not having to re-parse and compile shared headers. Even in projects that use pre-compiled headers,… Read more: Faster Compiling: Visual Studio Unity (Jumbo) Builds
  • Programming a Digital Potentiometer (MCP4131) With Raspberry Pi & WiringPi
    Github Link: https://github.com/comeradealexi/MCP4131 Datasheet One of the most important parts of programming an MCP is studying the datasheet provided with it. For the MCP4131, you can download it here: https://www.microchip.com/en-us/product/MCP4131 It will provide everything you need to know about the… Read more: Programming a Digital Potentiometer (MCP4131) With Raspberry Pi & WiringPi

Indice –––––––––

Designed with WordPress