mscroggs.co.uk
mscroggs.co.uk

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
@(anonymous): Thanks for the clarification.
I'm still (slowly) building my asm funcion. I think I have settled on register allocation, leaving only rcx as a 'scratch' register because cl will be needed for some variable shifts.
I also use the xmm registers (14 so far) to minimize memory operations to hopefully let HT/SMT get some decent gains.

How long would Matt Parker's 'terrible Python code' take to solve this problem ? :)
Ok, his maths knowledge might produce some decent algorithms, but it would help him a lot to use something that compiles to native code.
Lord Sméagol
on /blog/119
               

Archive

Show me a random blog post
 2026 

May 2026

World Cup stickers 2026

Apr 2026

A new puzzle every day
Mixing Wordle with other games

Feb 2026

Christmas (2025) is over
 2025 

Dec 2025

Christmas card 2025

Nov 2025

Christmas (2025) is coming!

Sep 2025

The partridge puzzle

Aug 2025

TMiP 2025 puzzle hunt

Jun 2025

A nonogram alphabet

Mar 2025

How to write a crossnumber

Jan 2025

Christmas (2024) is over
Friendly squares
 2024 

Dec 2024

A regular expression Christmas puzzle
Christmas card 2024

Nov 2024

Christmas (2024) is coming!

Feb 2024

Zines, pt. 2

Jan 2024

Christmas (2023) is over
 2023 
▼ show ▼
 2022 
▼ show ▼
 2021 
▼ show ▼
 2020 
▼ show ▼
 2019 
▼ show ▼
 2018 
▼ show ▼
 2017 
▼ show ▼
 2016 
▼ show ▼
 2015 
▼ show ▼
 2014 
▼ show ▼
 2013 
▼ show ▼
 2012 
▼ show ▼

Tags

golden spiral machine learning tetris misleading statistics estimation rugby harriss spiral wool rust recursion curvature data visualisation binary map projections nine men's morris alphabets statistics manchester science festival plastic ratio crosswords correlation game of life matrix of minors simultaneous equations bluesky hexapawn javascript pokémon php weak imposition video games polynomials zines wave scattering arithmetic hyperbolic surfaces dragon curves fractals computational complexity anscombe's quartet game show probability mathsteroids christmas card warwick reuleaux polygons edinburgh braiding pascal's triangle squares crochet noughts and crosses frobel puzzles world cup stirling numbers errors programming royal institution numerical analysis manchester the aperiodical raspberry pi latex turtles ucl exponential growth martin gardner numbers dates probability triangles dinosaurs datasaurus dozen inverse matrices pi matrix of cofactors finite element method graphs final fantasy python chess error bars draughts logic stickers preconditioning graph theory countdown pokémon wordle runge's phenomenon weather station fence posts ternary menace geogebra newcastle trigonometry games partridge puzzle pi approximation day arrangement puzzles geometry platonic solids thirteen boundary element methods golden ratio cambridge gaussian elimination 24 hour maths inline code chalkdust magazine youtube mathsjam nonograms go pizza cutting logs gather town matt parker pythagoras coventry signorini conditions coins christmas sorting bubble bobble craft standard deviation hats regular expressions captain scarlet bots convergence books national lottery dataset finite group tennis big internet math-off gerry anderson light wordle phd folding paper people maths talking maths in public rhombicuboctahedron hannah fry crossnumbers databet advent calendar determinants bodmas data flexagons mathslogicbot news bempp palindromes pac-man cross stitch a gamut of games fonts friendly squares reddit propositional calculus sobolev spaces london royal baby interpolation accuracy speed mean crossnumber matrix multiplication tmip approximation football matrices kenilworth live stream european cup electromagnetic field kings chebyshev realhats oeis folding tube maps asteroids london underground radio 4 sport sound logo quadrilaterals guest posts

Archive

Show me a random blog post
▼ show ▼
© Matthew Scroggs 2012–2026