131
submitted 4 days ago by Eaglesrl to c/unixsocks

Learning graphics programming in rust with WGPU. Having a lot of fun with my new Sway setup too!

top 11 comments
sorted by: hot top controversial new old
[-] CyberTailor@lemmy.world 9 points 4 days ago
[-] LongLive@lemmy.world 5 points 4 days ago

"Connecting"

"WPA2 secured"

"Requires authorisation"

"-> LunarFlamingo"

"Can't connect to the internet"

[-] Eaglesrl 2 points 3 days ago

It took me like 4 hours to figure out what this meant lol <3

[-] erotador 4 points 3 days ago

i dont know much about sway besides its i3 on wayland, why choose it?

[-] Eaglesrl 2 points 3 days ago

Well basically just that its I3 on Wayland. Ive been using Sway for a long time so im used to it and Ive had a number of different setups over the years. I like tiling WMs a lot, havent really used anything else since I switched to one.

[-] rainy@lemmy.zip 2 points 3 days ago

how have you been getting over rust's learning curve? I've tried to get into it quite a few times, going thru the book and other docs, even doing rustlings and something always trips me up. It seems like a fun language too so if you have any tips or feedback that have helped you become better at it I'd be grateful

[-] Eaglesrl 3 points 3 days ago

Im not sure if I’m over it quite yet lol but it’s a very feature rich language so there’s still a lot to learn. Before I learned Rust I used C which made some things easier to understand especially in regards to how the borrow checker works and why it works that way. For learning rust I used the rust book and I’ve looked at the rust book for design and rust by example at times too. After doing the book I just started on some of my own projects and that’s usually how I learn best. In C my first big project was to make a kinda basic graphics engine with OpenGL so I’m doing that in Rust now but with WGPU. So my advice would just be to start a big project to practice all your skills and make sure you understand everything. For me everything is easier in the context of putting something into practice. Let me know if you want to anything else!

[-] rainy@lemmy.zip 1 points 3 days ago

that's some nice insight, thank you. I think I need to think of a project that isn't like web related, I had done some webserver stuff in rust before but it didn't help me learn much (rust is kinda a mixed bag for web dev anyway, at least server side) but I'll try to think of smth in due time

[-] Eaglesrl 2 points 3 days ago* (last edited 3 days ago)

Yeah the book has you do web server stuff which I did find useful for learning async a bit although I think in practice most people use crates like tokio rather than implement their own parallelization. I would def recommend graphics for a project though. Its fun because the results of your work are very visual of course lol and it kinda exercises all of the skills youre learning depending on how much you get into it and try to optimize.

[-] Lemjukes@lemm.ee 2 points 4 days ago
[-] Eaglesrl 3 points 4 days ago

Its held up under much heavier things than me lol <3

this post was submitted on 19 Feb 2025
131 points (100.0% liked)

r/unixsocks on fediverse

2236 readers
1 users here now

About !unixsocks@lemmy.blahaj.zone on fediverse:

Unixporn + socks

Rules:

All non-meme posts should consist of the poster with socks, thigh highs, stockings, or even just legs, feel free to get creative!

A Unix-like OS is preferred, but any operating system is fine, as long as you are doing cool, or unique stuff with it.

Hate speech or discrimination will not be tolerated, we are protective of our lgbtq, neurodiverse, and culturally diverse members, but any sexism, racism, classism, or other bigotry will not be tolerated, and will result in am immediate ban that you may try and appeal.

NSFW post must have NSFW flag.

founded 2 years ago
MODERATORS