[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 / qa] [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: 1702861310562870.jpg (121 KB, 930x820)
121 KB
121 KB JPG
I don't know Jack should about programming beyond writing simple Python scripts, so I'm always a big confused whenever I see a lot of vitriol surrounding rust adoption. Why is it hated and why is it shilled? What's its purpose? Please at least ATTEMPT to give serious answers, actually want to know what's going on.
>>
I don't like Rust because it seems like one of those programming languages (there are a few like this) where the general attitude of the community is "you must have a specific political ideology to use this language".

Obviously one has the option of giving such people the middle finger and using it anyway. But why would I want to if that's the sort of people I'd be associating with.
>>
>>103231085
>Why hate on Rust?
I never read the rust documentation, I never wrote a single line of rust code, I never even seen I single line of rust code.
But when the glowniggers, trannies, microsoft, libtards, jewtubers and nocoders tell me to rewrite everything in rust, that's all I need to know to never touch that shit and to hate it with all the atoms in my body.
>>
>>103231085
I just shitpost in every single rust thread to make shills seethe. and believe me, it's really low quality shitposting. I don't even code.
>>
Didn't you post the exact same thread yesterday already?
>>
>>103231148
Actually, what IS Rust used for? I've seen a bunch of people sing its praises like it's the greatest thing since flavored lube, and yet the only projects I'm aware of that use it are cordoned-off sections of the Linux kernel which somehow use Rust despite Torvalds saying in no uncertain terms that he would never allow its use because of its shitty error handling.
>>
>>103231312
trannies are '''rewriting''' everything to build moats around tech and monopolise projects.
huge mistake to let it happen.
>>
>>103231085
I don't like it becuse even barely touching the Cargo package manager leads to dependency hell. One 3rd party library might rely on a dozen other 3rd party libraries, and it makes maintaining a real pain.
>>
>>103231085
>Jack should
>a big confused
>>
>>103231085
People who hate Rust generally fall into these two symbiotic, mostly overlapping groups:
>/pol/ conspiracy theorists who believe Rust embodies every cultural and political problem of USA
>inexperienced programmers who don't really understand the point of static analysis and form their opinions based on memes
>>
>>103231312
real answer without the poltards: it's an incredibly niche language designed for those low-level C++ programs where memory leaks can occur
it's incredibly obtuse and hard to use for anything higher level, yet people seem to push it for everything
also while screaming about trannies is cringe, their community is very very annoying admittedly
>>
>>103231312
Torvalds never said he would never allow Rust. He merely pointed out some blockers which were addresses relatively quickly and eventually got accepted.
>>
>>103231749
relative to what
>>
>>103231777
To the whole timeline. the issues were addressed and Rust got merged to mainline in a year. Two years before that email about panics etc Linus was already said in an interview that he is optimistic about adding Rust support to Linux. The point is that he never said he doesn't want Rust. It's all just people mistaking his characteristic critical tone as hatred.
>>
>>103231829
>Linus was
Linus had*
>>
i want to learn rust, but i don't know what i would actually want to do with it at a personal project scale. it seems like command line utilities is one of the more practical things, but there is already ripgrep and such. trying to do anything with web assembly seems totally unnecessary since browser perf bottlenecks are generally i/o and dom manipulation, not cpu for 99% of apps
>>
>>103231085
See >>103228221
>>
>>103231903
that's just a really arrogant take. it's like saying unit tests are for retards who would make bugs without them.
>>
File: 1702449797930531.png (2.13 MB, 710x1374)
2.13 MB
2.13 MB PNG
>>103231085
TRVTHNVKE albeit
Rewriting shit in rust most of the time provides no benefit to the end user
>>
>>103231923
Also true
>>
>>103231085
Serious answer: The rust community started it by attacking C. Not everyone who writes C is programming rockets or life support systems, so trying to replace their favorite language with something that has completely different philosophy and syntax for "muh safety" just comes off as hyperbolic.
>>
>>103232066
I pretty much never see Rust programmers attack C language. Rust is not even a C alternative, it's a C++ alternative. On the other hand C programmers have irrational hatred for Rust. You can't even have a rust general without ciniles screeching in it 24/7
>>
>>103231085
Cniles are incredibly insecure
>>
>>103231312
For my use case, mostly python linting and validation libraries.
>>
>>103231312
I use Rust for rendering and graphic demos.
>>
File: 1713168608276916.jpg (90 KB, 975x975)
90 KB
90 KB JPG
>>103231085
>>
File: 1712332706265150.jpg (1.16 MB, 4000x3000)
1.16 MB
1.16 MB JPG
>>103232476
>>
File: 1722483929467074.png (719 KB, 1920x1080)
719 KB
719 KB PNG
>>103232483
>>
File: 1713090954883353.png (81 KB, 1251x979)
81 KB
81 KB PNG
>>103232484
>>
File: 1704463682915596.png (183 KB, 1192x608)
183 KB
183 KB PNG
>>103232488
i honestly don't know why trannies were attracted to rust at all. can someone explain why?
>>
File: 1717889149980021.png (172 KB, 1388x1103)
172 KB
172 KB PNG
>>103232493
>>
File: 1713368660261623.png (160 KB, 1040x1076)
160 KB
160 KB PNG
>>103232499
>>
File: 1718791095114282.jpg (819 KB, 1080x1607)
819 KB
819 KB JPG
>>103232502
>>
File: 1722110719969239.jpg (570 KB, 1284x2437)
570 KB
570 KB JPG
>>103232504
>>
File: 1700691595366847.jpg (500 KB, 1300x1700)
500 KB
500 KB JPG
>>103231312
The true answer is that rust is for, and at the moment should always be used for, programs or components of programs that network. To prevent shit like the dark souls RCE, that keeps happening constantly.
>>
File: file.png (888 KB, 604x772)
888 KB
888 KB PNG
>>103232510
>>103232504
>>103232484
>>103232499
>>
>>103232696
>is grossed out at the sight of beautiful women
you are a fag
>>
>>103232431
The C++ alternative is modern C++.
>>
File: giphy.gif (1.02 MB, 384x270)
1.02 MB
1.02 MB GIF
>>103232790
>No u
Fair enough
>>
The C++ alternative is Rust without borrow checker, aka Carbon
>>
>>103231729
The point of static analysis is to help the programmer implement correct programs, not help the programmer create correct programs. The irony here is deafening.
>>
>>103231085
Rust itself is a fine language, not my cup of tea but it's fine. The community around it is the problem. They're so political and annoying, and won't shut up about rewriting shit, and how it will eventually replace C/C++.
>>
>>103232940
>Carbon
Brvtal. I see what they did here.
>>
>>103232807
> modern C++
Every feature added to C++ is over-complicated whilst being as close to useless as possible. Its done this way on purpose, C++ is specifically designed to torture programmers. Its takes incredible skill and dedication, but the sickos who make up the standards committee somehow manage.
>>
>>103233360
C++ is easy, just don't be a retard
It's not because you have multiple answers to a problem that you have to use everything
>>
>>103232940
>Google
Thanks but I'm sticking with C++
>>
>>103233360
examples?
>>
File: pb.gif (9 KB, 640x480)
9 KB
9 KB GIF
>>103233360
You are a fucking idiot.
>>
The problem with rust is the problem with all "idomatically functional" languages. We already know the most basic "functions" that let us implement low level programs correctly, you just labeled them imperative cause they rely on a the extra input of state. In practice it's been shown time and time again that solving unsolved problems functionally is essentially ( at least )as hard as specifying your program to begin with, in which case you might as well just use a purely functional language.

If I wanted a generic function that would solve 90% of my problem slowly then I would just stick to the command line.
>>
>>103231936
neither does it benefit the dev since now you have to deal with that ugly piece of shit that is Rust
>>
File: upset.jpg (20 KB, 600x600)
20 KB
20 KB JPG
>>103231085
I hate it with all my guts because is nothing but a massive waste of time. It has one of the most uglier bureaucratic syntax, one of the slowest compiler, doesn't even have a specification, it has one of the most obnoxious community who want to sabotage C++ and impose their crap with laws. If I had the power I wouldn't think twice before erasing that language from history forever.
>>
>>103231085
Castration cult ideology
>>
>>103232502
Fuck. Guess I gotta leave python.
But where to?
What’s the straight white male language that is also retard proof, like python is.
I’m an engineer, not a programmer.
>>
>>103231312
>Actually, what IS Rust used for?
Android. The devs are super happy and enjoy less bugs.
>>
>>103233769
>"retard engineer"
Maybe Rust IS for you, anon-kun :^)
>>
File: rust.png (25 KB, 841x299)
25 KB
25 KB PNG
>You don't need inheritance starter pack.
>>
>>103233827
But I’m very happy being a heterosexual male and I don’t have any intention of changing that.
But seriously, shit like that I what’s gonna kill FOSS. And it’s ironic, because FOsS of course was inherently political from the start, but it was OG
>the means of production
Lefty politics, now it’s all identity politics, which only helps cooperations who can use it to make sure their workers never unionize and fight the system, because they’re way to busy with infighting and fighting for some niche bullshit that’s never gonna amount to anything significant.
So, yeah, cool that you can now fully life as a woman, even though you obviously aren’t one, but what’s the worth of this when you still gotta live in some shitty apartment in a drug infested shithole city, eating slop that’s slowly poisoning you, since you can’t afford any better with your measly 100k salary?
>>
>>103232696
I miss the times when coders were just a bunch of smelly RPG nerds in metal t-shirts. alternatively, balding white guys with tucked-in shirts and khaki pants.
>>
>>103231085
>Why is it hated and why is it shilled?
Most people that learn Rust do it as an investment, thinking it will payoff in the future if it becomes more popular. They do all the shilling, or only use/upvote/comment on things made in Rust because it benefits them. They aren't sitting idle waiting for it to become more ubiquitous magically.
The problem is that other languages are getting in the way of their "investment", and combined with the insecurity that comes from being uncertain of the future, it makes them act aggressive against other programmers. They care a lot about what other people are doing. Anyone not using Rust is a threat to their investment. That's why most people find Rust users annoying.
People that learn languages that are already popular only care about working on their own projects, and they don't care as much about what other people are doing. They don't see other people as an existential thread the way the Rust shill does.
>>
>>103232499
how is it good for their hiring strategy? no one wants to work with cross-dressing faggots in denial.
>>
>>103233096
Both static analysis and Rust can be used for both things.
>>
>>103232940
>t. never used Carbon
>>
>>103233396
Async, variant, optional, modules, pattern matching, etc. Compare them to Rust and it's clear C++ variants are much more complicated to use while being less powerful.
>>
>>103234284
>Most people that learn Rust do it as an investment
I learned Rust because it is a cool language. Literally everyone I know who uses Rust did the same. Once you learn several languages you can pick up new ones just for fun. Not everything you do in programming field is for money.

