r2p2

joined 2 years ago
[–] r2p2@lemmy.world 1 points 1 month ago

I get payed to write c++ but try to integrate rust in my hobby projects once a year. It starts and ends always the same way. At first the std lib makes coding seem easy but once the code gets more complicated I run against a wall called async, named lifetimes or restructuring the code to please the borrow checker (that's good I guess). I see that those are things you need to learn. But my time is limited since having a family and my brain has become slower over the years.

Regarding point 5. I am worried about the amount of sub dependencies one dependency pulls in (not only rocket). Gives me a feeling of being not in control and I don't think I am able to grasp how each dependency works.

Currently I am trying to do network stuff just using std::net::* will see how far I get this year.

[–] r2p2@lemmy.world 7 points 1 year ago (1 children)

My wireguard VPN drops if I use Firefox which seems to use way too much memory causing some apps to be killed.

[–] r2p2@lemmy.world 2 points 1 year ago (2 children)

Not sure if op is trolling. Seems to be at the same level of sleep sort. (But there not even compiler optimizations can help.)

[–] r2p2@lemmy.world 4 points 1 year ago (1 children)

In this situation I can imagine having other things in mind than proper orientation.

[–] r2p2@lemmy.world 5 points 2 years ago (1 children)

Battery that holds longer than 1.5 days?

[–] r2p2@lemmy.world 3 points 2 years ago (2 children)