# November Dailyart Sketches #3
The third bunch of Nov sketches: a happy catblob, tower and shed isometric tiles, and a couple of skin tents
The third bunch of Nov sketches: a happy catblob, tower and shed isometric tiles, and a couple of skin tents
๐5โค2๐ฅ1๐ฑ1
# Google: Memory Safe Languages in Android 13
https://security.googleblog.com/2022/12/memory-safe-languages-in-android-13.html
> There are approximately 1.5 million total lines of Rust code in AOSP ... To date, there have been zero memory safety vulnerabilities discovered in Androidโs Rust code.
> ...
> In general, use of unsafe in Androidโs Rust appears to be working as intended. Itโs used rarely, and when it is used, itโs encapsulating behavior thatโs easier to reason about and review for safety.
> ...
> As the amount of new memory-unsafe code entering Android has decreased, so too has the number of memory safety vulnerabilities. From 2019 to 2022 it has dropped from 76% down to 35% of Androidโs total vulnerabilities. 2022 is the first year where memory safety vulnerabilities do not represent a majority of Androidโs vulnerabilities.
/r/rust discussion
https://security.googleblog.com/2022/12/memory-safe-languages-in-android-13.html
> There are approximately 1.5 million total lines of Rust code in AOSP ... To date, there have been zero memory safety vulnerabilities discovered in Androidโs Rust code.
> ...
> In general, use of unsafe in Androidโs Rust appears to be working as intended. Itโs used rarely, and when it is used, itโs encapsulating behavior thatโs easier to reason about and review for safety.
> ...
> As the amount of new memory-unsafe code entering Android has decreased, so too has the number of memory safety vulnerabilities. From 2019 to 2022 it has dropped from 76% down to 35% of Androidโs total vulnerabilities. 2022 is the first year where memory safety vulnerabilities do not represent a majority of Androidโs vulnerabilities.
/r/rust discussion
๐ฅ12
# Sleep Timer
I've only recently discovered for myself "sleep timer" apps. Now I can drown out all the anxious thoughts before sleep with an audiobook or a long YouTube video without the need to tediously search the place I fell asleep the next day, amazing! ๐ด
Settled with https://play.google.com/store/apps/details?id=ch.pboos.android.SleepTimer for now since it works with all the players I use and has the shake-to-wake function, so you can just shake the phone if you haven't fallen asleep quite yet - much better UX than trying to unlock the phone in the dark.
I've only recently discovered for myself "sleep timer" apps. Now I can drown out all the anxious thoughts before sleep with an audiobook or a long YouTube video without the need to tediously search the place I fell asleep the next day, amazing! ๐ด
Settled with https://play.google.com/store/apps/details?id=ch.pboos.android.SleepTimer for now since it works with all the players I use and has the shake-to-wake function, so you can just shake the phone if you haven't fallen asleep quite yet - much better UX than trying to unlock the phone in the dark.
Google Play
Sleep Timer (Turn music off) - Apps on Google Play
Sleep Timer lets you fall asleep to your favorite music.
๐1๐ค1
# /r/rust: "Is Crypto No Longer Leading Industry for Rust?
tldr: kinda yes and it's great
https://reddit.com/r/rust/comments/zb0bw7/crypto_no_longer_the_leading_industry_for_rust
Not sure about the "leading industry" phrasing but cryptocurrency/bc-related jobs used to totally dominate the rusty job offerings and it was a common source of complaints. Glad to see that the trend is changing.
tldr: kinda yes and it's great
https://reddit.com/r/rust/comments/zb0bw7/crypto_no_longer_the_leading_industry_for_rust
Not sure about the "leading industry" phrasing but cryptocurrency/bc-related jobs used to totally dominate the rusty job offerings and it was a common source of complaints. Glad to see that the trend is changing.
Reddit
From the rust community on Reddit
Explore this post and more from the rust community
๐9๐คฏ1
# Rustacean Station Podcast: Presser with Gray Olson
https://rustacean-station.org/episode/gray-olson
> Allen Wyma talks with Gray Olson, developer of Presser, a library that aims to make it easier to safely work with byte buffers.
- 00:00 - Grayโs background and introduction
- 04:18 - Grayโs art and graphic designing work for Embark Studio
- 08:40 - Ray tracing and fractals
- 13:44 - The most expensive process in a video game
- 16:48 - Vector graphics are so hard on the GPU
- 18:57 - What makes triangles very useful in drawing and designing
- 22:41 - Matrix math as a fundamental building block of computer graphics
- 28:13 - Understanding the concept of uninitialized memory and why Presser is necessary
- 36:31 - LLVMโs โNo Uninitialized Memoryโ attribute.
- 39:06 - Rustโs virtual machine
- 40:52 - Allocating memory for data
- 49:34 - Safety invariants and validity invariants in the Rust ecosystem
- 53:19 - How to use unsafe code in a way that does not violate the validity invariant of Rust
- 1:04:01 - Embark Studioโs mission to enable those who play games to also modify the game worlds they play in
- 1:07:27 - Embark Studioโs Rust game projects
- 1:09:08 - Parting thoughts
https://rustacean-station.org/episode/gray-olson
> Allen Wyma talks with Gray Olson, developer of Presser, a library that aims to make it easier to safely work with byte buffers.
- 00:00 - Grayโs background and introduction
- 04:18 - Grayโs art and graphic designing work for Embark Studio
- 08:40 - Ray tracing and fractals
- 13:44 - The most expensive process in a video game
- 16:48 - Vector graphics are so hard on the GPU
- 18:57 - What makes triangles very useful in drawing and designing
- 22:41 - Matrix math as a fundamental building block of computer graphics
- 28:13 - Understanding the concept of uninitialized memory and why Presser is necessary
- 36:31 - LLVMโs โNo Uninitialized Memoryโ attribute.
- 39:06 - Rustโs virtual machine
- 40:52 - Allocating memory for data
- 49:34 - Safety invariants and validity invariants in the Rust ecosystem
- 53:19 - How to use unsafe code in a way that does not violate the validity invariant of Rust
- 1:04:01 - Embark Studioโs mission to enable those who play games to also modify the game worlds they play in
- 1:07:27 - Embark Studioโs Rust game projects
- 1:09:08 - Parting thoughts
Rustacean Station
Presser with Gray Olson :: Rustacean Station
Come journey with us into the weird, wonderful, and wily world of Rust.
๐2
# IntelliJ Rust Changelog #184 ๐ก
https://intellij-rust.github.io/2022/12/05/changelog-184
Highlights:
- Function-like and derive proc macro expansion is finally enabled by default now! ๐
- Show coerced types via "View | Type Info" action (ctrl+shift+p)
- Support short intra-doc links (in the
- Experimentally set special environment variables when invoking proc-macro during completion so proc-macro's authors could use them for providing additional IDE-specific logic for custom completion (example).
/r/rust discussion
https://intellij-rust.github.io/2022/12/05/changelog-184
Highlights:
- Function-like and derive proc macro expansion is finally enabled by default now! ๐
- Show coerced types via "View | Type Info" action (ctrl+shift+p)
- Support short intra-doc links (in the
[link] format)- Experimentally set special environment variables when invoking proc-macro during completion so proc-macro's authors could use them for providing additional IDE-specific logic for custom completion (example).
/r/rust discussion
Please open Telegram to view this post
VIEW IN TELEGRAM
๐5
# Update on JetBrainsโ Statement on Ukraine
https://blog.jetbrains.com/blog/2022/12/06/update-on-jetbrains-statement-on-ukraine (followup on the March statement)
TLDR: All sales and R&D activities in Russia & Belarus stopped, all offices in Russia shut down, and liquidation papers for the Russian legal entity filed. The majority (800+) of Russian employees were relocated to Germany/Netherlands/Armenia/Serbia/Cyprus with families&pets, others decided to part ways with the company.
https://blog.jetbrains.com/blog/2022/12/06/update-on-jetbrains-statement-on-ukraine (followup on the March statement)
TLDR: All sales and R&D activities in Russia & Belarus stopped, all offices in Russia shut down, and liquidation papers for the Russian legal entity filed. The majority (800+) of Russian employees were relocated to Germany/Netherlands/Armenia/Serbia/Cyprus with families&pets, others decided to part ways with the company.
The JetBrains Blog
Update on JetBrainsโ Statement on Ukraine | The JetBrains Blog
As a response to the Russian Federation's invasion of Ukraine, we announced that we would be suspending all R&D activities in Russia, as well as our sales in Russia and Belarus. It has now been ap
โค12๐1
# Dwarf Fortress: Steam and Itch Release! โ
STRIKE THE EARTH! The legendary Dwarf Fortress - the deepest, most intricate simulation of a world that has ever been created - is out now on Steam & Itch with overhauled visuals and loads of accessibility improvements:
- https://store.steampowered.com/app/975370/Dwarf_Fortress
- https://kitfoxgames.itch.io/dwarf-fortress
STRIKE THE EARTH! The legendary Dwarf Fortress - the deepest, most intricate simulation of a world that has ever been created - is out now on Steam & Itch with overhauled visuals and loads of accessibility improvements:
- https://store.steampowered.com/app/975370/Dwarf_Fortress
- https://kitfoxgames.itch.io/dwarf-fortress
Steampowered
Dwarf Fortress on Steam
The deepest, most intricate simulation of a world that's ever been created. The legendary Dwarf Fortress is now on Steam. Build a fortress and try to help your dwarves survive against a deeply generated world.
๐ฅ7โค1๐1
# What Every Rust Dev Should Know About Macro Support in IDEs
https://blog.jetbrains.com/rust/2022/12/05/what-every-rust-developer-should-know-about-macro-support-in-ides
Following the recent partial stabilization of proc-macro support in IntelliJ-Rust, Vitaly wrote a great blog post (with a veery clickbait title :D) about IDE-centric view on proc-macro expansion and what proc-macros' authors can do to improve interactive editing experience for their users (mostly relevant for complex DSLs). The post is obviously biased towards ijrust but RA mostly works with proc-macros in similar ways.
/r/rust discussion
https://blog.jetbrains.com/rust/2022/12/05/what-every-rust-developer-should-know-about-macro-support-in-ides
Following the recent partial stabilization of proc-macro support in IntelliJ-Rust, Vitaly wrote a great blog post (with a veery clickbait title :D) about IDE-centric view on proc-macro expansion and what proc-macros' authors can do to improve interactive editing experience for their users (mostly relevant for complex DSLs). The post is obviously biased towards ijrust but RA mostly works with proc-macros in similar ways.
/r/rust discussion
The JetBrains Blog
What Every Rust Developer Should Know About Macro Support in IDEs | The RustRover Blog
We use a lot of tools for software development. Compilers, linkers, package managers, code linters, and, of course, IDEs are essential parts of our work and life. There are areas where single-tool eff
๐3
# Tiny Glade ๐ฐ๐ฟ
https://store.steampowered.com/app/2198150/Tiny_Glade
Tiny Glade (pka Tiny Building Game) - a small relaxing game about doodling castles and petting sheep - finally got a Steam page!
> Let yourself unwind in this cozy building game. No management, no combat, no wrong answers. Just kick back, doodle some castles, and turn forgotten meadows into lovable dioramas!
Happy to see yet another rusty game getting to Steam:
> Tiny Glade is written in Rust :) We use a few crates from Bevy -- primarily the ECS. Then we build our own rendering, audio and gameplay on top. We're fans of Bevy, but have very specific needs, which drives to implement bespoke solutions.
The game is being developed by a small indie studio - https://pouncelight.games - started by a couple of ex-Embark-ers (@anastasiaopara and @h3r2tic).
Wishlist the game on Steam and subscribe to their newsletter to support the project!
https://store.steampowered.com/app/2198150/Tiny_Glade
Tiny Glade (pka Tiny Building Game) - a small relaxing game about doodling castles and petting sheep - finally got a Steam page!
> Let yourself unwind in this cozy building game. No management, no combat, no wrong answers. Just kick back, doodle some castles, and turn forgotten meadows into lovable dioramas!
Happy to see yet another rusty game getting to Steam:
> Tiny Glade is written in Rust :) We use a few crates from Bevy -- primarily the ECS. Then we build our own rendering, audio and gameplay on top. We're fans of Bevy, but have very specific needs, which drives to implement bespoke solutions.
The game is being developed by a small indie studio - https://pouncelight.games - started by a couple of ex-Embark-ers (@anastasiaopara and @h3r2tic).
Wishlist the game on Steam and subscribe to their newsletter to support the project!
Steampowered
Tiny Glade on Steam
Tiny Glade is a small diorama builder where you doodle whimsical castles, cozy cottages & romantic ruins. Explore gridless building chemistry as the game adorns your glades with procedural detail. No management, combat or goals: just kick back and turn forgottenโฆ
โค4๐ฅ3๐1
# Rust 1.66.0
Highlights:
- Explicit discriminants on enums with fields
-
-
https://blog.rust-lang.org/2022/12/15/Rust-1.66.0
/r/rust discussion
Highlights:
- Explicit discriminants on enums with fields
-
core::hint::black_box
- cargo remove-
..=X ranges in patternshttps://blog.rust-lang.org/2022/12/15/Rust-1.66.0
/r/rust discussion
๐6๐คจ3
# IntelliJ Rust Updates Summary for 2022.3 Release Cycle
- Function-like and derive macros are expanded by default
- Build script evaluation by default
- Better support for intra-doc links
- let_chains
- Preview for intentions and quick-fixes
- Improved completion and auto-importing for proc-macro
- Gutter runners for doc tests
- Improved debugger pretty-printers
- and more:
https://blog.jetbrains.com/rust/2022/12/16/intellij-rust-updates-for-2022-3
/r/rust discussion
- Function-like and derive macros are expanded by default
- Build script evaluation by default
- Better support for intra-doc links
- let_chains
- Preview for intentions and quick-fixes
- Improved completion and auto-importing for proc-macro
- Gutter runners for doc tests
- Improved debugger pretty-printers
- and more:
https://blog.jetbrains.com/rust/2022/12/16/intellij-rust-updates-for-2022-3
/r/rust discussion
The JetBrains Blog
IntelliJ Rust: Updates for 2022.3 | The IntelliJ Rust Blog
In the 2022.3 release cycle weโve enabled macro expansion for function-like and derive macros and build script evaluation by default.
Weโve implemented code insight features like the
Weโve implemented code insight features like the
๐2
# IntelliJ Rust Changelog #185 ๐ก
https://intellij-rust.github.io/2022/12/19/changelog-185
We've just released another bi-weekly ijrust version!
Highlights:
- Initial type inference support for GATs.
- Show type hints inside attribute proc-macro.
- Improved support for new variants of range patterns.
- Respect clippy::wrong_self_convention attribute.
- A bunch of performance improvements - in cfg-disabled code and name¯o resolution.
/r/rust discussion
https://intellij-rust.github.io/2022/12/19/changelog-185
We've just released another bi-weekly ijrust version!
Highlights:
- Initial type inference support for GATs.
- Show type hints inside attribute proc-macro.
- Improved support for new variants of range patterns.
- Respect clippy::wrong_self_convention attribute.
- A bunch of performance improvements - in cfg-disabled code and name¯o resolution.
/r/rust discussion
Please open Telegram to view this post
VIEW IN TELEGRAM
๐5
# Rust GameDev News 40: Nov 2022
https://gamedev.rs/news/040
Sorry for another delay with the release but I've finally published the Nov newsletter today! ๐
Includes updates about 17 games, 7 engines, 3 learning resources, 4 tools, and 16 libraries!
/r/rust_gamedev, Mastodon, Twitter
https://gamedev.rs/news/040
Sorry for another delay with the release but I've finally published the Nov newsletter today! ๐
Includes updates about 17 games, 7 engines, 3 learning resources, 4 tools, and 16 libraries!
/r/rust_gamedev, Mastodon, Twitter
โค8