News for hackers. Stuff that matters.
Re:Your Career in Computer Programming (2015) by grawprog on Wednesday June 24, 2020 @09:10PM (#23635760)
My girlfriend's into crocheting. One day I went with her to the craft store and she got a few pattern books. I looked through a bunch of them and my first thought was 'oh, shit, they're all a bunch of computer programs'. I'd never really thought too much into it before, but my girlfriend explained how the patterns work to me and they're basically lines of code. There's even rudimentary loops and if statements.

Now I'm wondering if anyone's ever looked into making a Turing complete 'knitting instruction set' or ever looked into whether knitting was in fact Turing complete and if not, how to make it so. Would make for an interesting master's thesis or something. I'd read that paper.

Re:Your Career in Computer Programming (2015) by slavik81 on Wednesday June 24, 2020 @09:54PM (#23636048)
There are knitting machines for which you enter knitting instructions. As different machines have different capabilities, you may wish to compile your high-level knitting patterns to different knitting instruction sets. Some compilers are better at optimizing than others, resulting in more efficient knitting programs.

See "A Compiler for 3D Machine Knitting" and accompanying video. https://la.disneyresearch.com/publication/machine-knitting-c...

Re:Your Career in Computer Programming (2015) by grawprog on Wednesday June 24, 2020 @10:04PM (#23636102)
This is why I love hn. I post a random thought on the idea of a 'knitting computer' on a comment comparing knitting and programming and someone comes along with some detailed post showing exactly such a thing exists and information explaining it. Thank you.
Re:Your Career in Computer Programming (2015) by perl4ever on Wednesday June 24, 2020 @10:51PM (#23636390)
Re:Your Career in Computer Programming (2015) by hhjj on Thursday June 25, 2020 @01:05AM (#23637105)