Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment Re:Rust vs C++ RAII (Score 1) 107

Arc is actually primarily a Copy-On-Write system. You can put big chunks of data in it and share it around almost for free, but once shared, you can't modify it.
If you can prove that nobody else is going to be modifying the data, then you can convince the compiler to let you mutate it while shared.
For example: Arc<Mutex<String>>, where the mutex acts as proof that nobody else will be modifying the String.

Comment Re:Visual Studio C++ equivalent? (Score 1) 137

I agree. Qt Creator starts really fast, and lets you navigate C++ code quickly with Ctrl+Click/F2 to go to the definition, F4 to switch between C/H files, Alt+Left/Right to go to previous cursor locations, inter-file refactoring of names, and when there is stuff on the screen you don't want, you mash Esc until it all goes away.

Slashdot Top Deals

"Aww, if you make me cry anymore, you'll fog up my helmet." -- "Visionaries" cartoon

Working...