#prog #rust
Semver trick, или как обновить библиотеку лишь частично.
https://github.com/dtolnay/semver-trick
Semver trick, или как обновить библиотеку лишь частично.
https://github.com/dtolnay/semver-trick
GitHub
GitHub - dtolnay/semver-trick: How to avoid complicated coordinated upgrades
How to avoid complicated coordinated upgrades. Contribute to dtolnay/semver-trick development by creating an account on GitHub.
#prog #python #amazingopensource
Библиотека, которая позволяет визуализировать частично пересекающиеся множества в достаточно наглядном виде. В отличие от традиционных диаграмм Венна, прекрасно масштабируется на большое количество множеств.
https://github.com/gecko984/supervenn
Библиотека, которая позволяет визуализировать частично пересекающиеся множества в достаточно наглядном виде. В отличие от традиционных диаграмм Венна, прекрасно масштабируется на большое количество множеств.
https://github.com/gecko984/supervenn
GitHub
GitHub - gecko984/supervenn: supervenn: precise and easy-to-read multiple sets visualization in Python
supervenn: precise and easy-to-read multiple sets visualization in Python - gecko984/supervenn
#prog
Шпаргалка по регулярным выражениям. Рисует синтаксические диаграммы, включает в себя интерактивную проверялку. Есть набор часто используемых шаблонов, в число которых, к сожалению, входит e-mail.
https://ihateregex.io
Шпаргалка по регулярным выражениям. Рисует синтаксические диаграммы, включает в себя интерактивную проверялку. Есть набор часто используемых шаблонов, в число которых, к сожалению, входит e-mail.
https://ihateregex.io
i Hate Regex
i Hate Regex - The Regex Cheat Sheet
i Hate Regex is a regex cheat sheet that also explains the commonly used expressions so that you understand it. Stop hating and start learning.
#prog #rust #rustlib
Библиотека для облегчения генерации кода на Rust. Ну, мало ли кого ностальгия по Go замучила.
https://github.com/carllerche/codegen
Библиотека для облегчения генерации кода на Rust. Ну, мало ли кого ностальгия по Go замучила.
https://github.com/carllerche/codegen
#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