>The problem is that other languages are getting in the way of their "investment", and combined with the insecurity that comes from being uncertain of the future, it makes them act aggressive against other programmers.
Have you ever seen this or any other Rust thread. The only people acting aggressive here is people who dislike Rust. If we follow your train of thought then we have to come to conclusion it is C(and not C++ for some reason???) who's future is uncertain since it is C developers who treat everyone who use Rust as a treath.

>They don't see other people as an existential thread the way the Rust shill does.
Literally look at this thread.
>>
>>103235243
>The only people acting aggressive here is people who dislike Rust.
disgusting liar
and then you people wonder why you get ostracized
>>
File: bcachefs-incident.webm (1.01 MB, 854x480)
1.01 MB
1.01 MB WEBM
>>103231085
>>103235263
clarif:
cargo is a complete fucking mess because rust devs cant be arsed to write a standard library
it is a glaring vulnerability to supply chain attacks
and even good-willed people are fed up with the buhllshit
+ trannoid upstream dev went on a rampage on reddit and other similar shitholes to destroy the reputation of the debian maitntainer
rust community is trash
the language is trash
the infrastructure is trash

and theres two reasons that language gets shilled:
a) its an lgbt icon
b) the vulnerability to supply chain attacks is not a bug, its a feature
glownigs of all sorts salivating in the shadows
https://jonathancarter.org/2024/08/29/orphaning-bcachefs-tools-in-debian/
>>
>>103235263
You are literally acting aggressive right now...
>>
>>103235552
you started by being passive-aggressive
wtf did you expect you dumb shit?
>>
>>103235585
I wasn't passive aggressive. I wasn't even talking to you. I replied to that other anon, pointing out that ITT it's people who dislike Rust who act aggressive.

All you are doing is only proving my point.
>>
>>103235593
yeah you were
no plausible deniability here
if you use discourse tactics, thats passive agressivity
im not a faggot so what you get in return is a slap to the face, duh
>>
>>103235593
>>103235599
btw
the fact that you use discourse tactics to argument technical things shows just how little you are confident in rust, yourself
eat shit and die, shill
>>
Rust is technically superior language. You have to actually understand what exactly you're doing and not just slap pieces of code together until your code abomination start working. That's it. So called community is irrelevant and must be ignored.
>>
File: 1382467960155.jpg (37 KB, 400x400)
37 KB
37 KB JPG
Further proves my point
>>
>>103235670
>>103235674
>no you
mental age: 5 1/2
also: discourse tactics again, but no counter argument
is it because you cant find any?
>>
There is nothing to counter. I made a point and your posts had proven it factual. Q.E.D.
>>
>>103235726
>still no you
>discourse evasion again
you kinda suck at convincing people, rustrannoid
are you taking hrt by chance?
>>
>>103231085
Rewritten in rust usually means the project is about to have two abandoned versions, one in rust, because Rust doesn't fucking work.

This is happens 100% of the time and all examples to the contrary are lies.
>>
>>103231148
autogynephilia is commonly misunderstood. wanting to be a blond pigtailed chainsaw wielder makes the tweeter AGAMP. projecting another female as their image/person/whatever makes them AGAMP.
autogynephilia is wanting to sexually love their OWN image but because they are men, they have to change themselves to a female version of themself. projecting another woman onto themself makes it not autogynephilia. the autogynephilia has Erotic Target Location Error so they love their own image instead of another image.
by wanting to be that chainsaw chick for sexual reasons they are AGAMP which you can go and look up. this is all canadian stuff by the way.
almost everyone claiming to be autogynephiliac are really just AGAMP fags.
>>
>>103234255
>i miss
we all do, we all do.
>>
left_pad in rust: https://crates.io/crates/pad/reverse_dependencies
>73 reverse dependencies
>>
>>103236699
>https://crates.io/crates/pad/reverse_dependencies
what seems to be the problem?
>>
>>103236766
You failing to see the problem is part of the problem
>>
File: 1730734813610822.png (322 KB, 1031x900)
322 KB
322 KB PNG
>>103231085
Rust is too difficult for an average cnile on /g/ who get instantly filtered by the borrow checker. This hurts their ego and they cry about Rust 24/7.
A lot of people already struggle with the concept of Generics, and when you have to deal with enforced singular ownership and lifetime, it becomes too hard for an average programmer.

I don't see Rust being hated in real world, it's actually very well received.
>>
>>103236809
Okay but what is the problem?
>>
Never used Rust, but I do, unlike OP, have a lot of experience programming. I'm a senior backend dev with 8 YOE and a solid decade of hobbyist programming before that and in college. And I seen a valid reason to use Rust on a project. Rust fans always get excited when they realize a new component needs to be built because that gives them the opportunity to argue in its favor. This is itself a flawed, aggravating approach to design. Programming languages are tools. Rust fans are like plumbers who insist on using a torque wrench to solve every problem regardless of context.
>>
File: dependency_hell.png (105 KB, 1906x700)
105 KB
105 KB PNG
>>103236839
The package is from some random dev on github (who has no responsibility to maintain it).
The package contains 80 lines of source code.
The package was last updated 5 years ago.
The package has millions of downloads due to being used as a dependency.
The three most popular dependents of the package all require different versions of it.
Rust programmers don't see a problem with this and do this for everything, so multiply the above by 100 and add several levels of recursive nesting.
This leads to a fragile and intractable code base which will only become more fragile and more intractable as time goes on.
>>
>>103236989
>I NEED TO UPDOOT
>>
>>103237061
Yes, you will need to updoot if there's a bug in some intermediate dependency in the gigantic chain
And then everything will collapse
>>
>>103236832
>filtered by the borrow checker
It is super annoying at first. I used to just throw pointers around like they were nothing. But now that I've used it for a while I don't even notice it.
>>
>>103237090
you're making up imaginary problems
cargo update has never "collapsed" on me.
>>
>>103231148
This
>>
File: 1705938080331894.png (990 KB, 2000x1263)
990 KB
990 KB PNG
>>103231312
Reimplementing solved problems. Actually writing new things is impossible to do with rust because of the compile times and type-tangling.
>>
>>103237143
translation
>my stinkpad is too slow for rustc and i can't into type theory
>>
File: 1732019577658482.jpg (687 KB, 1179x1130)
687 KB
687 KB JPG
every product created in the new world is bad because of homo's, trannies, women, diversity etc. they want to completely overwrite the old world, back when there were traditional gender binaries etc

