Загрузка видео...

Не удалось загрузить видео

На главную

Mnist neural network visualization written from scratch in Odin and Raylib. repo: I'm still new to Odin so if you see a way to imporve something, let me know :)

97,798 просмотров • 1 год назад •via X (Twitter)

Комментарии: 11

Фото профиля gingerBill
gingerBill1 год назад

I've just added some general improvements to an issue: This is just amazing in general though!!!!

Фото профиля Bones
Bones1 год назад

Thanks for that :)

Фото профиля gingerBill
gingerBill1 год назад

Don't use `sort.quick_sort_proc` but rather use `slice.sort_proc`. I'll add a deprecation attribution on that.

Фото профиля minami
minami1 год назад

bro says new to Odin and made this, gigachad humble king jokes aside love it man, I'll go through the codebase for sure I'll say add the license to this repo, I asked Claude to create one for you so that the college guy doesn't copy it again

Фото профиля Bones
Bones1 год назад

Thanks for reminding, added a mit license

Фото профиля ludwig
ludwig1 год назад

this is surprsingly readable, even the viz.odin... interesting

Фото профиля Bones
Bones1 год назад

thats one of the reasons why I love Odin, the viz is still a bit messy though

Фото профиля Jakub Tomšů
Jakub Tomšů1 год назад

returning error boolean is a bit silly, it's standard to return (ok: bool) which then lets you do or_return and or_else everywhere etc

Фото профиля Bones
Bones1 год назад

that's good to know, thanks for pointing that out

Фото профиля gingerBill
gingerBill1 год назад

For `ui_checkbox`, I'd just return a boolean and not take a callback whatsoever. if ui_checkbox(...) { /* same code as the previous callback */ }

Фото профиля Bones
Bones1 год назад

yup, that looks much better than passing a proc

Похожие видео