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

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
Flag
File
  • Please read the Rules and FAQ before posting.

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


Janitor applications are now closed. Thanks to all who applied!


[Advertise on 4chan]


File: IMG_1683.jpg (243 KB, 1200x900)
243 KB JPG
>Decide to learn Rust in 2026 coming from C
>Explain this to me as a c programmer, and make it make sense
It has worked very well so far, although some concepts obviously don’t map well because being of higher level in Rust. Try it out anon.
>>
File: 1756679167650553.jpg (143 KB, 700x700)
143 KB JPG
>>536818784
musk said anthrocoders are donezo
>>
>>536818784
When do you start your gender-affirming hormone therapy?
>>
>>536818784
Any language other than C is a waste of time. They keep making languages like C++, C#, Python, Rust, etc. so that jeets can program.
>>
>>536818784
QRD of syntax?

t. retired Gen X dev
>>
>>536819223
>easiest language of them all is c, althoubeit with a great responsibility.
>>
>>536818784
Rust is gay and picking a language is retarded today with generative AI for most things.
>>
>female author

into the trash it goes
>>
>>536819223
Bullocks. Jeets aren't even smart enough to write HTML.
>>
>>536819583
Have sex.
>>
>>536818784
>rust
Kek, who has the meme?
>>
>>536818784
Not making your own templeOS? Ngmi
>>
File: 1768600681010200.jpg (111 KB, 1360x1358)
111 KB JPG
This book is not so bad, rust itself is not gay, but it's a fact many trannies use it. Using it (not gay) with llms the borrow checker handle a lot of slop
>>
>ai learned to code before i did
man i suck
>>
its true i havent fucked in 30 years but that doesnt take away from the fact that female written stuff is garbage, same as female music, female entertainment pretty much anything female is cringe trash
>>
Was thinking about another book from same edition Rust for Rustaceans by Jon Gjengset, may match your tastes
>>
>>536818784

"learning" programming languages
you might be even more retarded than that other Swede who thinks 7th grade elementary geometry is peak mathematics and secret knowledge
>>
File: IMG_7814.png (188 KB, 1600x1352)
188 KB PNG
>>536818784
Not sure how I feel about the syntax desu. It’s like some bastardized hybridization of C++, Java, and some of that weird control specifier shit that FORTRAN does
>>
>>536819223
Java is superior
>>
>>536818784
rust is disgusting. i don't care if it is safer than c by default, the syntax and all those decorators and modifiers is designed for faggots
even c++ is close to being garbage for the same reasons, and they keep adding new shit. i can keep all of c and most of the stdlib in my head and never need to look things up. and if i need to the docs are built in to my computer already
this shit is lipstick on a pig and the sad thing is that people who know how to wrangle pigs are disappearing
>>
>>536821087
Java is inferior in all respects. That's why everyone uses it. It is our generation's COBOL.
>>
>>536819366
There are garbage collectors for C like the one by Hans Boehm that LCC Win32 uses.
>>
>>536820896
It still is a great intellectual hobby.
>>
Rust is litersl NSA backdoor trannyshit
>>
>>536820981
Ask any AI:
”Explain lifetimes to me as a c programmer and make it make click”.
You’re welcome.
>>
>>536818784
>be me
>was once curious about rust
>goto download the compiler
>it's*checks notes* HOW BIG?
>turn 360and moonwalk away
If I eanted jeet tier bloat, Id go with java.
>>
>>536821285
What does LCC do? GNU has builtin destructor attributes that are quite neat. When I was on win, I used an arena with a single giant VirtualAlloc most of the time.
>>
>>536819583
I guarantee you it’s a man.
>>
File: rust_iterate.png (71 KB, 950x1400)
71 KB PNG
>>536820981
Maybe you'd like this non-pozzed code better?

DEFINE (position v pred idx)
IF (EQ v NIL)
NIL
IF (pred (LEAD v))
idx
RECUR (REST v) pred (ADD idx 1)

DEFINE (split-next state)
BEGIN
DEFINE finished (DICTGET state :finished)
DEFINE v (DICTGET state :v)
DEFINE pred (DICTGET state :pred)

