5 ms·
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 thoug
by grawprog 6y ago
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.
- slavik81 6y agoThere 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-compiler/ https://la.disneyresearch.com/publication/machine-knitting-c...
- grawprog 6y agoThis 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.
- perl4ever 6y agohttps://en.wikipedia.org/wiki/Knitting_machine#Knitting_assembly_language https://en.wikipedia.org/wiki/Knitting_machine#Knitting_asse...
- deleted 6y ago[deleted]
- hhjj 6y agohttps://en.wikipedia.org/wiki/Jacquard_machine https://en.wikipedia.org/wiki/Jacquard_machine