[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: 1613869489258.jpg (33 KB, 720x718)
33 KB
33 KB JPG
What's the issue with Rust?

So far It has nice modern features like a cleaner syntax, and their memory system seems better than C or C++.

Dunno why trannies is a computer science argument, since I don't care about rust developers fetiches.
>>
>>107597756
make a double linked list then come back here
>>
>>107597756
make a non-trivial project that isn't a rewrite
>>
>>107597846
>make this toy data structure that is never used except by cs50 jeets
>>
"""""""" people """""""" (C developers) hate life and change and want the world to be the way it was in the 20th century
>>
Rust is written like someone is in a rush and is trying to get as much info as they can because idk they're stuck in the middle of nowhere getting raped and they need help so it's all the info you need just kinda strung together and even adds more info like it's like this but also it is NOT like that and aside from that it's basically written like cpp which is totally logical but also a little more complicated than C.

I recommend all three but just use cpp and then use other stuff too
>>
File: 1682032070151053.png (405 KB, 382x458)
405 KB
405 KB PNG
>>107597846
how does that relate to my question?

>Huh duh pajeet
I forgot the syntax because haven't coded CS basic shit since 2014, but is literally.

class linked_list():
head * node.
func Pop()
func Push()
func Clear()

class node():
node * parent
node * child

func Push(&node):
node_child = new Node()
node_child.parent = node
node.child = node_child
return node

?????
>>
>>107597980
wow you wrote the code that will get us to the moon
>>
>>107597846
use an arena you retarded fuck
>>
>>107597756
The C eco-system / toolchain will get the QoL enhancements that exist in Rust land and then there will be no reason to use Rust. Rust is a meme.
>>
>>107598098
I have been seeing this exact take for the past 10 years, sure sure 1 more year and C will get QoL improvements
>>
>>107597846
what's the problem? you can use "unsafe" for that
I treat Rust like C++2.0 - everything is const by default, everything is moved by default, everything is safe by default, but you still can do whatever the fuck you want if you want to, even virtual dispatch
>>
>>107598098
>>107598117
What QoL are you even hoping for?
The C ecosystem works fine. Nobody wants npm microdependency slop.
>>
>>107597756
> modern
> no GC
do you hate yourself
> but system programming
you will never be a real system programmer
>>
>>107597756
the politics
>>
>>107597756
It's an amazing language with a shitty community.
>>107597846
Not hard with Rc. Or unsafe and do it like you would in C.
>>107598098
Will never happen sadly. xmake is up there but it's way too niche.
>>
>>107599837
this
>>
>>107597756
>What's the issue with Rust?
It makes midwits seethe.
>>
>>107597956
>cnile
>uses sexual analogies to talk about programming
Every
Single
Time
>>
>>107597756
It's dogshit to iterate in Rust. It's why Rust projects tend to be either toys or rewrites.
>>
>>107601194
Not every projects needs to be agile. Waterfall approach is superior, no matter if you are making something new or a rewrite.
>>
>>107601238
I mean iterate as in refactoring.
Rust sucks because it goes against what programming is really like. When you program, you're generally not gonna be able to solve the problems on your first try. Maybe you'll come to find out that the problem is a little different than you thought, or the solution doesn't work as well as you'd expect it to. You simply cannot plan everything ahead of writing code.
See also https://loglog.games/blog/leaving-rust-gamedev/#rust-being-great-at-big-refactorings-solves-a-largely-self-inflicted-issues-with-the-borrow-checker
>>
>>107601296
>Rust sucks because it goes against what programming is really like.
Programming in Rust is just programming.

>When you program, you're generally not gonna be able to solve the problems on your first try.
I do. It's called experience and intuition.
I wouldn't prototype my newest game in Rust, but when it comes to writing pretty much any functional software, I rarely have to rewrite anything. The only refactor I do is just clean names up, split functions, move things into modules, etc, all that is easily handled by the IDE.

>You simply cannot plan everything ahead of writing code.
I can

>See also https://loglog.games/blog/leaving-rust-gamedev/#rust-being-great-at-big-refactorings-solves-a-largely-self-inflicted-issues-with-the-borrow-checker
I read this. This is the game in question: https://store.steampowered.com/app/2331980/Unrelaxing_Quacks/
Imagine spending multiple years to write an engine for a shitty vampire survivors clone that you can get working in a week using Unity. This guy's problem wasn't that he picked Rust, it being absolutely retarded lmao. If you manage to waste this much time doing something this pointless you are NGMI, no matter what tool you choose.
>>
>>107601296
Exactly this.
>>
>>107597756
I don't really mind rust as a language but it's pretty clear that it's being pushed by big tech to sway developers away from copyleft licenses and towards MIT.
>>
>>107597929
>want the world to be the way it was in the 20th century
a better place?
>>
>>107598098
c was always bad... is pure worse is better
>>
>>107598098
C doesn't even have bounds checking or real strings or arrays, and languages like BASIC and PL/I had them in the 60s. C is the opposite of a language you expect to get any kind of improvements.
>>
>>107597756
Compiling anything partially written in it or that has it as a dependency is a pain in the ass, and will break down if anything happens to a package on crates.io that you were using but suddenly vanished because the author was discovered to have used a rude word 12 years ago.
>>
>>107597980
>parent
>child
it's previous and next
>>
>>107597756
>What's the issue with Rust?
Rustrannies.
>>
>>107597980
>go
go back to india rajesh
>>
Are there any original programs of worth written in Rust yet?
>>
>>107597929
You should shill your bloated kitchen sink nightmare language to C++ devs who will actually appreciate it. I don't get this obsession with trying to foist rust on C enthusiasts when the only thing the two languages have in common is performance potential.



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