IF finished
LIST (LIST 'NONE) state
BEGIN
DEFINE idx (position v pred 0)
MATCH idx
NIL
LIST (LIST 'SOME v) (MAKEDICT :v NIL :finished TRUE :pred pred)
found-idx
BEGIN
DEFINE ret (TAKE found-idx v)
DEFINE next-v (DROP (ADD found-idx 1) v)
LIST (LIST 'SOME ret) (MAKEDICT :v next-v :finished FALSE :pred pred)

DEFINE (split-size-hint state)
IF (DICTGET state :finished)
LIST 0 0
LIST 1 (ADD (LENGTH (DICTGET state :v)) 1)
>>
File: Ada.jpg (157 KB, 1250x784)
157 KB JPG
Return to tradition.
Return to Ada.
>>
>>536821866
Or maybe just don’t be a low IQ retard and ask a language designer to hold your hand and wipe your ass for you like a toddler because you’re too stupid to understand pointers and dynamic memory allocation. Even still that has nothing to do with the syntax itself. Dumb fuck
>>
>>536823311
>FORTRAN++
Kinda retro look ngl. I can dig it
>>
>>536821087
Good morning, Saar!
>>
>>536819223
C++ is C, but with zero-cost abstraction bolted on. Everything good about C, and more.
>>
>>536819223
C# is an amazing language that's been around for decades at this point

>>536819646
I've had a lot of sex and women still suck at writing. Anyway, it's probably a man.
>>
>>536818784
you will announce your gender change within 6 months
>>
>>536818784
>>>/g/
>>
Kek, coding is slave shit.
>>
>>536819223
>vibe coder brown hands typed this post
>>
>>536818784
>>536819223
this is the truest statement so far; i programed for 30 years; before the internet/web existed.

the only language worth anything is C; everything else is just some bullshit script, or some dudes ego thinking he can do better, like C++.

I programmed lots of languages... fortran, cobol, ADA, Pascal, Java, JavaScript, HTML, Pinescript, Pearl, Lisp, Python....

nothing beats C, and you can do anything with it;
and create anything.

my first job was to create a ANSI C Compiler which created mCode (pre Java) with a debug for Sun Microsystems, and other unix workstations using their Widget UI system.

It let coders program in C, doing anything from making trades on the stock market, to CAD systems.

this was in 91/92... I was a white boy living in Japan at the time.

the pussy was so good.

didn't give a shit about anime, or hentai.
>>
>>536829084
Thank you for your service OG o7
>>
Learn php and get a job bro
>>
>>536829084
>ADA
>Pearl
No you haven't.
>>
>>536821087
Saar!!
>>
File: 1646036204772.jpg (40 KB, 800x450)
40 KB JPG
>/g/entoo men may be here
he thought
>>
>>536819583
>female
>Rust
Try again.
>>
>>536831204
nigger...

back in the day. we had used a DEC-VAX programing in ADA for our Comp-Sci software engineering classes.

a degree in comp-sci was a degree when i graduated...

you took assemblers... and created your own.

then from that, you had to create your own operating system; boot loader an all.

then... once you got that finish; you built a compiler a C compiler using lexx and yacc to generate the assembly code for your assembler to run on your operating system.

you also had to take languages... where i learn cobol and fortran; both i disliked; but cobol especially cause it was like writing a book.

you niggers got it easy today.

imagine doing all this; on a DEC-VAXX and at home you had IBM-DOS, with no GUI or mouse.

niggers. we are so spoiled today.

thank the lord.
>>
I am a data science guy so I learned python and have never bothered to learn any other languages in-depth.
I have never understood the programing language console-warring that goes on among software devs. Just use whatever werks.
>>
>>536818784
I've learned rust, I recommend it highly. Compile times may be high, but you're paying for no technical debt upfront.
>>
>>536832655
Can I see the language specification?
Or just a memory model spec?
>>
I use Elixir in side projects and it's still niche enough where most of the community is still white.
>>
>>536829084
no one who has learned perl would ever in their lives misspell perl. the name of the language explains the language.
>>
>>536818784
AI exists grandpa
>>
>>536829084
You are 60 and you are shit posting on 4chan with the nigger memeflag lmao
>>
>>536819081
Rust pushers are Jews first and trannies second. You notice that the Rust-pushing got really obnoxious during the Ukraine/Globohomo era and fell off sharply when it became apparent that Ukraine would not win their war.
>>
>>536818784
>Try out this tranny language
no, I don't think I will
>>
>>536832766
https://doc.rust-lang.org/stable/reference/
>>
>>536818784
rust is for faggots and trannies aka jews
C is the White man's language and any point to the contrary is brown cope
>rust is also slang for shit on your dick aka gay sex
>>
>>536826666
nice try satan
>>
>>536826666
>Zero cost abstraction
It's the single costliest abstraction of all times in human terms.
There are whole ass jobs and millions of lines of pointless make work code that exist because of that zero cost abstraction.
If you give idiots a hammer they break everything with it.
>>
File: fs4btb4detb.png (74 KB, 201x141)
74 KB PNG
>>536832166
>imagine doing all this; on a DEC-VAXX and at home you had IBM-DOS
Anybody who had a computer at home back then was a fucking rich-kid
>niggers. we are so spoiled today.
Apparently you were spoiled back then, too
>>
I'm a 6'3 guy with a 7 inch dick and I use Rust as my primary language ama
>>
>>536833055 checked
Reference isn't exactly a specification. Take a look at C++ standard.
https://github.com/rust-lang/reference/blob/master/src/memory-model.md
> The memory model of Rust is incomplete and not fully decided.
Speaking of technical debt, you know why this is important, right?
>>
>>536833548
>The memory model of Rust is incomplete and not fully decided.
which makes any rust programmer retarded to put their eggs in that basket for anything. but what do you expect from retarded faggots who can't program in C
>>
File: 1724974443112267.jpg (17 KB, 441x302)
17 KB JPG
>>536833548
>The memory model of Rust is incomplete and not fully decided.
Whoa mama, this is worse than I thought. Somebody must have leaked all the Jewish backdoors in the Rust ecosystem or something. No way in hell all the shilling for that stupid language was organic.
>>
>>536822159
just use gcc to compile it
>>
>>536833239
I'm a 5'9" guy with an 8" dick
I'm big where it matters
Lower your tone when talking to me
>>
>>536833548
This language solves the biggest problem web software faces today, memory overflow bugs. The biggest class of exploit, avoided.
>>
>>536833620
Frankly, not even most of C++ devs can program in C.
> #pragma pack in header, for ARM
> signal unsafe code in signal handler
> atomic under lock
etc.

>>536833684
They never had any spec.
> the compiler is our specification
A bunch of little gay Larry Walls, but retarded and lazy.
>>
>>536834075
>Frankly, not even most of C++ devs can program in C.
of course they can't, 99% of them can't even setup an open watcom or DJGPP environment, let alone compile a hello world in C
I still write DOS applications today, these fags thin they can program because they have an IDE that tells them what to type.
i use vi btw (real vi, not vim nor the tranny jewish faggot neovim)
>>
>>536834073
Anon, LLMs can create functional webs today. I've been told that by a manager, so it must be true.
This however only means that web "programming" isn't Turning complete. You could program this shit in Typescript already.
> memory overflow
I can only say that 90% of so called programmers can't program, and should not program, ever. Bugs will happen, always. QA matters, there's no silver bullet.
>>
>>536834382
>programmers can't program
Exactly, we need to pick our poison well.
>>
>>536818784
i never learned rust, it just seems like a liability.

C/C++ have more established libraries that have been proven stable for longer, than rust, a new language.

no thanks, i'll stick to my legacy programming languages.
>>
>>536823311
What theme is that?
>>
>>536818784
>>>/g/
i'm also a c programmer that tried rust. i'll answer there

>>536832166
based as fuck, thank the lord for LLVM indeed. t. engineering student that can't wait to try asian pussy (not in japan, everyone and their grandma is there now)
>>
>>536819583
transfemale
>>
>>536834328
> I still write DOS applications today
I still play DOS games. I should have been born in 1960, damn it.
> vi
Four tiled Midnight Commanders, or MSVC without project.
My cope is that programming is not about the speed of typing, ree.
>>
>>536834728
>I still play DOS games. I should have been born in 1960, damn it.
same and same. maybe we were and killed off for being too based.

>>536834728
the fact you even know of midnight commander is hella based.
>>
>>536818784
I would learn plumbing or electrical.
https://finance.yahoo.com/sectors/technology/articles/elon-musk-coding-top-job-163850758.html
>>
>>536834887
>midnight commander
just wait till you discover ls/cd/cp/rm
it will blow your mind
>>
>>536835065
bro i use vi, i know my way around a fucking terminal
>>
>>536832766
Rust Reference is out there.
>>
File: OIP-780299371.jpg (30 KB, 474x263)
30 KB JPG
>>536835065
> just wait till you discover CP
cd -
yw

>>536835356
So is the truth, Mulder.
>>
no raging prophet of rust seems to even know that in C++ unique_ptr and shared_ptr do the same job that is flaunted as the main - and apparently only - important feature of rust. besides, the first rust program I tried to use - the pijul version control system - immediately crashes with a segfault (latest available on Ubuntu 20.04, when adding files). so much for memory safety.



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