2 ms·
> Actual code of tinygrad is less than 5k lines Yeah, not > Considering the code style I mean it is possible to read it, but I would not say it is optimized
by lostmsu 4y ago
> Actual code of tinygrad is less than 5k lines
Yeah, not
> Considering the code style
I mean it is possible to read it, but I would not say it is optimized for it. Which I suppose betrays the goal.
- terafo 4y ago> Yeah, not Provide some evidence. I just ran tokei on freshly cloned tinygrad repo using arguments from[1]. Got 4854 lines of code, which is less than 5k lines. [1] tokei --exclude *.json --exclude accel/cherry --exclude test --exclude examples
- lostmsu 4y agoAfter running black it is more like 6.8k. And black does not format C and/or shader code. But even 5k is closer to 20k on the log scale than to the promised 1k.