this post was submitted on 19 Feb 2025
148 points (96.8% liked)

r/unixsocks on fediverse

2308 readers
23 users here now

About [email protected] 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
 

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

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 month ago (2 children)
[–] [email protected] 7 points 1 month ago

"Connecting"

"WPA2 secured"

"Requires authorisation"

"-> LunarFlamingo"

"Can't connect to the internet"

[–] [email protected] 5 points 1 month ago (1 children)

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

[–] lena 1 points 1 week ago (1 children)
[–] [email protected] 1 points 1 week ago

I’m pretty sure it’s a pun because the first syllable of WiFi kind of sounds like wife

[–] [email protected] 5 points 1 month ago (1 children)

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

[–] [email protected] 3 points 1 month 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.

[–] [email protected] 4 points 1 month ago (1 children)

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

[–] [email protected] 5 points 1 month ago (1 children)

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!

[–] [email protected] 1 points 1 month ago (1 children)

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

[–] [email protected] 2 points 1 month ago* (last edited 1 month 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.

[–] [email protected] 2 points 1 month ago (1 children)
[–] [email protected] 3 points 1 month ago

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