[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / 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

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1725974643409547.jpg (1018 B, 130x97)
1018 B
1018 B JPG
how can rust be a serious language if doubly linked lists are still an unsolved problem?
>>
>>107696817
>doubly linked lists
Usecase?
>>
>>107696834
go backward
>>
>saar your language cant implement toy data structure from cs50 unlike jeetscript so its useless benchod
>>
>>107697303
>toy data structure
lol is this for real something as simple as a double linked list? they are unable to do so! lmao
>>
File: 1754950228548952.png (32 KB, 780x783)
32 KB
32 KB PNG
>>107697322
go back to your grinding cs50 videos and watching tsoding and codingjesus and other nocoder larp streamers ranjeet
>>
>>107697322
there are many ways to do it in rust (for example, ask an LLM to do a simple efficient one using slotmap). but linked lists as-is are almost always useless anyway. this is why in real code, i roll my own solutions, even for algorithms implemented using an LL in C++ and/or Java in papers, instead of using the LL in std, or one from the many on offer as crates.
i tend to think /g/eets who quibble about LL's are not even cs50 tards, but complete nocoder tards.
>>
>>107697628
>ask an LLM
>i tend to think
kek
>>
that looks like a skill issue ngl
its simply a matter of using a wrapper structure to hold the lifetime and use box and weak in the underlying node structure, isn't it? Rust isn't my forte.
>>
>>107697736
what's confusing you?
i wouldn't trust a /g/eet to be able to do anything on their own. otherwise, they wouldn't pre-filter themselves as often, before even trying anything with some (perceived) complexity, be it a programming language like rust, or even something as simple and easy as Arch. so all they do is daily inane seethe threads.
>>
>>107696817
It’s not. I tried to explain that idea to Rust proponents, that ownership or linear ability should be a property of the type, but they insist on the global, pervasive borrow checker.
>>
>>107696817
> 50 threads showing that it's not
> muh still an unsolved problem
you are brown



[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.