rust is a product from the new world, so i automatically hate it. i only trust things from the past, or if the product is created by people i approve of
>>
>>103231312
It's only used to rewrite an existing project in rust and "written in rust" is their unironic one and only sales pitch
>>
>>103231085
>picture
LOL!
>>
>>103231148
This. I have nothing to add.
>>
>>103237114
Right, completely imaginary problems that never happen in reality.
https://jonathancarter.org/2024/08/29/orphaning-bcachefs-tools-in-debian/
>>
>>103237114
No problems here.
https://archive.fosdem.org/2024/schedule/event/fosdem-2024-1983-remediating-thousands-of-untracked-security-vulnerabilities-in-nixpkgs/
>>
>>103231148
>I once saw a tranny wearing sunglasses so now I stare at the sun to own the jews
>>
>>103237670
but anon
trannoids are only one of the entities that the other anon listed...
>>
>>103237544
>>103237582
these are problems with debian and nix, respectively
>>
>>103231085
It's hated because it's incredibly rigid, very demanding even if you're not trying to do anything complex, heavily opinionated when it comes to programming styles, and its benefits are not relevant to 99% of projects.
It's shilled by people who see all of the above as proof of them being super 1337 haxx0rs for using Rust, despite their code being half unsafe blocks half unwraps.
Its purpose is to prevent one very common kind of programming mistake, the solution is fairly inelegant however and imposes bounds far stricter than what's actually required.
>>
>>103237695
Of course. Rust is perfect and problem-free as long as nobody relies on it to work and to continue working.
>>
>>103236989
Okay and?
>>
>>103236989
What exactly are you trying to imply?
>>
>>103237783
Rust is what modern C++ should have been, anywhere C++ is necessary, Rust is a perfect fit.
>>
>>103238341
you cannot replace competence with procedure.
and you cannot secure cargo
rust is a toy lang that has fuck all to do in prod
>>
>>103238341
>non-sequitur answer on par with a marketing slogan
>>
>>103238365
>you cannot replace competence with procedure.
Not sure what you mean? Rust requires competence and procedure.
>and you cannot secure cargo
And can you secure random repos from sourceforge?
>rust is a toy lang that has fuck all to do in prod
Cloudflare and Amazon, two of the largest and most important companies in modern civilization is using Rust, your post was verified using a Rust server in Cloudflare. Keep with the times and stop parroting braindead nocoder talking points.
>>
you can just use rust and c++ whenever you like
you decide when to use what
what is it with all of you retarded low iq normie faggots always tribalizing over the dumbest shit?


>hhrrrrrrhreeee I like hammer
>NO! u DUMB! DRILL SUPERIOR!
>waaaaaaaagh hammer not break
>DUMB DUMB DRILL NOT BREAK EITHER
...

this is my experience in this world
I am a spectator to boundless retardation, helpless and at times amazed
pushed into nigh depression by the idiocy of it all
there is no hope, no magic, nothing surprising anymore, not the slightest bit of light
it's just all so tiresome
>>
>>103236989
maintenance costs<productivity
blame it on toxic modern capitalism
>>
>>103237783
>It's shilled by people who see all of the above as proof of them being super 1337 haxx0rs for using Rust, despite their code being half unsafe blocks half unwraps.
Have you even looked into any popular Rust project? Rust programmers seem to be quite pedantic about unsafe use. Overuse of unsafe was the main reason behind artix drama, after all.

>>103238365
It takes a lot more competence to write in provably correct way like Rust demands from you. That's why it has such a steep learning curve. It's much easier to just bodge something quick and dirty in C++.
>>
>>103238395
>competence and procedure.
yeah
but its not what it says on the box with its promises of safety
>And can you secure random repos from sourceforge?
no, and thats teh point of a standard lib
kinda effing duh
>Cloudflare and Amazon, two of the largest and most important companies in modern civilization no. lol.
>Keep with the times and stop parroting braindead nocoder talking points.
oh, i do
and the winds are turning. rust is gonna end up like perl

>>103238522
its not tribalism
its big corpo and glowies using trannoids and the rest of the freaks to push a complete shitlang to put small teams at a disadvantage, and to open the door to a new scale of supply chain attacks
also fuck rust. because fuck rote memorization and shitting up my brain with retard ass procedure
if i wanted to by-heart shit i'd be doing history, not programming
>>
>>103238717
>It takes a lot more competence to write in provably correct way like Rust demands from you.
for little to no guarantees
and at the cost of rigidifying the whole dev process
fuck rust with a stick then set it on fire
https://github.com/Speykious/cve-rs
>>
>>103238786
Thanks to agreeing to my point.
>>
>>103238799
i mean
if you work with junior-tier level of competence, you better replace competence with a certain set of procedures, yeah
we agree on that
where we disagree completely is on the idea that big corpo is any sort of example to go by
they use fucking agile and scrum and other shit as a stand in for organization competence
were not yet even talking about technical know how
no, the most central thing to any corp-
>they replace competence with procedure
>the result being bloat and slowness and an inability to r&d
>>
>>103238829
*organizational
>>
>>103238770
>but its not what it says on the box with its promises of safety
But it is. Rust by default is far, far safer than its competitors. And it has objectively superior defaults ie no implicit casting, default immutability, singular ownership on heap objects.
>no, and thats teh point of a standard lib
You cannot pack everything in the stdlib. It's like boiling the ocean.
>>
>>103238847
>It's like boiling the ocean.
no, its called carefully choosing a scope
rust devs may be decent programmers
but they know fuck all about organization, ergonomics, or security
>>
>>103238862
So what exactly are you missing in the Rust stdlib within its scope?
>>
>>103238847
unless all the shortcomings and the fact that the work never ends is all part of the plan
shit ergonomics and asinine assumption systems to burden independents
cargo fucking mess for SCA maximization
and general never-endingness of the project to siphon as much money out of it as possible
with the usual suspects corpo bootlickers behind that all that- the lgbtetc

in either case
rust is bad. it fucking smells
to put things into perspective its 18 years old already
its old enough to drive and drink in jewrope
and is the 1/3 of the age of C
>>
>>103238875
ask crabs
i heard something about tokio and shit
if you'd ask me what the lib needs id say copy the libc and youre good
prolly a bunch of high level structs and procedures for noobs/quick and dirty work
>>
>>103238887
>copy libc
libc is already available in the system
But, what do you miss in rust stdlib that is available in libc?
>>103238880
You are not making any coherent sense. Rust is very ergonomic, it has proper package and build management tool, it has a proper language server, and a lot of good linting. Error messages are very helpful too.
And why do you type in Reddit-esque broken sentences? Are you the same unhinged ESL retard I interacted a few weeks ago? Please start using a trip so I can block you.
>>
>>103238932
>But, what do you miss in rust stdlib that is available in libc?
nothing
i work at a much lower level
but others do
https://jonathancarter.org/2024/08/29/orphaning-bcachefs-tools-in-debian/

>Rust is very ergonomic,
ill stop you right there
it looks like shit
theres a reason roadsigns are graphically simple and we dont use various shade of fuschia as traffic lights
>And why do you type in Reddit-esque broken sentences?
bc it makes you seethe you impolite faggot
>>
>>103239002
>nothing
>i work at a much lower level
>but others do
So you are being offended on someone else's behalf. Truly compelling.
>it looks like shit
It looks fine, you are not familiar with it. You have baby duck syndrome.
>bc it makes you seethe
Your entire identity is based on what others may think, you get offended on someone else's behalf and you write like a retard because someone else might get mad.
You never have formed a valid opinion for yourself. A typical low self-esteem NPC. Don't expect others to respect you if you don't know to respect yourself.
>>
>>103238875
String padding, apparently >>103236699
>>
>>103239179
>So you are being offended on someone else's behalf.
like pointing technical shortcomings is being offended
does it hurt to be a normgroid?

>It looks fine, you are not familiar with it. You have baby duck syndrome.
no, its objectively shit
you have too many symbols

>Your entire identity is based on what others may think
lmao. proof?
>>
>>103231148
There's a lot more to add to this, but this is a sufficient enough argument to get weirdos as far away from you as humanly possible, and that's most of what matters.
>>
>>103232499
Big mistakes, dumbasses.
>>
>>103231903
no namespaces
improper enums
no pattern matching
no Serde serialization
no macros
shitty generics (and none at all if you are using C99/89, which most tards here are)
undefined behavior on overflow of signed arithmetic (but not unsigned)
shitty concurrency story
shitty build tools
null-terminated strings
UTF-8 support only through libs

the only time to write C is to write C89 for supporting obscure architectures or to work on an existing C project (which is commendable)
you will notice that C-niles here will never post their code, because they don't actually code, or if they do, I really fucking hope that one day they try something new, because they are gimping themselves so hard
>>
>>103231148
>>103239955
this, anything that gets shilled is bad no matter what it is
>>
>>103238717
>>103238799
>rustfag can't go two posts without being disingenuous
>>
>>103240117
lol
ur autistic bc you use c wrong
you should use extended c
fuck iso and the standard

