Top all-time · #16387
multigrad
Personal blog · multigrad.blogspot.comprogrammingmath
multigrad is a personal blog at multigrad.blogspot.com about programming and math. Since 2014, 4 different Hacker News readers have linked it 8 times, most often “Evolutionary algorithm to find Quake III's fast inverse square hack with Python”. The last post was in 2014, but the archive is still widely read.
Too few sampled comments (1) to say how often HN recommends it.?
Why HN links it
HN readers link this blog's post on using genetic algorithms to evolve a fast approximation of square root. The one comment cites it as an example of generating code at run time.
Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Evolutionary algorithm to find Quake III's fast inverse square hack with Python3 people · 3 mentions · first linked 2014-04-08
- Fun with Python bytecode – Generate and modify it using evolutionary algorithms2 people · 3 mentions · first linked 2014-06-20
What Hacker News says?
Interesting topic. We did something similar in the past using the bytecode instead of the AST tree to accelerate genetic algorithm evolution: http://multigrad.blogspot.com/2014/07/low-level-frenzy.html http://multigrad.blogspot.com/2014/06/fun-with-python-byteco... I'm curious, what was the original use case for pyast64? Feels like we could apply it to genetic programming fairly straightforwardly.
Comment linking /2014/06/fun-with-python-bytecode.html
on “Compiling a subset of Python syntax to x86-64 assembly for fun and zero profit”Submitted Evolutionary algorithm to find Quake III's fast inverse square hack with Python as a story · 173 points
HN discussionI've had this idea before. This guy used genetic algorithms to create a fast approximation of square root ( http://multigrad.blogspot.com/2014/04/math-evolution-and-dir... ). You may be able to use a similar method to generate code at run time and get around patents. You can't patent the output of an algorithm.
Comment linking /2014/04/math-evolution-and-dirty-tricks.html
on “Linux for Lettuce”Submitted Fun with Python bytecode – Generate and modify it using evolutionary algorithms as a story · 81 points
HN discussionSubmitted Math Evolution And Dirty Tricks (2014) as a story · 2 points
HN discussionSubmitted Executing x86-64 opcodes in Python – Genetic Programming case study as a story · 2 points
HN discussionSubmitted Fun with Python bytecode as a story · 1 points
HN discussion