Live data from Hacker News

TinyGL 0.4.1

bellard.org

11–20 of 40 posts

Re: TinyGL 0.4.1

#14
post #2

Taking 20 years to move from 0.4 to 0.4.1 seems like a long long time.

Well, I'm surprised he has the time/intention to do that in between for us mere mortals. Here are a few references; - https://en.wikipedia.org/wiki/Bellard%27s_formula - https://en.wikipedia.org/wiki/Fabrice_Bellard ``` In April 2021 his Artificial Neural Network based data compressor, NNCP, took first place out of hundreds in the Large Text Compression Benchmark. To write the compressor, Bellard wrote his own Artifi…

Since I teach a fair amount of machine learning, I have been pondering on what a “minimal”, low-level implementation of a library would look like and got very excited hearing about LibNC. Sadly it seems like Bellard is keeping the source for this one: “The LibNC library is free to use as a binary shared library. Contact the author if access to its source code is required.” [1]. Not that you can every accuse the man of being greedy after all the code he has shared, but dang I wanted to read it. '^^

[1]: https://bellard.org/libnc/libnc.html#License

Re: TinyGL 0.4.1

#16
post #14

Earlier quoted context omitted.

Well, I'm surprised he has the time/intention to do that in between for us mere mortals. Here are a few references; - https://en.wikipedia.org/wiki/Bellard%27s_formula - https://en.wikipedia.org/wiki/Fabrice_Bellard ``` In April 2021 his Artificial Neural Network based data compressor, NNCP, took first place out of hundreds in the Large Text Compression Benchmark. To write the compressor, Bellard wrote his own Artifi…

Since I teach a fair amount of machine learning, I have been pondering on what a “minimal”, low-level implementation of a library would look like and got very excited hearing about LibNC. Sadly it seems like Bellard is keeping the source for this one: “The LibNC library is free to use as a binary shared library. Contact the author if access to its source code is required.” [1]. Not that you can every accuse the man o…

TinyGrad is basically that and is open source, albeit not in C

Re: TinyGL 0.4.1

#17
post #16
post #14

Earlier quoted context omitted.

Since I teach a fair amount of machine learning, I have been pondering on what a “minimal”, low-level implementation of a library would look like and got very excited hearing about LibNC. Sadly it seems like Bellard is keeping the source for this one: “The LibNC library is free to use as a binary shared library. Contact the author if access to its source code is required.” [1]. Not that you can every accuse the man o…

TinyGrad is basically that and is open source, albeit not in C

Yes, kind of, but it depends on NumPy which is fairly big if your goal is for students to grasp and demystify the whole way down to the hardware. Other candidates would be torch7 [1], but it is somewhat married to the Lua API which drives it.

[1]: https://github.com/torch/torch7

Re: TinyGL 0.4.1

#18
post #14

Earlier quoted context omitted.

Well, I'm surprised he has the time/intention to do that in between for us mere mortals. Here are a few references; - https://en.wikipedia.org/wiki/Bellard%27s_formula - https://en.wikipedia.org/wiki/Fabrice_Bellard ``` In April 2021 his Artificial Neural Network based data compressor, NNCP, took first place out of hundreds in the Large Text Compression Benchmark. To write the compressor, Bellard wrote his own Artifi…

Since I teach a fair amount of machine learning, I have been pondering on what a “minimal”, low-level implementation of a library would look like and got very excited hearing about LibNC. Sadly it seems like Bellard is keeping the source for this one: “The LibNC library is free to use as a binary shared library. Contact the author if access to its source code is required.” [1]. Not that you can every accuse the man o…

Seems that it would be worth your time to contact Bellard and ask about making it available for teaching (and/or under an open license of some kind)?

Re: TinyGL 0.4.1

#19
post #8
post #2

Taking 20 years to move from 0.4 to 0.4.1 seems like a long long time.

You might want to look at Fabrice Bellard's page and see what he has accomplished. He is a giant.

Thanks, now I realize how exceptional QuickJS is, a ES6 compatible JS runtime and maintained by a single person. We are bundling it into our web app to run sandboxed code.

Re: TinyGL 0.4.1

#20
post #17
post #16

Earlier quoted context omitted.

TinyGrad is basically that and is open source, albeit not in C

Yes, kind of, but it depends on NumPy which is fairly big if your goal is for students to grasp and demystify the whole way down to the hardware. Other candidates would be torch7 [1], but it is somewhat married to the Lua API which drives it. [1]: https://github.com/torch/torch7

You might like micrograd: https://github.com/karpathy/micrograd. There's also this video where the author explains how he built it: https://www.youtube.com/watch?v=VMj-3S1tku0
Post reply on HN