RustAdventure

318 posts

RustAdventure banner
RustAdventure

RustAdventure

@rustadventure

Learn to build reliable and efficient software in Rust operated by @chrisbiscardi

Katılım Eylül 2021
1 Takip Edilen1.2K Takipçiler
Sabitlenmiş Tweet
RustAdventure
RustAdventure@rustadventure·
Helllooo everybody :) We've got a completely new Rust Adventure site for you today! Complete with Light mode, Dark mode, and new, more accessible pricing that reflects the future of the project. rustadventure.dev
English
6
36
201
0
RustAdventure retweetledi
:party-corgi:
:party-corgi:@chrisbiscardi·
Will this eventually turn into a workshop? Well maybe. It depends mostly on how much subscribers want it to. I *definitely* think a rust-forward series would be useful and it could be a good intro to some of Bevy's underlying crates (glam, wgpu, etc). rustadventure.dev/i-spent-one-we…
English
0
1
3
770
RustAdventure retweetledi
:party-corgi:
:party-corgi:@chrisbiscardi·
I spent the last 6 months rewriting all of the infrastructure for @rustadventure in, well, Rust. The biggest question for me was whether or not Rust could handle the last holdout: web UI. youtube.com/watch?v=vL2nB1…
YouTube video
YouTube
English
0
5
29
2.5K
RustAdventure
RustAdventure@rustadventure·
egui 0.22 is out, with the ability to screenshot frames and WebGPU support!
English
0
0
6
390
RustAdventure retweetledi
Mara
Mara@m_ou_se·
🆕🆕🆕🦀 In the last few weeks, #rustlang 1.68.0, 1.68.1 and 1.68.2 have been released! Here's a thread with some of the highlights of Rust 1.68. 🧵 1/11 blog.rust-lang.org/2023/03/09/Rus…
English
1
47
234
27.8K
RustAdventure retweetledi
Boshen
Boshen@boshen_c·
Whenever @nnethercote shares his work, I sit up straight and study it like a university student. > (I’m a better programmer today than I was in 2002) I was still in primary school 😂, I flew to New Zealand the year after. nnethercote.github.io/2023/03/24/how…
English
1
3
14
2.4K
RustAdventure
RustAdventure@rustadventure·
Why you have to write function signatures on Rust functions instead of letting the types be inferred
English
0
0
4
724
RustAdventure retweetledi
Bevy Engine
Bevy Engine@BevyEngine·
Bevy 0.10 is out now! It features ECS Schedule v3, Cascaded Shadow Maps, Environment Map Lighting, Depth / Normal Prepass, Smooth Animation Transitions, Improved Android Support, Revamped Bloom, Distance and Atmospheric Fog, and much much more! bevyengine.org/news/bevy-0-10/
English
8
72
314
27.4K
RustAdventure retweetledi
Aria Desires
Aria Desires@Gankra_·
i've cut a smaller-than-planned cargo-dist 0.0.4 to unblock people who wanted arm64 macos support also makes the installers understand that arm64 windows also has rosetta-style emulation, so x64 binaries can be used if no native ones are available github.com/axodotdev/carg…
English
0
3
8
2K
RustAdventure
RustAdventure@rustadventure·
Finally, we can clone our data, copying it into the function. We still have access to the old data, and the function we called has a copy of the data that it owns.
RustAdventure tweet media
English
0
0
1
180
RustAdventure
RustAdventure@rustadventure·
Instead of moving, we can share access to data through references. A shared reference allows many functions to read the data, even though my_stuff still owns it.
RustAdventure tweet media
English
1
0
3
212
RustAdventure
RustAdventure@rustadventure·
Ownership in Rust means that only one variable owns a piece of data at any given time.
English
1
2
22
1.2K
RustAdventure
RustAdventure@rustadventure·
An enum can also carry data, although because each variant is its own definition, we'd have to re-type the name field to each Animal we'd want to have a name.
RustAdventure tweet media
English
1
0
1
178
RustAdventure
RustAdventure@rustadventure·
Structs and Enums are the main ways to define types in Rust.
English
1
1
8
708