326
7
submitted 3 years ago by danyel@programming.dev to c/rust@lemmy.ml

[Disclaimer: Lemmy newb here]

There are currently 3 Rust communities across 3 instances: programming.dev, lemmyrs.org and this one (lemmy.ml). I know it's still very early for the migration from /r/rust, but it would split the community if there are so many options and nobody knows which is the "right" one. Currently this community has the most subscribers, but it would make sense if the Rust community finds its new home in one of the other instances.

  • lemmyrs.org seems like the logical solution if instance-wide rules are paramount and "non-negotiable"
  • personally I would love a programming-centric instance and programming.dev seems like a good way. Rust is not the only language I'm actively using (unfortunately :)). Maybe there can be community-specific rules that "enforce" the Rust CoC and the Rust community can find a home there?

Either way, the current situation has the most negative impact.

Thoughts?

327
1
Starting Project (lemmy.world)
submitted 3 years ago by Kaiser@lemmy.world to c/rust@lemmy.ml

I'm trying to learn rust. I've worked though the rust book but I've stagnated after completing the book. I've always found the easiest way to continue learning is to have an actual project to work on. I'm having a hard time coming up with a project to work on in rust so I'm looking for some suggestions.

328
8
rust-analyzer changelog #185 (rust-analyzer.github.io)
submitted 3 years ago by hersenbeuker@lemmy.ml to c/rust@lemmy.ml
329
4
rust-analyzer changelog #146 (rust-analyzer.github.io)
submitted 3 years ago by hersenbeuker@lemmy.ml to c/rust@lemmy.ml
330
240
submitted 3 years ago* (last edited 3 years ago) by Veritas@lemmy.ml to c/rust@lemmy.ml

If you haven't heard the news, Reddit is making some drastic, user-hostile changes. This is essentially the final stage of any ad-supported and VC-funded platform's inevitable march towards enshittification.

I really love the /r/rust community. As a community manager it's my main portal into the latest happenings of the Rust ecosystem from a high-level point of view primarily focused on project updates rather than technical discourse. This is the only Reddit community I engage directly with; my daily fix of the Reddit frontpage happens strictly via login-less browsing on Apollo, which will soon come to an abrupt end.

This moment in time presents a unique opportunity for this space to claim its independence as a wholly community-owned operation. If the moderators and other stakeholders of /r/rust are already discussing possible next moves somewhere, please point other willing contributors like myself in the right direction.

I'm ready to tag along with any post-Reddit initiative set forth by the community leaders of this sub-reddit. Meanwhile, I've started mobilizing willing stakeholders from the fediverse, which I believe to be the path forward for a viable Reddit alternative.

Soft-forking Lemmy

Lemmy as an organisation has issues. But the Lemmy software is a fully functional alternative to Reddit that runs on top of the open ActivityPub protocol, and it's written in Rust.

Discourse, the software which the Rust Users/Internals forum runs on also supports basic ActivityPub federation now, so the Rust Users forum could actually federate with one or more Lemmy-powered instances. As such, this wouldn’t just be a replacement to Reddit, it would be a significant improvement, bringing more cohesion to the Rust community

Given Lemmy's controversial culture, I think it's safest to approach it with a soft-fork mindset. But the degree to which any divergence will actually happen in the code comes down to how amenable the Lemmy team is to upstream changes. I'd love for this to be an exercise in building bridges rather than moats. I know the Lemmy devs occasionally peruse this space, so please feel free to reach out to me.

Here's what's happening:

  • The author of Kitsune is attempting to run Lemmy on Shuttle, which in turn have expressed interest in supporting this alt-Reddit initiative.
  • We're also looking into OIDC/OAuth for Lemmy, which would allow people to log in with their Reddit/GitHub accounts. If anyone would like to take this on, let us know!
  • Hachyderm is starting to evaluate Lemmy hosting next week. I personally think they could provide an excellent default home for a renewed /r/rust, as they are already a heavily Rust-leaning community of practitioners.

To facilitate this mobilization, I've set up a temporary Discord server:

https://discord.gg/ZBegGQ5K9w

I'll gladly replace this with e.g. a dedicated channel on the Rust community discord. One big upside of having our own server is that we can bridge it to a self-hosted instance of Revolt, which we'll do in the next few days.

Lemme know if this resonates with you!

— u/erlend_sh

331
1
Rust and Game Dev (beehaw.org)
submitted 3 years ago by cityboundforest@beehaw.org to c/rust@lemmy.ml

cross-posted from: https://beehaw.org/post/490551

So I'm currently looking to move my game design project(s) over to Rust because I do truly like the language (albeit being frustrated when I tried using it the last time, but I think that was because I let things get complicated without blackboxing them). However, I'm looking for a good framework or engine before diving in with OpenGL/Vulkan and getting my hands dirty with that system (which is what I was using initially).

For the record, one of my games is going to be in the style of Octopath Traveler and the other I'm looking at either doing the same or doing a voxel game. Game 1 is a JRPG and Game 2 is gonna be a combo Tactics/Puzzle game.

