51
17
52
14
Announcing Rust 1.96.1 (blog.rust-lang.org)
submitted 2 months ago by cm0002@infosec.pub to c/rust@programming.dev
53
23
Announcing Rust 1.96.1 (blog.rust-lang.org)
submitted 2 months ago by nemeski@mander.xyz to c/rust@programming.dev
54
7

We finally run the libcore tests with rustc_codegen_gcc in the CI of the Rust repo, which should help us a lot with the future syncs. We also finally merged a few more GCC patches, so the gap with upstream is slowly decreasing.

55
24
submitted 2 months ago by cm0002@lemy.lol to c/rust@programming.dev
56
1

I'm kinda still shopping around for a good graphical filemanager. This is of course still very raw, but the tagging system might actually take care of the bookmark aspect, which is very important to me.

57
14
submitted 2 months ago by cm0002@toast.ooo to c/rust@programming.dev
58
8
This Week in Rust 657 (this-week-in-rust.org)
submitted 2 months ago by cm0002@toast.ooo to c/rust@programming.dev
59
24
submitted 2 months ago by SorteKanin@feddit.dk to c/rust@programming.dev
60
3
submitted 2 months ago by indium114@beehaw.org to c/rust@programming.dev

Hocusfocus is a tool I made to track how long you spend on certain tasks (Working, Studying, Wasting time).

It was initially written in Swift, but was rewritten in Go a while ago. Now, I’ve rewritten it in Rust.

61
35
submitted 2 months ago by SorteKanin@feddit.dk to c/rust@programming.dev
62
23
submitted 2 months ago by SorteKanin@feddit.dk to c/rust@programming.dev
63
9

geteilt von: https://programming.dev/post/52041408

Have you ever thought about sharing data across language boundaries without serialization? This blog post highlights the challenges behind this endeavor and how they can be overcome.

Note: I'm not the original author of the blog post, but since the author does not have a programming.dev account, I post it on his behalf.

64
11
submitted 2 months ago* (last edited 2 months ago) by jamesfebin@programming.dev to c/rust@programming.dev

Who Runs Your Rust Future? Hands-On Intro to Async Rust

I wrote a hands-on intro to async Rust where you build a future and the runner that drives it. It assumes you've written async/await in JS and know Rust basics (structs, enums, closures). No prior async Rust needed.

What the first chapter covers:

  • Who actually runs your async code in Rust
  • What calling an async function actually does, compared to a JS Promise
  • What 'running' a future actually means, step by step
  • The waker: how a future says when it's worth polling again, so you can sleep instead of spinning the CPU
  • Building a Oneshot channel by hand
  • Writing block_on, a runner that drives a future to completion

Everything is built from std only, no dependencies. Also, this chapter is a part of a bigger series that goes deep into async Rust.

65
35
66
12
submitted 2 months ago by tracyspcy@lemmy.ml to c/rust@programming.dev

Crossposted from https://lemmy.ml/post/48563577

Initial release of FLI - really tiny and fast (like a 🪰) directory listing tool.

Initial Why: need some easy readable ls like tool for rpi to use via ssh.

Current Why: check if with Rust one can build core utils like tools faster and smaller.

  • Size:

18K - RPI ZERO W

51KB - Mac

  • Default mode streams readdir() => stdout with zero heap allocation.

  • Nice readabilty thx to (📄 and 🗂️) instead of text coloring

  • Written in no_std #rust + libc.

https:// github.com/tracyspacy/fli

67
43
submitted 2 months ago by SorteKanin@feddit.dk to c/rust@programming.dev
68
5

Is there any guide, tutorial or other resource that helps in making a REPL-based DSL using rust

69
23

Bevy Game Engine Explained Visually

A visual tour of how Bevy helps you compose complex, emergent games from small independent systems and a data-driven architecture.

70
66
submitted 2 months ago by SorteKanin@feddit.dk to c/rust@programming.dev
71
13
submitted 2 months ago by SorteKanin@feddit.dk to c/rust@programming.dev
72
6
submitted 2 months ago by cm0002@libretechni.ca to c/rust@programming.dev
73
18
submitted 2 months ago by cm0002@libretechni.ca to c/rust@programming.dev
74
47
submitted 2 months ago by cm0002@lemy.lol to c/rust@programming.dev
75
26

Tutorial Link

Chapter 7 - Let There Be Enemies

Continuing my Bevy + Rust tutorial series. Learn to build intelligent enemies that hunt and attack the player using A* pathfinding and AI behavior systems.

By the end of this chapter, you'll learn:

  • Implement A* pathfinding for enemies to navigate around obstacles
  • Reuse player systems for enemies (movement, animation, combat)
  • Build AI behaviors
view more: ‹ prev next ›

Rust

8248 readers
14 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS