C++ BTFO

Defend this if you can
#include #include int main () { std::unique_ptr orig = std::make_unique(5); std::cout

Attached: scott meyers.jpg (215x176, 22.95K)

5Segmentation fault (core dumped)
what were you expecting

Attached: vO7lRZ7.png (621x702, 56.27K)

I was expecting to prove c++ is NOT memory safe and i was right

yep you are right

Attached: xNBQyu1.png (620x581, 16.22K)

What's more annoying is having to type "std::cout



fn main() { let orig = Box::new(5); println!("{}", orig); let stolen = orig; println!("{}", orig);}
warning: unused variable: `stolen` --> src/main.rs:4:9 |4 | let stolen = orig; | ^^^^^^ | = note: #[warn(unused_variables)] on by default = note: to avoid this warning, consider using `_stolen` insteaderror[E0382]: use of moved value: `orig` --> src/main.rs:5:20 |4 | let stolen = orig; | ------ value moved here5 | println!("{}", orig); | ^^^^ value used here after move | = note: move occurs because `orig` has type `std::boxed::Box`, which does not implement the `Copy` traiterror: aborting due to previous errorerror: Could not compile `playground`.To learn more, run the command again with --verbose.

Attached: steve-klabnik.jpg (250x250, 10.35K)

dasfsdsgd
Try to compile that. If it won't, your language is shit.

But does it implement the System V ABI? If I compile a rust library, do I get an ELF with symbols that can be loaded and discovered by anyone? Can I load and use a rust library from python?

No? Then kill yourself.

Defend this if you can int main(){ int* op_is_a_faggot = nullptr; return *op_is_a_faggot;} Wow, just wow. something something muh memory safety! C++ btfo XDDDD

Attached: 0b1df90eb319554d9090fdf46fde49f24f2ec5fd79bd227ed485748d94c4542c.jpg (250x241, 9.03K)

print('OP is a cunt')print('Stop fucking posting.')print('Please delete System32 because I know your dumb ass runs windows')

Please run the above code in Python for a special message.

Attached: 1425442687590.jpg (1000x159, 28.02K)