for example:
once you do force inlines
generics are perfectly redundant because you can turn all your code into legoes
and the feature is way more powerful than generics because you have ocntrol over what asm is generated where, EXPLICITLY
>>
>>103240117
as for the rest
literally- skill issue
and webshitter concerns
>>
>>103240117
>>103240551
for ar guments sake
and because im wasting time anyways
lets dissect the points one by one to show you i was 100% correct in brushing off 90% of your argumentation as noise:
>no namespaces
esthetics, and i heard, a bad practice
>improper enums
improper how? enums are a substitution for a number, dont remember which type exactly.
>no pattern matching
you use C when you can write faster implementations of that than you get in your high level standard lib
>no macros
i think you misspelled that youre gender fluid power bottom either way
>shitty generics
>all generics are shitty compared to force inlines
undefined behavior on overflow of signed arithmetic (but not unsigned)
nah thats just your ocd
>shitty concurrency story
nah, its just you cant deal with threads on your own
>shitty build tools
use Makefile. it is weird, but once you get the hang of it, its comfier than using shell
>null-terminated strings
nobody forces you to use them
in fact, C promotes the idea of you creating your own types, like with macros+compound literals
>UTF-8 support only through libs
duh
you use C when you build your own lib

all of these are skill issue or webshitter concerns.
>>
i just want OOP successor to c++. rust is too alien and ugly.
>>
>>103240683
>design by iteration
rust 2.0 when?
>>
>>103231085
>Why is it hated and why is it shilled?
The main reason it's hated is because of the shilling and cultishness. The constant claiming that it is the Messiah of Programming Languages when it clearly isn't (and the developers of it are obviously not as widely experienced as they think they are) is intensely annoying to people trying to get shit done.
>>
>>103234255
This.
But, I live to see the day when it all comes crashing down around them. That or they all rope.
>>
File: 1723314441229931.gif (1.17 MB, 360x270)
1.17 MB
1.17 MB GIF
>>103240535
>fuck iso and the standard
lmao there goes your portability, the only reason to write C for new software
>once you do force inlines
LMAO
>generics are perfectly redundant because you can turn all your code into legoes
yes, they were very redudant when I used them to implement stacked hash maps for representing scoped names within an interpreted language I wrote
>and the feature is way more powerful than generics because you have ocntrol over what asm is generated where, EXPLICITLY
you do not have the slightest clue what generics do

>>103240551
ah, yes, a skill issue

>>103240657
>esthetics, and i heard, a bad practice
lmao
>improper how? enums are a substitution for a number, dont remember which type exactly.
>no pattern matching
proving my point that you do not know what you are talking about
>i think you misspelled that youre gender fluid power bottom either way
you care more about sexual orientation than you do software, much like the trannies you proclaim to hate
>nah thats just your ocd
no, that is what the C standard says
>nah, its just you cant deal with threads on your own
post your own code where you have dealt with threads
>use Makefile. it is weird, but once you get the hang of it, its comfier than using shell
lmao
>in fact, C promotes the idea of you creating your own types, like with macros+compound literals
wow, you discovered the ability to type out literal values, you deserve a reward
>duh
yes, duh
>all of these are skill issue or webshitter concerns.
you would have learned more by now by using even Powershell rather than C
>>
>>103236832
> Rust is too difficult for an average cnile
So is fucking useless as a language. No need to argue more, rust to the trash pile it goes.
>>
>>103240810
>no, that is what the C standard says
and how its a problem
the rest are sad homonems btw
not worth even reading
>>
File: retard.jpg (46 KB, 698x500)
46 KB
46 KB JPG
>>103240117
>>
File: crab-roast.jpg (86 KB, 683x459)
86 KB
86 KB JPG
>>103240811
actually, yeah
>too complicated for the people who build mris, aeronautics, literal rockets as in rocket scientists
yeah
if thats too complicated ofr the best in the field
back to the drawing board it goes
(ntm loonix server share)
>>
File: buffers.png (198 KB, 865x740)
198 KB
198 KB PNG
*ehrm*
too complicated for the best in the field TO BOTHER WITH
>>
>>103237180
Pajeets in frontend dev have typescript and dont have to think about it.
>>
>>103240870
>cnile
>the best in the field
cniles are the bottom of the barrel retards in the wrong end of the dunning kruger curve. Everytime they see fucking generics they get filtered.
>>
>>103240962
>sad homonem barrage
at this point this comes out as impotent rage
you have no sense of dignity
>>
>>103240968
If you are looking for a hugbox, I suggest trying reddit.
>>
File: C-unity-of-purpose.png (216 KB, 590x572)
216 KB
216 KB PNG
>>103240983
now that was unhinged
im just stating facts:
namely-
ur seething. malding even ^^
have a meme
>>
>>103240988
>n-no u
lmao cry more cnile faggot.
>>
File: kernighan-on-c-3.png (259 KB, 850x400)
259 KB
259 KB PNG
>>103240996
>>
File: pepone.gif (364 KB, 112x112)
364 KB
364 KB GIF
>>103240983
You are a poorfag, don't you?
>>
File: GOwKz39WwAACros.jpg (114 KB, 1200x1152)
114 KB
114 KB JPG
>>103241008
>poorfag
Im not a cnile, I dont complain about muh bloated binary
>>
File: cring-polees.jpg (105 KB, 750x942)
105 KB
105 KB JPG
>>103241019
no, you just desperately cant into pointers, got it
>>
File: 1731316666010444.png (175 KB, 392x536)
175 KB
175 KB PNG
>>103241029
nah bro you are just filtered by generics.
>>
File: kys.png (435 KB, 649x763)
435 KB
435 KB PNG
>>103241048
>no, u
what makes you think c is the only language i write in?
>>
>>103241059
Because you only shill c duh
>>
>Rust doesn't have any useful libr....ack
https://github.com/BlossomiShymae/barcodes
>>
File: g-fc.jpg (51 KB, 640x434)
51 KB
51 KB JPG
>>103241079
oh
bc i do opencl too but whenever i namedrop what i do it turns out i have maybe 5 discussion partners on the whole site, with 2 of being so much better than me that i can only acquiesce
>>
>>103231148
So if you play a videogame with a nigger MC you automatically want to be a nigger? I agree the game in question is probably for fags but generalizing it in this way is mental illness.
>>
File: nerd-doggo-hez.png (298 KB, 572x583)
298 KB
298 KB PNG
>>103241079
also c is the perfect gateway drug
if you cant deal with stack programming using c
you can forget about gpgpu
its the same, only (kinda) asynchronous
without any of the fancy high level stuff you find in higher level languages
>>
>i do opencl
You don't do shit. You are a brainrotted coomer who just shits out pedo tranime pictures and post in aicg.
>>
>>103241080
pub struct HexadecimalColor(pub i32);

impl From<HexadecimalColor> for RGB {
fn from(value: HexadecimalColor) -> Self {
let colors: Vec<u8> = format!("{:06x}", value.0)
.chars()
.collect::<Vec<char>>()
.chunks(2)
.map(|c| u8::from_str_radix(&c.iter().collect::<String>(), 16).unwrap())
.collect();

RGB::new(colors[0], colors[1], colors[2])
}
}

wtf I thought trannies were supposed to be good at programming.
>>
File: clown.png (762 KB, 680x750)
762 KB
762 KB PNG
>>103241165
you wish
i actually invent maths bc the usual method of throwing everything + the kitchen sink at the problem turns out to be inefficient
also i do classification ai
i did. im building a fast food chain now
>>
>>103241178
LGTM
>>
lmao, sure buddy. For a nocoder you sure have some hot opinions on Rust and C.
Every single cnile shill turns out to be a fucking fraud on /g/.
>>
>>103241223
whatever lets you sleep at night
no (you)s mean you care about you 's btw
>>
nocoders like you deserve no you's.
>>
File: soulless-pepe-round.jpg (73 KB, 962x962)
73 KB
73 KB JPG
>>103241223
also i forgot to buy carrots because of you
yeah theres no logical link between that fact and your person, im still gonna blame you for that
my soup will lack umami you piece of human garbage
>>
>>103241178
No way...
They really are just webshitters trying to enter another niche
>>
File: rust-jobs-b.png (27 KB, 523x341)
27 KB
27 KB PNG
>>103241245
send umami bitch
you fucking whore
>>
>>103231085
>rewriting rust in rust
One day, rust users might discover this thing called "Assembly".

