#gamedev
Пост о том, как упростили кэширование рендеринга ландшафта в FactorIO. Авторы действительно заботятся об игроках со слабыми компьютерами.
https://www.factorio.com/blog/post/fff-333
Пост о том, как упростили кэширование рендеринга ландшафта в FactorIO. Авторы действительно заботятся об игроках со слабыми компьютерами.
https://www.factorio.com/blog/post/fff-333
Factorio
Friday Facts #333 - Terrain scrolling | Factorio
Hello, We released 0.18.4 this week, same old same old, more bugfixes, more bugs, more changes. At this stage of development, not many interesting things are happening, we are just polishing what we have.
#gamedev
"This is the book I wish I had when I started making games, and now I want you to have it. "
https://gameprogrammingpatterns.com/
Есть перевод на русский: https://live13.livejournal.com/462582.html
"This is the book I wish I had when I started making games, and now I want you to have it. "
https://gameprogrammingpatterns.com/
Есть перевод на русский: https://live13.livejournal.com/462582.html
#gamedev
Прототип игры в 3D-ASCII графике. Вещь несколько бессмысленная, но впечатляющая.
https://www.squidi.net/threep/p083/
Прототип игры в 3D-ASCII графике. Вещь несколько бессмысленная, но впечатляющая.
https://www.squidi.net/threep/p083/
#prog #rust #gamedev
Потрясающий туториал по созданию своего рогалика на расте. Уже больше 70 глав!
https://bfnightly.bracketproductions.com/rustbook/chapter_0.html
Потрясающий туториал по созданию своего рогалика на расте. Уже больше 70 глав!
https://bfnightly.bracketproductions.com/rustbook/chapter_0.html
Блог*
#rust #gamedev С безукоризенной пунктуальностью выкладываю выпуск новостей раст-геймдева за декабрь. Между прочим, пока что самый интересный. https://rust-gamedev.github.io/posts/newsletter-005/
#rust #gamedev
Последующие выпуски:
https://rust-gamedev.github.io/posts/newsletter-006/
https://rust-gamedev.github.io/posts/newsletter-007/ (совсем свежий, всего вчера опубликован!)
Последующие выпуски:
https://rust-gamedev.github.io/posts/newsletter-006/
https://rust-gamedev.github.io/posts/newsletter-007/ (совсем свежий, всего вчера опубликован!)
Rust GameDev WG
This Month in Rust GameDev #6 - January 2020
Welcome to the sixth issue of the Rust GameDev Workgroup’s
monthly newsletter.
Rust is a systems lan…
monthly newsletter.
Rust is a systems lan…
Блог*
#rust #gamedev Последующие выпуски: https://rust-gamedev.github.io/posts/newsletter-006/ https://rust-gamedev.github.io/posts/newsletter-007/ (совсем свежий, всего вчера опубликован!)
Точность — это моё второе имя. Второе, а не первое.
Forwarded from The Wacky Yellow Dog
@aikidos @Psilon
THE RESTRICT CONTRACT
I, [insert your name], a PROFESSIONAL or AMATEUR [circle one] programmer recognize that there are limits to what a compiler can do. I certify that, to the best of my knowledge, there are no magic elves or monkeys in the compiler which through the forces of fairy dust can always make code faster. I understand that there are some problems for which there is not enough information to solve. I hereby declare that given the opportunity to provide the compiler with sufficient information, perhaps through some key word, I will gladly use said keyword and not bitch and moan about how «the compiler should be doing this for me.»
In this case, I promise that the pointer declared along with the restrict qualifier is not aliased. I certify that writes through this pointer will not effect the values read through any other pointer available in the same context which is also declared as restricted.
THE RESTRICT CONTRACT
I, [insert your name], a PROFESSIONAL or AMATEUR [circle one] programmer recognize that there are limits to what a compiler can do. I certify that, to the best of my knowledge, there are no magic elves or monkeys in the compiler which through the forces of fairy dust can always make code faster. I understand that there are some problems for which there is not enough information to solve. I hereby declare that given the opportunity to provide the compiler with sufficient information, perhaps through some key word, I will gladly use said keyword and not bitch and moan about how «the compiler should be doing this for me.»
In this case, I promise that the pointer declared along with the restrict qualifier is not aliased. I certify that writes through this pointer will not effect the values read through any other pointer available in the same context which is also declared as restricted.
Хотел написать что-то по поводу сегодняшней даты, но... Серьёзно, вы же умные люди, вы и так знаете, какой сегодня день. Будет хорошо, если вы поздравите сегодня кого надо. Спасибо.
Блог*
Вот уже который день пытаюсь написать на Rust бинарное дерево, параметризованное глубиной, до которого ветви хранятся напрямую, а при превышении этой глубины хранится само дерево в Box. Каждый раз натыкаюсь на зацикливание при разрешении trait bounds. Обидно.
Попытался сделать через GAT-ы, но фиг вам:
error: type-generic associated types are not yet implemented
#prog #rust #rustlib
Замечательная библиотека для разбора значений на уровне битов. Как ни странно, не от dtolnay.
https://github.com/porglezomp/bitmatch
Замечательная библиотека для разбора значений на уровне битов. Как ни странно, не от dtolnay.
https://github.com/porglezomp/bitmatch
GitHub
GitHub - porglezomp/bitmatch: A Rust crate that allows you to match, bind, and pack the individual bits of integers.
A Rust crate that allows you to match, bind, and pack the individual bits of integers. - GitHub - porglezomp/bitmatch: A Rust crate that allows you to match, bind, and pack the individual bits of i...