I've bounced back and forth a bit with both game engines in Rust but also just implementations for this project in general (Game 1, that is). I've moved from C to C++ to Unreal Engine to Rust back to C, then to C++ then now back to Rust again. Within Rust specifically, like I said, I did use I believe it was glium and egui to for my OpenGL calls and GUI respectively, but this time around, I've looked at specifically Bevy and Fyrox, but I'm not too settled on either. Fyrox seems like a lot to deal with for the projects I'm going for (which is one of the reasons I switched off of Unreal Engine), but Bevy is a little bit difficult to get a handle on with my project (Game 1).

Does anyone have any advice for me on how to go about this? Thanks in advance!

332
7
submitted 3 years ago by pcouy@sh.itjust.works to c/rust@lemmy.ml
333
29
submitted 3 years ago by Veritas@lemmy.ml to c/rust@lemmy.ml
334
38
submitted 3 years ago by Veritas@lemmy.ml to c/rust@lemmy.ml
335
34
Announcing Rust 1.70.0 (blog.rust-lang.org)
submitted 3 years ago by Veritas@lemmy.ml to c/rust@lemmy.ml
336
28
submitted 3 years ago* (last edited 3 years ago) by Veritas@lemmy.ml to c/rust@lemmy.ml

Joshuito, a Rust-based terminal file manager inspired by Ranger, has grown from a personal project into a robust and widely adopted alternative. It offers efficient file navigation, three-column interface, tab support, and advanced file operations like copying, cutting, and bulk renaming. The project underwent significant refactors, including library changes and practical solutions for challenges such as cut operations, mime type configuration, and user input handling. The supportive community of contributors played a crucial role in its success, teaching valuable lessons in code review, effective communication, and maintaining long-lasting projects. Joshuito's popularity and continuous improvement are fueled by the author's personal usage and gratitude towards contributors and users.

Transcript, mirror

337
74
submitted 3 years ago by admin@lemmyrs.org to c/rust@lemmy.ml

Hopefully, I'm not breaking any rules by posting this here!

I thought that instead of every community being on the main lemmy.ml instance I'd host a different (dedicated) instance for refugee rustaceans to get a hang of the fediverse.

It's listed on join-lemmy/instances and the link is lemmyrs.org, everyone is welcome!

338
12
submitted 3 years ago by jayknight@lemmy.ml to c/rust@lemmy.ml
339
25
submitted 3 years ago by Veritas@lemmy.ml to c/rust@lemmy.ml
340
2
submitted 3 years ago by blob42@lemmy.ml to c/rust@lemmy.ml

Hi all,

I started learning rust a few months ago on my free time. I went through the most difficult already like borrow checker and I used the Learning Rust book from Jim Blandy as reference especially for its first chapters.

This is not my first time learning a language I already have experience with Python, Go, JS, C, Lua ... but with Rust it feels different.

Everytime I learned a new lang there was always a milestone I crossed that made me feel comfortable using the language, that milestone was always some side project or program I needed anyway.

I am trying to do the same with Rust but the slowness of learning and looking up the docs coupled with the verbosity of the language is not very motivating. Don't get me wrong, I really want to use Rust and learn it as it looks very elegant and clean, I already learned a lot more about lower level details of programming. The documentation is probably the most elaborate one I ever used for a programming language.

To keep me going I am practicing Rustlings while a procrastinate to work on the side project I chose as first project.

I am just curious how others passed that milestone with Rust.

341
3
submitted 3 years ago by dessalines@lemmy.ml to c/rust@lemmy.ml
342
2
submitted 3 years ago by dullbananas@lemmy.ml to c/rust@lemmy.ml

I made this so I can prevent my web server from exceeding a disk usage quota that is enforced by deleting the home directory

343
1
submitted 3 years ago by naufraghi@feddit.it to c/rust@lemmy.ml

The conference will be in November in Florence, CfP will close in a few weeks!

344
2
GCC 13 and the state of gccrs (rust-gcc.github.io)
submitted 3 years ago by kixik@lemmy.ml to c/rust@lemmy.ml
345
4
CrabLang (crablang.org)
submitted 3 years ago by miguel@lemmy.ml to c/rust@lemmy.ml

A community fork of a language named after a plant fungus. All of the memory-safe features you love, now with 100% less bureaucracy!

346
1
submitted 3 years ago* (last edited 3 years ago) by kixik@lemmy.ml to c/rust@lemmy.ml
347
2
submitted 3 years ago* (last edited 3 years ago) by kixik@lemmy.ml to c/rust@lemmy.ml
348
1
submitted 3 years ago by miguel@lemmy.ml to c/rust@lemmy.ml
349
2
submitted 3 years ago by lemming_7765@lemmy.ml to c/rust@lemmy.ml

I would like to know if there are any proposals for internal file organization, like what to put from top to bottom...

Example: start with pub use declarations, then use, the mod, enums, traits, etc.

I've seen rustfmt has some options like reorder_imports that may impose some partial structure, but I would like a more comprehensive guide/spec...

If there's nothing like that. Can we maybe discuss something that makes sense? 🤔

350
1
submitted 3 years ago by miguel@lemmy.ml to c/rust@lemmy.ml

Rust Trademark Overview

Oracle, Is that you?

view more: ‹ prev next ›

Rust Programming

9435 readers
1 users here now

founded 7 years ago
MODERATORS