Also my tech pleb sister officially talked about Rust to me recently, she doesn't know what a terminal is, let alone langs or assembly.
So you know it's pleb garbage shilled by corps if plebs are recommending it without understanding it at all.
>>
>>103241274
which assembly?
>>
>>103232696
Yes... gross...
Only a weird cunt would fap to that pic... yes...
>>
>>103241274
wow you know about assembly and terminal? hecking cool bro you must be so special
>>
File: 1731358742829964.gif (897 KB, 800x430)
897 KB
897 KB GIF
>>103241165
>>103241192
>It's real
>>
>>103241310
nta
but thats what youre supposed to know anon
from asm to c to sepples to c# to js to html to css to js to php
uniropnically thats not a tall ask
i used each one of these at one point or another and im smart
but not thaaaaat smart
>>
>>103241321
>js twice
that episode traumatized me
im refractory towards js, lets say
>>103241318
aww ur jelly
>>
>>103241321
which asm?
>>
>>103241337
at my level?
whatever gcc shits out and then google tells me which one
i never said im the end all be all brogrammer
but i can read manuals
and thats why thats a standard id expect from anybody else
>>
>>103235866
>Trannycase
>>
>>103241353
I wasn't talking to you.
>at my level
Go back to aicg. You are not a programmer.
>>
>>103241377
i do openzee ell though
did
made some money, now i diversify
aicg coomers are several degrees of magnitude beneath me
y are you so mean?
i do open cl
you do asm
we each got our domeins
why would you feel inferior towards me?
>>
>>103241377
>>103241389
you can learn opencl/cuda
i can properly learn asm
whats the matter?
>>
>>103241178
>>103241265
What am I supposed to be outraged at?
>>
>>103241413
Why would you alloc a string and do a bunch of string operations to get 3 bytes? That's pajeet tier coding.
>>
>>103241413
That code does the same thing as
RGB::new(value.0 >> 16, (value.0 >> 8) % 256, value.0 % 256)
>>
>>103241479
>peak procedure over competence
(nta)
>>
>>103240389
Disingenuous how?
>>
>>103241479
It's a fucking userspace application, it can afford <1kb allocation.
>>
>>103231085
i just regurgitate everything primeagen says and he says it sucks so...
>>
>>103241500
stupid retard
ill let og anon explain to your stupid stupid stupid ass why allocating a 3 byte string is peak retardation
its just so retarded i cant help myself, but insult you
>>
>>103231729
There's a difference between static analysis that operates on the code you actually write, and "static analysis" which is too stupid to work unless you write your code in a retarded style. One is a tool, the other is a burden
>>
>>103241511
>n-nooooo my 512 bytes memory
Seek mental help, retard.
>>
>>103241520
youre waiting for your os to give you memory each time you allocate
thats CS 101
no,
babby's first CS class
CS preschool if you will
>>
>>103241514
You can do both in Rust
>>
>>103241526
>youre waiting for your os to give you memory each time you allocate
ok and? Are you implying the app will freeze because of sub 1kb memory request? Shut the fuck up LARPing retard.
>>
>>103241527
except rust sucks cock
and is hard to read
and is hard to refactor
and cargo introduces vulnerability to supply chain attacks
also it smells and is undercooked
>>
>>103241536
>ok and?
if you worked for me id put you through a remedial class because firing you on the spot would be more expensive
you wouldnt survive your next performance review, though
>>
>>103241549
>if you worked for me
bro nobody works for you and you work for nobody. You are a fucking retard who barely knows any programming if you thing a sub 1kb memory request has any effect on an I/O bound app in VTE. Quit your LARP. It's clear you never graduated past fizzbuzz.
>>
>>103241560
do your cs studies then come back
or maybe google what are the advantages to using the stack, and the time it takes to access memory, and also how long it takes to allocate memory on the heap
idk, just suggesting you the barest of basics
>>
>>103231749
>some blockers
The only thing Rust is blocking is puberty.
>>
>>103241572
what the fuck are you talking about? you really think 512 bytes of heap allocation is the bottleneck of an IO bound app??
kek so this is the power of /g/
>>
(also shows the absolute state of crabs.dont even know the difference between the stack and the heap)
>>
>>103241500
My original argument was that he's a bad programmer which refuses the trannies on here that say trannyism is a symptom of genius or autism. converting the value to a string is a tell for a bad programmer because he either used chat gpt or approached the problem with a solution he was comfortable with rather than thinking through what he wanted to accomplish. I don't really care how inefficient his retarded program is. Just pointing out how bizarre this particular function is. It's not an insult to you or any programmer that's ever implemented an inefficient solution. I certainly have. But it's a like 50 line tranny pride program that looks like it was made by a 15 year old.
>>
>>103241588
yes, you dumb retard, recurrent allocations will account for 95+% of your runtime
but you have no concept thereof
bc youre a retard, and you have been taught wrong (if you werent either of these you wouldnt be that retarded)
>>
>>103241604
>recurrent allocation
That allocation is only happening once. Learn to code.
>>
>>103241613
ah ok
ur still dum
and wasteful
and your language sucks
and i have no intention of learning your trash bc it gets in the way
but if you work with incompetents
and your company relies on procedure
be my guest
>>
>>103241539
This isn't me btw
>>
>>103241627
im not sure what your last post was supposed to accomplish, but yeah
that wasnt you
>>
>>103241598
who was trying to establish the correlation between programming skills and trannyism?
>>
>>103241646
It's an argument I frequently see. Trannyism is a sign of autism and therefore they write good code even if they're mentally ill. If you don't think this or you don't notice it then whatever. enjoy your life.
>>
>>103241598
>refuses
*refutes
>>
>>103241659
either ways, how do you know it's not written by a 15 year old?
>>
>>103241659
nta but autists lack creativity, flexibility/adaptation of thought (and therefore lateral thinking)
i went to a school where the entry exam was an iq test. programming school
the average was somewhere around 135
as 125 i ran circles around the other students bc of:
-flexibility of thought
-creativity
-lateral thinking
programming is about problem solving, not by-hearting man pages
>>
>>103241671
>it's not written by a 15 year old?
I hope it's not. 15 year olds should be playing sports and having sex not making embarrassing tranny programs.
>>
>>103241623
For someone who hates rust you sure keep the Rust threads at page 1 every single time.
>>
>>103241692
>dont answer, just let us do our propaganda, unmolested
i also got trained in marketing, which is something of a personal interest for me and i have some experience in psychology

but feel free to come at me
at worse ill learn something about me
>>
>>103241705
I see they trained you really well lmao
>>
>>103241712
w ell, i kinda succeed in whatever i do, so i guess they did... including programming
>>
>>103231148
>bro buy bitcoin
>NO I HATE YOU
>is forever poor
Hating something because a faggot said something to you one time is fucking stupid. Consider suicide.
>>
File: IMG_0188.jpg (6 KB, 220x220)
6 KB
6 KB JPG
>Not a single technical argument against rust
>200+ replies
cniles are the most easily offended bunch
>>
>>103231085
rust is corrosion of metal, so it makes sense that outside of harnessing the power of rusting itself, no one would want rust.

C is a superior language (muh memory leaks), then program in html.
i want direct access to the hardware
i want direct access to the memory
>>
>>103231085
I think this is probably a city running exercise course and a stair obstacle is perfectly logical. Another reason for such a structure would be for pictures of the view over the bridge unobstructed by the crowd.
>>
>>103241613
I'll bite.

That code is absolutely awful. It's turning a 4 byte color, turning it into a string (allocation), collecting each byte pair from it into a vec (allocation), parsing those pairs into a u8 (allocation, collecting 2 chars into a new string), and then collecting the parsed u8s into another vec (allocation).

Go do your CS homework little bro. Shit's fucking due.
>>
>>103231106
>the general attitude of the community is "you must have a specific political ideology to use this language".
Why do you care about the community that much? Why can't you just use a language if it's useful to you?
>>
>>103231148
>t. is easily influenced
>>
>>103233296
I quite like rust, highly frictional until you get used to it but after that it’s fine. C++ 2.0 - still syntax soup but with many foot guns turned into compiler errors.

However agree the community is awful. Everyone you deal with is that ackshually meme. So I just leave them alone
>>
>>103231085
Using the MIT license instead of the GPL is enough reason to hate most of them. They bend over to corporations with a smile on their faces.
>>
File: 1696076769827003.jpg (28 KB, 629x487)
28 KB
28 KB JPG
>>103231085
I asked Claude to give me two examples showing a memory leak in C++ and then an implementation in Rust that fixes the leak.
I recommend that you do this on your PC, but if you don't know C++ it will be a bit difficult to understand.
As far as I can see, C++ "programmers" don't seem to implement the destructor when creating a class.
Which is absurd, I can't believe people get paid to program like this.
>>
>>103244412
You don't get it. That would be like admitting the defeat.
>>
>>103231085
Negative polarization.

