Blogs / Personal blogs

Project Nayuki

nayuki.io

My interests are in computer science and mathematics, and I strive to write clean, simple code for practical applications.

Popular posts
8
Total points
1,705
HN comments
1,078
Rank
#1,041 personal

Visit nayuki.io → On Hacker News May 2016 – Apr 2025

Software Engineering 8Math & Algorithms 3Tools & Productivity 2Programming Languages 2Web & Frontend 1

5

Fast Fourier transform in x86 assembly

I have a simple fast Fourier transform implementation on the page Free small FFT in multiple languages , whose asymptotic time complexity is the optimal Θ( n log n ). I wanted to know how much additional speed-up could be obtained by reorganizing memory access patterns and using SIMD vector arithmetic instructions…

6

Pixel is a unit of length and area

When measuring the size of a two-dimensional digital picture, the unit pixel is used in a weird overloaded way. Sometimes, it is used as a unit of linear length. For example, each frame of an animation is 1920 pixels wide and 1080 pixels tall. The Cascading Style Sheets (CSS) web standard has px as a unit of length…

7

Summary of C/C++ integer rules

This is my own collection of hard-earned knowledge about how integers work in C/C++, and how to use them carefully and correctly. In this article, I try to strike a balance between brevity (easing the reader) and completeness (providing absolute correctness and extensive detail).