[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


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


What should I do next?
>>
>>106764651
Cut your dick off.
>>
Write a program with it. Duh.
>>
File: 1730870848289993.jpg (203 KB, 1478x1478)
203 KB
203 KB JPG
>>106764651
Start some projects man. Or go stay in tutorial hell and keep reading textbooks
>>
>>106764651
Forget the basics of rust.
>>
>>106764651
post code and ask to be roasted.
>>
>>106764651
Push for rewriting perfectly safe and bug free C code
>>
use Ratatui with Capnp, RustCrypto utilities, and other libs to produce a p2p encrypted messaging program
>>
>>106764651
memory dump that shit.
learn something useful.
>>
>>106764651
solve the problems you want to solve
>>
>>106765901
>Capnp
ewww
>>
>>106764651
dye your hair and mutate your hormonal system with exogenous compounds
>>
>>106764651
did you like it? then write some small terminal program or sum such to experiment a little more
>>
>>106764651
buy colored socks, mutilate your genitals and then hang yourself in regret
>>
>>106766674
(in minecraft)
>>
>>106765901
He'd be better with libp2p or iroh which is even simpler.
>>
>>106766877
iroh on its own doesn't provide anonymity. you'd probably need arti for transport, reviving torchat in a sense.
but beginners working on such things is like, the worst idea ever, anyway.
>>
>>106764651
Now you should find out Rust is only useful for very specific cases, like hardware and system applications, and that higher level programming languages usually do a better job in the large majority goals.
>>
>>106767114
thank you for your jeet input. but you should work on your english.
>>
>>106764651
Gradually replace your tool chain with your own programs.
>>
File: images (4).png (7 KB, 334x306)
7 KB
7 KB PNG
>>106764651
Idk. Why did you learn Rust in the first place? Do you have any systems programming to do?

>>106766037
What's wrong with capnp?
>>
>>106767160
My English is correct and you're being very dishonest. You only really want to defend Rust with zero technical input because you like to suck Rust dick. Yes you are gay. Maybe use the right tool for the job instead of giving your asshole for free to programing languages.
>>
>>106767160
He is right though.
Rust is exceptionally good in narrow range if usecases
>>
>>106764651
write a twitch app with integrated chat for macOS, windows and linux
>>
>>106768342
I would rather use Rust than Clojure or Python (especially Python)
that should say a whole fuckin lot
it can be verbose as hell, but just deal with it?
>>
>>106768699
Let me guess, you also like measuring a building with a toothpick?
>>
>>106767114
>hardware and system
its a web language its based on electrion
>>
Did aoc2019 with it last year after reading the book which was pretty fun
>>
>>106768294
both protobuf and capnp are memes.
>>
>>106768318
thank you for your jeet input.
>>
>>106768738
Rust is a great scripting language if you dont need any Python-only libraries
>>
>>106764651
Go to your local endo and get on hrt :3
>>
File: trans_ferris.jpg (74 KB, 975x975)
74 KB
74 KB JPG
>>106768976
This, trans rights are human rights ^~^
>>
File: Rust mental illness.jpg (431 KB, 852x1261)
431 KB
431 KB JPG
>>106768991
You mean Rust mental illness?

Jeremy Bicha.
>SEX BAT BY JUVEN/VCTM UNDER 12; F.S. 794.011(2) (PRINCIPAL - 2 COUNTS)
Pedophile.
Rust developer.
PPA for Rust.
https://launchpad.net/~jbicha/+archive/ubuntu/rust

Mental health, pronouns and alter egos are at the very least trends in Rust. Also as the community Rust Discord server goes.

Hector Martin.
Insisting that Asahi Lina is not his alter ego.

https://aturon.github.io/tech/2019/06/25/back-in-the-saddle/

https://fasterthanli.me/articles/state-of-the-fasterthanlime-2024
https://fasterthanli.me/articles/that-health-is-mental
>>
>>106769060
https://wiki.ubuntu.com/JeremyBicha
>I am a United States Navy Veteran and spent 2007-2010 living in Bahrain. I currently live in Florida. I joined Canonical in 2022 but my Ubuntu story started much earlier.

https://wng.org/articles/the-high-cost-of-negligence-1617309216
>Florida prosecutors weren’t forgetting: The U.S. Navy discharged Jeremy, and when he reached U.S. soil, authorities arrested him. He eventually pleaded no contest to two counts of sexual battery on a child under 12 while he was under 18. His defense attorney asked for less than a year in the county jail. The prosecutor asked for 15 years in state prison.
>>
I can't take you anons seriously. There's so much stupid here. First this moron accusing me of being jeet and now this.

>>106768765
No it's not. Rust something between C and C++ alternative. Do you do web development with C or C++? If you do you're dumb.

>>106768929
Rust is not a scripting language and will never be even if you can execute code in runtime with rust-script. Scripting is a high level only job. You cannot do proper scripting with manual memory management, or pointers, or any low level features. Scripting is fire and forget dirty code. If you're using rust for "scripting" you're doing applications, not scripting.
>>
>>106769272
let us take the opportunity to bow to your jeet knowledge.
define "high level" for us.
>>
>>106768699
Good for you.
When I want to plot some large amounts of data, I am not going to spent a hour setting up egui project just to realize it's not made for large data and then spent another 3 hours trying various alternatives to finally settle for matplotlib wrapper, if I can just write quick python script and have it done in 15min.

Pick proper tool for given task. My current project is a mix of Rust, Python and Bash, each used for different things.
>>
>>106764651
start hrt
>>
>>106764651
Write “ls-rs” to list files, I don’t think that’s been done before.
>>
>>106769060
>>106769079
Why don't 4cuck complain about Andrew O'dywer? Just because he's jewish and a member of C++ WG21 group, child molesting is okay?
>>
>>106769434
How about asking something useful you fucking retard? Do you even code? I highly doubt when you're trying to test my knowledge with something so basic. Low level is closer to speaking machine language with few abstractions and high level is closer to speaking human language many hardware abstractions.

Rust is is a mix, so it's considered medium. On one hand you have to deal with memory, resources, and whatnot, manually, like C and C++. On the other you have pattern matching, generics, traits, etc. Rust is not good for scripting because having anything low level defeats the purpose of scripting. Scripting is about quick code and execution. Rust does not give you that.

Learn to code you fucking imbecible. You don't even know how to make questions. Your dumb fuck question just makes you look like a pretentious caveman.
>>
I have two Rust projects brewin', star/follow.

They're bare now, but as soon as I've got a grip on the concepts, I'll slowly make progress.

https://github.com/Chubek/Squawk
https://github.com/Chubek/Patinova
>>
>>106769060
Who cares. I need a systems language with ADTs. Fuck do I care if its devs molest children.

Let's not forget about RMS. He had a mattress in his office at MIT. Girls had to tell him off by telling him they use Vi.
>>
btw whilst you guys are starring/watching my Rust projects:

https://github.com/Chubek/Diyrbal
^ this one is a JIT'd interpreter in C.

https://github.com/Chubek/Awk2C
^ this one is an optimizing Awk to C translator

I just need to lock them in.
>>
Uh and here's my NES emulator in C.

https://github.com/Chubek/mikroNES

inb4 fuck off no u
>>
Have you guys ever considered that folk who put 'le pronouns' in their 'le bios' and dye their hair blue and take HRT and stuff like that, maybe do so because if they don't, they'll off themselves??

Not everybody is like me, who can afford to stay in a mental hospital for 2 months so his medication could be adjusted.

btw, yes, SSRIs do make you sorta gay. I don't know why, but I took this brand of Respridone that made me feel kinda gay. I think it messes with your hormones.

These people take SSRIs, but they don't realize their 'le muh gender-fluidity' is caused by their maladjusted meds.

Fucking retards.

You can make fun of me and tell me I'm a closeted faggot, but I tell ya I like women and I don't care if you guys believe me or not. It's just certain SSRIs that makes these retards troon up.

Throw a rock at a Bread Tube meetup and you'll hit a SSRI user.
>>
absolute STATE of rustroons holy kek
>>
btw check out my ISO C compiler in OCaml:

https://github.com/Chubek/lyCC
>>
>>106764651
im laughing at all the responses to OP, but why is this considered a tranny thing? i just thought it was kind of neat that its like C but it wouldnt let me do anything retarded. why does everyone hate this shti? i think tokio is pretty cool
>>
>>106773071
It's neither Rust's syntax, nor its semantics that attracts troons to it.

It's the fucking hype.

Early in the pandemic, loads and loads of new people learned how to 'le code' and their introduction to the scene was with scripting languages like Python and ECMA-262.

When the jobs for these miserable fools dried up, they sought to learn a new language, because to them, programming is about the language, not the theory underneath it.

And as it happens, Rust had a lot of hype at the time.

Problem with Rust is, if you start systems programming with Rust, you'll learn Rust, not systems programming.

In colleges, they teach students with C and Java. Because these languages teach you how to program.

Rust is bad because it does not teach you how to program. I don't ever trust someone who is only good at Rust.

These folk don't even need Rust for their I/O-bound and CPU-bound projects.

They hear quips like "le 70% of bugs reported are due to memory" and they think memory issues are the only software problems out there. They think Rust makes their program error-prone.

Fucking simpletons.

I like Rust because it's got ADTs, and it's good to have some Rust projects in your resume, just in case.
>>
>>106772974
>Have you guys ever considered that folk who put 'le pronouns' in their 'le bios' and dye their hair blue and take HRT and stuff like that, maybe do so because if they don't, they'll off themselves??
Yes, and offing themselves is the preferable alternative. If you're that fucked in the head, then it's for the best, for society in general.
>>
>>106773272
They're not harming anyone by cutting off their cocks.

I think you Westoids are overdoing it on the whole 'le LGBTQ akseptans' front. Maybe don't stone them, but also, don't let them clad-up in leather, suck each other's cocks ten yards from a primary school, as children are watching with their parents.

It's obvious that the Jew has melted your minds. You killed the Jew, now the Jew is making you effeminate, in order to avoid the next round of Fuhrer's Bake Sale.
>>
>>106773206
>reddit spacing
ok this explains is. but as a total pedestrian, should i just go deep on C or C++ (which, im not equating the 2). i want to understand actual programming. im coming from python. i did rust because i thought it could be a good stepping stone. should i just do a whole C deep dive? i feel like you cant build apps and see what your works doing with C tho, can you? i need to see what my shit is doing. like physically. i know C++ is like an actualy backend language so i thought about doing that. what should i do
>>
>>106773310
what the fuck are you talking about you absolute fucking idiot? they are harming all of us by cutting their cocks off. its a terrible thing than anyone in this thread even knows about these freaks mutilating themselves. its honestly so unfair to the entire society to make us all watch mental illness unfold in all its most grotesque and disgusting ways, and because of the internet children know about and are aware of it. fuck this people. they are so sick and they make us all feel ill by simply knowing that a human being can be brought so low
>>
>>106773322
Definitely go with C. It's the best language for understanding the underlying device. How hardware works, how the OS works, how to construct data structures, and so on.

You don't need a GUI to get feedback from your program. Just dump whatever you wanna see to the terminal.

In fact, make sure the first thing you learn when doing C is exactly that. Standard I/O.

I recommend "Modern C" by Jens Gustedt. It just had a new edition come out. I recommend you buy a physical copy, and treat it as sacred text.
>>
>>106773322
Also, it's not "reddit spacing". I write a lot of Markdown, in LLMs and when I write shit for myself. It's basically "Markdown spacing". Reddit uses Markdown too.

I swear some faggot admin on Reddit has it in for me. Every new account I make gets banned instantly.
>>
>>106773322
And one advice: don't get too involved in 'fandoms' for languages. The same way hammers don't have fanbases, languages should not have either.
>>
>>106773379
>"Modern C" by Jens Gustedt.
>>106773390
>>106773410
thanks dude, noted. i actually think the coolest part about programming is interacting with the physical hardware so i was gravitating toward this.
only thing is im worried ill get blurred by the shear amount of information and lose sight of the application i want to make. probably better so i can understand why my idea was retarded and ho to make it good, tho
>>
>>106773390
Reddit spacing isn't just markdown styled paragraphs, it's an overuse of paragraphs. New fags destroyed what Reddit spacing meant. Markdown has been a thing before Reddit or Markdown.
>>
>>106773349
All I know is, my second cousin once removed is FTM, and she/he (Persian has no gendered pronouns) kept insisting she's a boy and she likes Harry Potter and 'no barbie' since she was 4.

Some troons are mentally ill, and the only reason they can get their boobs and/or cocks cut off in a conservative country like mine is that we consider it a mental illness.

Instead of blaming actual people who need help fitting inside their bodies, write to you representatives to make transition harder. i swear, these days, in West, it seems like people get on a conveyor belt and come out as the opposite gender on the other side.
>>
>>106773463
If you want graphical user interface, C has it in spaces. Qt5, GTK3, etc. If you wanna make games, there's SDL3 and Raylib. If you wanna make Android apps, there's the NDK.

I recommend starting easy. Do the exercises in the book.

If you're on Windows, I recommend running C through WSL2.
>>
>>106773469
It makes posts

more

readable

deal

w/

it

homosex
>>
>>106764651
>What should I do next?
Hormone Replacement Therapy.

And rainbow socks.
>>
>>106773206
Given this >>106773469

That comment is 100% a good example of Reddit spacing. One topic should be one paragraph and yet you unnecessary create lots of "paragraphs" for whatever reason.

That said I don't care about Reddit spacing style, I care more about content. You're right, it's mostly hype.
>>
>>106766213
>>106766674
>>106768318
based, so much based. If you have just learnt Rust, quickly switch to OCaml or Scala before your manboobs start to grow into big naturals.
>>
>>106773495
It doesn't make it more readable. You're expected that a new topic will show up but no, it's just a lost phrase. You're not writing poems. Old people also write text messages in caps thinking it's more readable. Writing rules exist for a reason, and a blank line is just because text editors don't have a good way to space paragraphs.

Anyway, whatever. It's not important. Keep your Reddit spacing if you want.
>>
>>106771395
>he's jewish
Source?

>a member of C++ WG21 group,
Copying from a different thread:

That's fair, I've also seen questions asked about Arthur O'Dwyer get deleted on reddit.com/r/cpp .

But, this actually counts against the Rust community, not the C++ community, perhaps surprisingly.

First off, as I understand it, ISO rules are strict and prevents people from being excluded. A person just needs someone sponsoring them. So the C++ ISO community's hands are tied as long as someone sponsors Arthur O'Dwyer. Who sponsors Arthur? Who knows. The C++ community did take indirect action, however. Every single proposal that Arthur O'Dwyer made for C++26 got rejected, and Arthur even included a paragraph in one revision of a proposal whining about in his eyes poor or unfair treatment if I recall correctly.

Second off, the top reddit.com/r/cpp moderators, u/STL (Stephan T. Lavavej) and u/foonathan (Jonathan Müller) are rustaceans and actively moderate their subreddit, reddit.com/r/cpp, against C++ and in favor of Rust. And it appears that it is them that are protecting Arthur O'Dwyer in regards to moderation of their subreddit.

Why think-cell, a company with a large C++ focus, employs someone like foonathan/Jonathan Müller, who is actively working against C++, I've no idea. Maybe they just don't know about it.
>>
>>106772887
KYS pedophile.
>>
File: 1614632363287.jpg (123 KB, 960x960)
123 KB
123 KB JPG
>>106764864
but it has a use case, I just won't tell a transphobe like you. OP once I learned rust basics I never went back to Java, C++ python, C# or Javascript. OMFG I LOVE JAVASCRIPT BRO. Its like JAVA but with a SCRIPT at the end. The two languages are related like that.
>haha JK objects are actually FUNCTIONS GOT YOU NOOB +1 Me

The UI for a web application is an html document. So like I can use CSS to make UI for a mobile App, Desktop and Tablet.

Isn't that neato burrito? Just thinking about JavaScript makes my boy pussy wet. I'm gonna pound some brewskies then pound some twink, jerk him off and let him fuck my hairy man-tits.

You better not fire me for talking about this either or I will sue you for discrimination. I just watched a black councel women tell the Chicago youth that the city has been deemd unsafe and national guard might kidnap and rape them.
>>
Rust is by far one of the best languages for building complicated shit
perhaps even better than GC languages with similar type systems due to it forcing you to simplify your data models enough to be handled via RAII
>>
>>106773805
RAII is garbage. Use areans or a fucking garbage collector if you can't be fucked to manage memory properly. Once you hit a critical mass of smart pointers Go or Java will be faster than Rust + thousands of smart pointers because they can manage allocations in blocks instead of doing a bunch of alloc/free call pairs, which is slow as fuck.
>>
>>106773882
>RAII is garba--ACK
No one cares about your retarded opinion. RAII is deterministic cleanup. No resource leaks or anything assuming your destructor or drop are good.
How many more finalizer tier copes will you go through til you realize pretending some deferred mark and sweep cleanup crew will magically fix your shit?
>>
>>106772851
thank you for your jeet nocoder secondhand knowledge input
>>
>>106772851
Over the years, I've come to the conclusion that scripting is a meaningless word. As soon as you have to actually do something and there isn't a powerful import solution, it still sucks or you are writing FFI bindings.

Using Windows and PowerShell made me learn this real fast. Lotta Add-Type 'C# P/Invoke shitware here'. Either way. I also disagree with your concept of low/high. Any language that isn't basically a macro assembler is high level. They all define some kind of virtual machine you need to operate in and uphold the contracts it lays out. C, C++ and Rust are very similar especially since their compiler infrastructure is basically the same. Java, C#, Ocaml and others do more to make it forgiving.
>>
The next step is to reinvent some basic Unix utility, but it requires 50 dependencies and 20 minutes to build.
>>
>>106773882
RAII is not a memory management pattern. It's meant to handle the lifecycle of external resources like connections, handles, open files, etc.
>>
another benefit of Rust is that it has remarkable support for development in airgapped environments via its strong build system that hass vendoring capabilities built-in.
this also allows you to trivially guarantee that all of your crates are using the same versions of dependencies.
>>
>>106773882
>Once you hit a critical mass of smart pointers Go or Java will be faster than Rust + thousands of smart pointers because they can manage allocations in blocks instead of doing a bunch of alloc/free call pairs, which is slow as fuck.
Write any, reasonably sized algorithm to demonstrate this phenomenon, using Go or Java and I will rewrite it in Rust and we will benchmark which one is faster.
>>
>>106774597
The other thing he failed to understand is Rust users could just do arena style allocs anyway. People have been coping about muh GC being theoretically faster than (atomic) refcounted types for over a decade and these copes are never true in practice. Maybe they just need one more ridiculously complex to configure GC. Just one more configuration flag bros -XX:+GcOmgOptimized -XX:+TaskForceZGenerationalGC -XX:funroll-loops.
>>
>>106774586
How does this work? Dont you still need to pull new packages in from the internet?
>>
>>106774660
https://doc.rust-lang.org/cargo/commands/cargo-vendor.html

It's memey use case for that though. I'd only do this if I really needed to deeply modify my deps more than patches could satisfy.

https://doc.rust-lang.org/cargo/commands/cargo-fetch.html
Should just be keeping your local repo hot and ready to ship off or have your own crates.io mirror.
>>
>>106774660
1. create crate stub with sole purpose of hosting depedencies
2. cargo add <dependencies> # make sure to include whatever features you might use
3. cargo vendor
4. for each actual crate you build that uses the vendor, inside `your-project/.cargo/config.toml`:
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "../vendor-hub/vendor"

replace the path to the vendor to whatever you need
>>
>>106774597
you will have to wait until he asks his durgasoft instructor about it, or see if he can find something related in LinkedIn, Quora, ... he can copy.
>>
>>106774079
> I've come to the conclusion that scripting is a meaningless word.
Your conclusion is wrong. Any short code you do in the moment is scripting. You're in the shell, run commands, that's scripting. You're in the browser, open console, run your commands, that's scripting. You create a file that needs some automation that you didn't give a crap about quality in sh or python, that's scripting. Creating a big application with a poetry or npm, that's not scripting, even if it's in Python or JavaScript.

> I also disagree with your concept of low/high. Any language that isn't basically a macro assembler is high level.
It doesn't matter if you disagree, that's what it means, like it or not. C does not define a virtual machine, what you mean is abstractions. Also you fail to understand low/high is a relative concept. If you consider all programming llanguages, C is low level, but assembly is even lower, and Rust is higher level than C, and Java is even higher, and Haskell is even higher. Get it? It's about which one hides more machine interactions. In Haskell you hardly ever care about hardware, in C you have to care about memory, resources, and types, and in assembly you don't have a choice but care about hardware. In SQL you don't give a single crap about anything machine related, it's very high level.
>>
>>106764651
Get a blue collar job and stop wasting your time on stupid programming
>>
>>106764651
Transition
Many such sad cases



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