Rust as a language might be good (although the syntax is ugly as fuck), but the endless shilling and incredibly annoying community just makes me wanna stay away.
It's the same thing as with antiAI artcels, there may be legitimate arguments against AI use that would make me take their side, but they are such insufferably annoying people, that I don't really give a fuck if artists loose their jobs
>>
>>103241111
>I agree the game in question is probably for fags
It's an action game whre you play the teenage equivalent of the housewife from bewitched.
>>
>>103241842
Who told me to buy bitcoin in 2011 was racist schizos on /pol/. And I trust racist schizos over everyone else any time for any reason. So ever since then, every month I've been putting 60% of my income after expenses and taxes into crypto. Bought my first house after the 2020/2021 bull run, just finished buying an apartment. Rage quieted my job last week, and I'm planing a 3 month vacation to japan and buying a second apartment when I come back.
I'm basically retired and won't ever need to work If I want too. However I plan to spent the rest of my days making games for fun. Glowniggers, trannies, microsoft and libtards are the one who told me to not buy crypto. Because is le evil hacker dark web money, causes """"""global""""" """""warming""""", is "too white" and a pyramid scheme. If I had listen to then I would be "voting", putting money on pensions (literally pyramid scheme) and using credit card like a good nigger cattle they want me to be.
Thank God I didn't listen to them and nigger fags like you.
>>
>>103245627
What was so incredibly annoying in your experience with the Rust community?
I've been using it for years and literally only interacted with the community twice, asking some questions on their IRC. There was nothing unpleasant about it.
>>
>>103245959
The whiners are the loudest and they never actually have interactions with the community. Everything they do is a larp and figment of their deranged imagination.
>>
>>103245212
A lot of bugs in production c++ come from very complex logic. It's usually not as simple as "you didn't implement the destructor." Rust fixes this in a few ways. The most obvious way is the borrow checker which forces you to solve problems in a different way. The second is the wrap around ints the idea being it's better to break your application than introduce a vulnerability. The real reason rust won't outright replace c++ imo is because sometimes it's necessary to throw pointers around for performance reasons.
>>
>>103245627
>syntax is ugly as fuck
It's really not that bad. It's better than c++.
>>
>>103245784
Do you time your buys following dips or do you just put the same amount into it no matter what the current price is?
>>
Trannies and weirdoes aside: I've been looking into Rust for a bit. What strikes me is that it is incredibly complicated, you have to think about how everything you do looks in memory before you begin programming and then formulate it just so that the Rust compiler doesn't object. But if you're going to do that, why not put the same effort into coding C or C++ and get a program or library that runs safely?
What I also noticed is that as Rust is type safe, there's entire chapters and complicated concepts about how to get around this when you need a bit of flexibility in your types.

I know about 20 programming languages, but so far I'm not a big fan of Rust.
>>
>>103246843
retard filtered by training wheels

not as smart as you thought you were lmao, what good is knowing 20 languages if it's 20 of the same language
>>
>>103246843
> why not put the same effort into coding C or C++ and get a program or library that runs safely?
Because you can't. You have to put same efforts plus do everything that borrow checker does for you. And you only have so much brain power. Borrow checker frees a lot of it.
>>
>>103246522
>Do you time your buys following dips or do you just put the same amount into it no matter what the current price is?
As soon as I get pay, I buy no matter the price. Some times I got fuck hard. But in the long run I won bigly.
Trying to time the market, gay graphs, retarded theories is just astrology for men.
>>
File: rust_madness.png (67 KB, 1440x312)
67 KB
67 KB PNG
Rust is illogical, poorly designed and its developers have Stockholm syndrome
It could have been good but it was designed by and for webshitters
Imagine having an opportunity to start again from scratch and then fucking it up
>>
>>103246914
>Trannycase.
>Reddit spacing.
>>
>>103247261
and yes I know it's missing the else branch, pretend it says
else {x}
>>
>>103247261
Your image and post display your own madness. Your code won't compile for multiple reasons
>>
>>103247285
Quit with the ad hominem and explain how it is not a blatant design flaw that addition works for &i32 and i32 while comparison doesn't.

I suppose Rust programmers are expected to remember which operators allow mixing references and which ones don't, something that no other language has to deal with and something that is not directly related to memory safety, it's simply bad design.
>>
>>103247350
It's not an ad hominem if you're actually mad and retarded as you've already shown. Your image is called "rust_madness.png"
>>
>>103247426
Well I'm a new anon who hasn't used enough rust to get mad and I'm flummoxed at this shit.
So based on some googling running for_each on a vector with |x| means x is a "borrow" which is somewhat analogous to a C++ reference, so it would make perfect sense that &x!=x and it absolutely should throw an error because that's extremely unlikely to be what you meant to do.
BUT implementing &i32 + so that &x+1 == 1 seems silly. That's just asking for trouble as neophyte programmers start treating references to variables like normal variables and getting into all sorts of trouble.
>>
>>103247616
you used iter which returns references. if you want by value then use into_iter
>>
>>103232493
Trannies want to force all language to have authoritarian validation rules and systems to promote "safety."
>>
>>103247629
Thank you, but for clarity I'm not the anon that posted the image.
So that's good to know that there's a by value iterator, cool, but I still don't get why there appears to be an automatic dereference for &i32 + 1 but not for &i31 == 0? Like in C++ that would be an error for both unless I'm misunderstanding and to me that seems much more logical than half implemented auto-dereference?
>>
>>103246843
>But if you're going to do that, why not put the same effort into coding C or C++ and get a program or library that runs safely?
The difference is guarantees. Rust allows you to express a lot of invariants in the type system itself, which then will be automatically checked by the compiler, right when you write the code but also when you return to it years later, long after your sophisticated safety model has left your head.
Also Rust comes with tons of improved features, better build system, procedural macros, utf-8 by default, better type dedication, better pattern matching, tagged unions, etc.

>What I also noticed is that as Rust is type safe, there's entire chapters and complicated concepts about how to get around this when you need a bit of flexibility in your types.
The only thing that makes C/C++ type unsafe are basically just varargs and printf. Rust offers just as flexible alternative for them without losing type safety.
>>
Things I like about Rust:
>Cargo
>pattern matching
>error handling
>cost free abstraction / functional shit like map, flatmap etc baked into the language
Things I hate about Rust:
>async/await
>lifetimes
>trannies
>>
>>103247693
i don't remember specifically but i think that's a difference between how the operators and functions are implemented. so you have an impl for Add<&i32> for i32, but == ends up being PartialEq::eq(&a, &&b) which isn't implemented and you get an error
>>
>>103247755
>Cargo
This is one of the things that gives me the ick as a paranoid sysadmin. Automatically pulling dependencies like that sounds damned convenient compared to C's "every library is different and you'll have to paper over it manually" approach to dependencies. But it just screams supply chain attack or at the very least "hold at v1.0.5 with all security flaws because we don't want it to suddenly not compile one day."
And I expect that bullshit with Python, but for a language like Rust that prides itself on safety, cargo seems like a big ol' gun pointed right at your head.
>>
>>103247792
https://doc.rust-lang.org/cargo/commands/cargo-vendor.html

and you can host your own private crate repository instances
>>
>>103247654
C-niles want to force compilers to cooperate with human mistaken tendencies and errors to promote "freedom."
every Rust error you experience is due to a stupid decision made by you.
every C line you write is potentially a bomb waiting to explode in six months when you change up your implementation and no longer retain the original mental model of your code.
stop acting like Rust's design decisions are not intelligent, or, if you truly believe they are not, then write a paper explaining why and BTFO the NSA, because you clearly are so much more intelligent than them and their recommendations.
>>
>>103247809
It helps, but it's still a system that pulls from random githubs by default and takes additional effort to manually audit and self host. That's the wrong way round for a "security focussed" language.
>>
>>103247792
Cargo is nothing like pip. It's rock solid.
>>
>>103247909
Then write your own everything from scratch and stop bitching. Nothing will suit your concern trolling ass. Either you download code, audit, and vendor it or stop bringing it up as an issue
>>
>>103231746
Except this analysis is exceptionally generous to rust. Rust still allows for memory leaks. Their claims to "memory safety" ultimately amount to almost nothing.

>>103236832
>I don't see Rust being hated in real world, it's actually very well received.
I don't see rust in the real world period. Outside of some vanity projects and startups nobody uses it.
>>
>>103247987
You realise you confirmed my issue there, right? The system can't solve my very real, very documented issue, so I should fuck off and do it without cargo then? So by your own logic cargo is considered unsafe and best avoided if you've got shit to lose.
>>
>>103247909
https://github.com/panamax-rs/panamax
there is no alternative to manual auditing. audits must occur at some level, whether that be a trusted institution (such as the Debian team) or yourself.
>>
>>103248032
No, it's not unsafe at all. You're a blithering retard and cargo has nothing to do with it
>>
>>103240962
I know it sounds cringe to edgy zoomers on HRT and perm hair cuts, but you really need to learn some respect for your elders. Sure the grumpy old C programmers responsible for the little things like UNIX, most databases, GCC, etc can be annoying on emails and IRC. But calling them "the bottom of the barrel" is really not the insult you think it is. You're basically a cheap rip off of what they did and you're failing to even live up to their standards. So if they're the bottom of the barrel you're the pond scum underneath it.
>>
>>103247836
>stop acting like Rust's design decisions are not intelligent
See >>103247773
There's nothing intelligent about this language
>>
>>103248042
And the Debian team gave up on trying to do it because it's an intractable problem.
This is why Rust is getting adopted at Microsoft and Google, they are big enough to actually be able to "just audit the code". For everyone else Rust is a liability
>>
>>103248211
wow, you have discovered the difficulty present in systems of trust, incredible! yet you claim it is a "Cargo" problem, rather than, you know, a problem present within all social systems.
>>
>>103248211
debian maintainers are retarded and mess up things that have nothing to do with rust. your issues are ideological and not based on facts
>>
>>103248298
It is a Rust problem because Rust has a programming culture based around importing garbage from cargo, which has no quality control whatsoever and allows stuff like https://crates.io/crates/app-cli . Of course you can use some trusted source instead but you would be going against the grain and fighting the entire culture of the language. C++ does not have this problem.
>>
>>103248357
You are arguing in bad faith because you are ideologically opposed to a language. C++ has vcpkg which is also a wild west, not to mention you don't know what maintainers for a linux distribution may be doing to your dev dependencies unless you audit everything they do too.
>>
>>103248357
>>103248436
Replied too soon
People download random shit with CPM, conan, vcpkg. This is not a rust only problem
>>
>>103233781
Well, I can't really imagine Rust making Android development any more of a tarpit than it already is.
>breaks if you don't have specific versions of Gradle and Java available, and up/downgrading will probably break something else
>build tools throwing mile-long stacktraces because the Gradle plugins didn't understand each other
>half an hour spent recompiling C++ native dependencies if you change something while debugging said stack dumps
>no fucking idea what some of these incantations even do, except the outdated documentation says to put them there or things will break
>XML definition files that get corrupted by the GUI tooling so you have to edit them manually anyway
>other error messages often have little to do with whatever caused them because it's like 20 layers of leaky abstractions
>merge conflict left 1 typo in config file? build tool now complains that the Android SDK doesn't exist in the place where it clearly exists

Rust's "cargo" is a shining jewel of software engineering by comparison.
I'm sure all this friction doesn't really matter in the long run if you're going to spend years grinding the same project 9 hours a day, but the non-slaves among us would probably prefer to work more efficiently than that.
>>
>>103248466
retard you're talking about the app level instead of the os level. you're out of your element
>>
>>103248533
From what I've seen of chink/jeet Android source code, Rust making OS-level development harder is probably an improvement.
>>
>>103248545
they're more productive with rust than they were with c++
>>
>>103232066
>Serious answer: The rust community started it by attacking C.
Reading the C standard is attacking C.

>>103232431
>I pretty much never see Rust programmers attack C language. Rust is not even a C alternative, it's a C++ alternative. On the other hand C programmers have irrational hatred for Rust. You can't even have a rust general without ciniles screeching in it 24/7
C programmers hate Rust because it shows that C problems are with the C language instead of with the programmers. It's the same reason they used to whine about Pascal and Ada all the time. Anything that doesn't show that C is the "right way" and everything else is wrong makes C programmers rage. If Rust had 1-based arrays, they would be even more insane about hating Rust.
>>
>>103248436
>>103248453
vcpkg: 2507 packages
conan: 1808 packages
cargo: 162782 packages
don't play dumb, this is absolutely a Rust problem that C++ doesn't have
>>
>>103234284
>Most people that learn C do it as an investment, thinking it will payoff in the future if it becomes more popular. They do all the shilling, or only use/upvote/comment on things made in C because it benefits them. They aren't sitting idle waiting for it to become more ubiquitous magically.
>The problem is that other languages are getting in the way of their "investment", and combined with the insecurity that comes from being uncertain of the future, it makes them act aggressive against other programmers. They care a lot about what other people are doing. Anyone not using C is a threat to their investment. That's why most people find C users annoying.
>People that learn languages that are already popular only care about working on their own projects, and they don't care as much about what other people are doing. They don't see other people as an existential thread the way the C shill does.
You're describing C, not Rust. C shills were like this in the 80s before C was popular and they're still like this now. They think any language that can be used for the same things as C is an existential threat. That's actually the whole reason they hate Rust so much. Rust can be used for the same things as C. Go can't, so they don't mind Go. Python can't, so Python doesn't bother them. They hated Lisp because of Lisp machines. They hated Java in the 90s because of Java machines and Sun's idea that Java OS would replace Unix (Solaris). But when Lisp and Java are constrained to run on top of a C OS, they're no longer threats to C shills. All of their shilling makes sense when you realize that.
>>
>>103248730
The percentage of crates that people use are similar to those vcpkg and conan packages. If it was easier to use dependencies, C++ users would.
>>
>>103248466
>I can't imagine Android development getting worse
You haven't been working in the Android ecosystem long then. The only sane process is something like rawdraw android or the NDK. None of the other "solutions" are viable long term. They either don't work, have a broken dependency structure, or create more problems than they fix.
>>
>>103248776
>The percentage of crates that people use are similar to those vcpkg and conan packages.
Citation needed. A Rust project has 100 times more dependencies than a C++ project of similar scope.

>If it was easier to use dependencies, C++ users would.
Exactly, this is a feature. Easy access to dependencies is an anti-pattern as exemplified by CPAN, npm, pip, and cargo. It produces code that happens to work today and doesn't work tomorrow.
>inb4 just lock to old dependency versions
Usually not a viable option in the real world
>>
>>103248570
I haven't seen any evidence of that. OS level or app level. Rust tinker troons have basically just rewritten things that already existed in C and C++. Meanwhile 1 there's more C++ code being added to Android than Rust and 2 none of the problems that NDK developers want fixed are actually worked on. Nearly all of the NDK resources at Google are going to this fischer price system language (rust),
>>
>>103248852
Oh, I can definitely imagine it being worse. Rust is like the opposite of that jeeterprise garbage though.
>>
>>103248453
vcpkg is a highly vendor specific problem. Microsoft hires incompetent H1bs to do OS programming. This isn't the fault of any language including rust. That being said, they will make the rust ecosystem worse than it already is.
>>
>>103248913
I remember people saying the same thing about Flutter and before that - Kotlin. At the end of the day Android is like the Afghanistan of operating systems. Just like Afghanistan is the graveyard of empires, very project goes to Android to die.
>>
>>103248753
>C shills were like this in the 80s before C was popular and they're still like this now.
Ok first C has been in use since the 70's. Second its origin goes further back with languages like 'B' - you just haven't heard of them. Third, people have always found reasons not to use C - for whatever reason. But since it appeared on the scene in the 70's it has become the lingua franka of programming. Everybody knows it, it runs everywhere, there's decades of code written in it. Calling people "C shills" because small to medium sized companies don't have the resources to rewrite your pet project into some special snowflake language doesn't factor into any decision. Just the way that you frame your argument makes you seem unhinged and uninformed about C and to a certain extent C++.
>>
>>103248776
DA, you're moving the goal posts after you got assblasted by the other anon. Grow up.
>>
>>103247753
>The only thing that makes C/C++ type unsafe are basically just varargs and printf.
And everything related to strings, arrays, and memory allocation.
>>
>>103249001
>Ok first C has been in use since the 70's. Second its origin goes further back with languages like 'B' - you just haven't heard of them.
Barely anyone used C in the 70s and B was used by approximately 2 people. C started taking over in the 80s, coinciding with the Morris worm.

>But since it appeared on the scene in the 70's it has become the lingua franka of programming.
That's wrong. FORTRAN was the lingua franca in the 70s and COBOL for business. C was a language nobody even heard of.

>Calling people "C shills" because small to medium sized companies don't have the resources to rewrite your pet project into some special snowflake language doesn't factor into any decision.
They are C shills because they tell everyone to use C and they want C to replace everything. They don't like that you can use anything besides C. They do see other people as an existential threat.

>Just the way that you frame your argument makes you seem unhinged and uninformed about C and to a certain extent C++.
You're projecting.
>>
>>103248730
NTA because C++ has a lot of monolithic pacakges and Rust packages adhere to the unix philosophy of doing one thing and one thing good.
>>
>>103248092
>grumpy old C programmers responsible for the little things like UNIX, most databases, GCC
All of them are retired and they moved from ALGOL when C was new.
Now we have a bunch of nocoder LARPERs that worship C but cant generate anything beyond fizzbuzz.
>>
>>103249100
>You're projecting.
I assure you, you're wrong. You are painfully unaware of the computer history which you presented as if you were there. You weren't and you haven't read up on it.
>>
>>103249220
>NTA
Back to plebbit
>>
>>103249235
>Now we have a bunch of nocoder LARPERs that worship C but cant generate anything beyond fizzbuzz.
Now that's projection. Again, C is used everywhere. From file systems, device drivers, firmware, web servers, android apps, and more. Rust basically isn't used period. And where it is used its only rewriting old code.
>>
>>103249305
C came out of nowhere and took over everything.
>>
>>103249317
>t. newfag
>>
>>103249317
Reddit does not have anon, you braindead mongrel. What the fuck do you think NTA means?
>>
>>103249344
>Rust basically isn't used period
Mossadflare and Troonzilla are the only places I can think of that use rust for anything more than token efforts (like the Linux driver meme)
>>
File: 8b8.png (22 KB, 128x128)
22 KB
22 KB PNG
>>103249344
>android apps
>C
>>
>>103247261
where is your else branch you fucking nigger? what should it print if x is not 0? your feelings?

man cniles are dumb as a brick.
>>
>>103249611
(nta)
>rust expects an else every time
did i understand that correctly?
you mean you cant program early exits guarded by an if in rust?
>>
>>103249636
No you didn't understand correctly.
The retard is basically invoking a print statement but only providing what to print under a certain condition. It's like a missing end of a ternary operator.
You can do early exits in Rust, although it is a malpractice imo.
>>
>>103249611
Pretend it says else {0}, like I already said. I originally had the condition around the println!(), then moved it inside and forgot to add the else branch since it doesn't compile anyway
But it doesnt matter because calling people niggers is your only argument. The only honest attempt to answer the question is absolute Stockholm syndrome schizo babble >>103247773
>>
>>103249660
ah, ok. otherwise
>it is a malpractice imo.
it isnt
early exit coding allows you to flatten your nested conditionals, improving readability
>>
>>103249682
You are a nocoder that doesn't understand how programming languages work if you think that's schizo babble
>>
>>103249660
>You can do early exits in Rust, although it is a malpractice imo.
let else is stable
>>
>>103249714
I understand perfectly well and I am aware that no other language has this issue.
Only Rust expects users to memorize that + automatically dereferences but == doesn't. This is on par with Javascript 1+"1" and 1-"1" evaluating to different types. It's webshit.
>>
>>103249682
when you are doing for_each, it is fetching you the pointer of the vector items. You either de-reference, or more idiomatically, use iter().copied().
>>
>>103231085
picrel should be an escalator that facilitates your entrance into a chipper-shredder with musical accompaniment.
>>
>>103249725
>let else
>stable features
drop rust as it is and focus on 2.0, with usable ergonomics, 1/4 the types and maybe the rest of the world will stop insulting the language on sight
>>
>>103249748
>I understand perfectly well and I am aware that no other language has this issue.
retard alert
>>
>>103249713
Not really, it's a propaganda pushed by boomers.
Languages like F#, Haskell, OCaml have no early exists and they look perfectly readable.

Early exits are more unreadable because its harder to determine whether you have already exited or not.
>>
>>103249752
Sounds great. I would not complain if
v.iter().for_each(|x|println!("{}", x+1))
also refused to work, because x is the wrong type.
But as it stands, using x like this works sometimes and breaks sometimes. It's a feature that tries to be user-friendly (auto dereferencing) but because it's only implemented some of the time it ends up only increasing the cognitive load.
>>
>>103249782
its not propaganda
nobody is gonna use your idioms to satisfy your ocd
>>103249774
>Only Rust expects users to memorize that + automatically dereferences but == doesn't.
is that true, crab?
>>
>>103249748
>I understand perfectly well and I am aware that no other language has this issue.
Operators desugar to something else, even in C, which is the explanation for the == behavior. You don't understand Rust and that's why you're making a mockery of yourself out of your own arroagance. It's very clear why it acts the way it does with the trait impls
https://doc.rust-lang.org/stable/std/primitive.i32.html#trait-implementations
>>
>>103249774
>>103249799
>Only Rust expects users to memorize that + automatically dereferences but == doesn't.
even though that would make sense if youre also comparing types
as in comparing two different types yield false
idk how one might think that would be a good idea
but if thats how things work in rust, that would explain why == doesnt dereference.
if comparing a reference to a value is supposed to yield false, it makes sense
again, idk why you would want that bc comparing 2 different types or two different values will yield the same result
>>
>>103249789
this lacks an if conditional, your if conditional is not going to auto-deref x, which is why it works. It's not really a rocket science.
>>
>>103249789
it's not autoderef
>>
>>103249833
>even in C
no
+ doesnt dereference, why would it? its stupid
your framework needs to be type cognizant behind the scenes to pick when to dereference and when not to
and you use == in branchless alongside other math symbols
so while == doesnt dereference, it doesnt act like in c bc it doesnt interact with the rest of maths like in C
>>
>>103249884
I didn't say dereference. You cannot read
>>
>>103249901
>desugar
if your syntactic "sugar" changes the nature of your data/algos
congratulations
its no longer mere sugar

i thought you meant dereferencing, it doesnt really make sense otherwise
>>
Thread reached bump limit.
New Rust seethe thread >>103249754
New Rust seethe thread >>103249754
New Rust seethe thread >>103249754
>>
>>103249920
You are a retarded cnile with sub-CS 101 knowledge of programming and programming languages.
>>
>>103231312
Rust was used to make the most successful Indie game of the year, Tiny Glade. The game also has some of the most advanced lighting and procedural generation in existence.
COPE AND SEETHE CNILE.
>>
File: 1731988294469362.jpg (91 KB, 469x452)
91 KB
91 KB JPG
>>103232476
>>
>>103232493

Because they're males. You rarely see any women attract sort of stuff
>>
>>103247755
>Things I like about Rust:
>>Cargo
Opinion discarded.
>>
>>103250984
it's the best package manager I've used in any programming language. Name one that's better.
>>
File: gentoo luvdisc.jpg (2 KB, 119x125)
2 KB
2 KB JPG
>>103250995
emerge
>Verification not required.
>>
>>103251036
t. has never deployed anything
>>
File: c.jpg (1.1 MB, 1595x800)
1.1 MB
1.1 MB JPG
>>103251054
Feel free to cope and seethe and dilate all you fucking want. Cargo is a webshitter solution to proprietard problems and no amount of github stars will save you from the reality that
>the standard language isn't standard because you have to slurp it down from github instead of it coming with the compiler
>crates.io is filled with low-quality sub-1.0 micropackages that would make a javascript developer blush
>the package manager made to distribute libraries also distributing binaries for full project releases just because a bunch of fags can't make a .deb or .appimage like a normal human being is twice as retarded as pip
My opinion IS the right one.
>Verification NOT required.
>>
>>103249474
NTA is a common plebbitor posting. Really just a google away
>>
>>103250024
>Rust was used to make the most successful Indie game of the year, Tiny Glade.
The bar is dead and buried.
>"Most successful" (whatever that means)
>Indie game
>Of 2024
This is like men competing in women's sports. Amazing how it always comes back to this with rustannies.
>>
>>103231085
Serious answer?

None. Both camps are just beyond retarded

At the end, it's a programming language not some f*cking religion nor some kind of futurist government spy kit

Just learn the basics of code with a "difficult" language, like C++, Rust or Java then learn more, then you are more or less in the right track as long as you continue to learn all the details

Just use langages for what they are : tools

Each has their own advantages and disadvantages

It's kind of easy to spot no programmers, they care too much programming language and less about actual programming

Just get to work, be productive

By the way, I was just passing by in order to get the links from a few /generals/, don't waste your time time on 4chan, nor any other kind of forum and social networks to be honest
>>
>>103231085
Rust is a "big ideas" langauge. i.e. it is extremely opinionated about how things should be done and enforces that on a language level.
Rust also avoids some obvious pitfalls of earlier languages so it seems much more soundly designed on first glance.
There is also a huge emphasis on "correctness" and being explicit in the Rust ecosystem.

Which makes Rust the new Java. The big Idea being "Resource Aquisition Is Initilization" (RAII) this time instead of OO.
So people who think that software should be written this way see Rust and think that everyone everywhere should use Rust.
It doesn't have some bad Ideas or historical compromises that some other popular languages have, and it helps you the """correct""" way.

On the other hand, People who know that there are better ways of manual memory management than RAII, want nothing to do with it cause it makes anything but that harder to do.
People who have a healthy aversion to complexity also want little to do with it cause the whole ecosystem railroads you into overcomplicating your software with macros and generics and details in general that just do not matter at all..
>>
>>103232476
I wonder if you could psyop /g/tards into quitting programming by making tranny propaganda for the languages they like
>>
File: 1724148570831782.jpg (61 KB, 480x479)
61 KB
61 KB JPG
>>103231148
lol that image.
It's like how autism is tested in children early in kids lives by hiding an object of a kid's parent in front of the kid without the parent looking.

You ask the kid if the parent came back where they would expect the item to be, and autistic kids don't have a strong understanding that other minds exist outside themselves, so they say that their parent will look where it is currently hidden, not where it was.

The same is clearly happening here with agp autists and not being able to play a game as a character that isn't literally them. It goes beyond their understanding.



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