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 

Feb 2026

Christmas (2025) is over
 2025 
▼ show ▼
 2024 
▼ show ▼
 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

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

Archive

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