The real deal y0

  • 1 Post
  • 307 Comments
Joined 1 year ago
cake
Cake day: July 16th, 2023

help-circle




  • I know that exists, but whats the point of that? You loose all advantages of rust when you use the library then because it cant predict application state with the library code. There is a reason all those rust libraries are compiled locally when you compile a rust application. Its a major lacking point for rust, and as long as it lacks that its dead in the water for big projects.
    Again, i like strong type stuff and i like the ideas of rust but it is not grown up enough for me











  • Mind sharing a source and saying what country youre talking about? Recycling is most certainly not a lie. Yes, some countries dont give a fuck and send it all to a landfill, but others dont.
    There is also the fact that there are more and more battery processing plants too that separate the materials for reuse. Plastics can be remelted and reused after they are grinded and separated. And cardboard, afaik, can just be reused. The ink on the cardboard is just merged into it. There is a reason recycled cardboard has a distinct colour and texture






  • Thanks for the response. Ive heard of rust’s compiler being very smart and checking a ton of stuff. Its good thing it does, but i feel like there are things that can cause this issues rust cant catch. Cant put my finger on it.
    What would rust do if you have a class A create something on the heap, and it passes this variable ( by ref ? ) to class B, which saves the value into a private variable in class B. Class A gets out of scope, and would be cleaned up. What it put on the heap would be cleaned up, but class B still has a reference(?) to the value on the heap, no? How would rust handle such a case?