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

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

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


[Advertise on 4chan]


Besides the trans memes, is Rust a good replacement for C++?

>But trans
I don't care about pol shit if the tool is good.
>>
not really. it's a good language for certain use cases and not for others

same as c++

learn the pros and cons, pick the right tool for the job

sometimes it is rust, just avoid the gay cross dressing men
>>
how about you use it for a while and form your opinion
>>
>>107538194
>just avoid the gay cross dressing men
Not possible, which invalidates the language.
>>
>>107538194
I just want something that can load SDL and OpenGL to make 2.5D games without the faggotry of C++.
>>
>>107538218
why not c?
especially sdl's interfaces are c-like
>>
>>107538236
That's like asking, why not make my game using MS-DOS?
>>
>>107538245
if youre good at designing interfaces its not
but that takes aloooot of experience
>>
>>107538236
writing games in C is very fun, it makes you think more about how to structure your data, but I'm not making anything 3d or too complex so idk, maybe just stick to c++ for that
>>
>>107538179
Yes. Lots of new, successful software was written in it.
Contrary to what schizos with delusions of "the trannies" who are definitely in the room with us right now will tell you, the Linux Rust experiment was a huge success which is why Rust will stay in the Kernel.
>>
>>107538256
I rather use Java over C++
>>
>>107538262
the best selling game in the world was made in java so I can't argue against that. but in that case maybe just use c# then
>>
>>107538256
i write my own interfaces because you can skip alot of checks, you can improve data locality, and its just less annoying than learning a whole slew of premade ones
my brain just bends in that direction, naturally, so i write in c

but yeah, everyone has their specific usecase
>>
>>107538218
>making games
No Rust is genuinely awful for that.
It stops you from doing any and all kind of fast iteration that you want in game dev.
>>
>>107538245
Why not make it for DOS? You might learn something.
>>
import 1000 crates
unsanfe().unwrap.cutdickoff() :bloody eggplant emoji:
>>
>>107538179
is friction what gets you up in the morning? do you wipe with 40 grit sandpaper? do you hate when things "just work"? then rust is for you!
>>
File: 1682032070151053.png (405 KB, 382x458)
405 KB
405 KB PNG
>>107538303
>>107538342
>>107538383
>C++ cultists
>>
>>107538179
to understand the concept of rust is simple
first, think about the all the shittiness of C++
now think about the fix, the nirvana, that is rust
>>
>>107538385
i don't use c++
>>
>>107538400
good.

C++ is awful.
>>
>>107538385
Excuse me I'm a C cultist. Don't lump me in with those C++ers.
>>
>>107538179
tor is switching to rust
>>
Basically imagine the people who love "Modern C++" but just wish it had nicer errors and didn't allow you to circumvent it by sticking to a C-like subset and you have Rust.
>>
No.



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