[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: Rust_anguage_large.jpg (119 KB, 1140x760)
119 KB JPG
This lang has ruined programming for me.

I honestly don't have the patience for shitlangs anymore. I look at them and I get this feeling in my stomach that makes my want to puke. It's the ick women always talk about.
>>
>>109622531
>let s = Mystruct::default();

>let k = foo(&s.a);
>let l = bar(&s.b);

the bchecker: NOOOOOOOOOOOOO YOU CAN'T DO THAT BECAUSE...WELL YOU CAN'T! I DON'T HAVE THE GRANULARITY REQUIRED TO SOLVE THIS CASE, FOR ME THE ENTIRE STRUCT IS TAKEN BY FOO SO I'M REJECTING THIS VALID PROGRAM

i ended returning to C, i work so much faster there. also rust can still bug and segfault if you do any actual work. and no, spamming Arc/Rc/RefCell/Mutex/Cell/Box/etc is not a solution.
>>
>>109622591
yes because it's retarded. Shitlangs let you do this retarded shit.

Just use Rc or Arc if you need reference counting. Dumbass.
>>
>>109622591
bot thread reposting content from 10 years ago
>>
>>109622591
Works perfectly fine in my machine. You must be retarded.
>>
>>109622591
you literally can tho, borrow checker knows how to split a borrow
>>
>>109622531
let mut is so ugly, like american muttlet child



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.