/tech/ - Technology

Technology & Computing


New Reply[×]
Name
Sage
Subject
Message
Files Max 5 files32MB total
Tegaki
Password
Captcha*Select the solid/filled icons
[New Reply]


ClipboardImage.png
[Hide] (401.3KB, 1007x573)
https://www.youtube.com/watch?v=7fGB-hjc2Gc
This nigger made a two hour long video explaining why C++ sucks, only to shill Rust while admitting that Rust has awful metaprogramming, no support for circular references, takes even longer to compile (right after bashing the compilation time of C++), only having a single compiler backend and sucks for prototyping and iterative development.
He should have shilled 'D' instead.

Okay there are some other gross errors in the video like telling people to use WebGPU over Vulkan because of claimed support by Apple when WebGPU is just a safety wrapper and even slower than MoltenVK. All his problems with MS Visual Studio seem quite irrelevant too.
At one point he talks about the problems of Qt but never mentions the most glaring one:
The Qt MOC compiler you have to use. If you're writing C++ with Qt, you're actually writing Qt++.
Replies: >>17583 >>17756
1566734396308.jpg
[Hide] (18.6KB, 379x364)
What does this nigger need a 3D GPU for? They used to make isometric games on Sega Genesis and SNES. I mean, back when they made games that were worth playing.
Replies: >>17574
>>17573
Most likely the entire desktop you are using right now is 3D accelerated unless you use some niche OS like Haiku or AROS that doesn't have any gpu drivers.
Replies: >>17575
msg.png
[Hide] (5.7KB, 640x480)
>>17574
> the entire desktop you are using right now
I would actually have deleted Xorg altogether if I didn't need it to run a modern web browser. But even there I'm just using a very bare ancient window manager, and the GPU kernel driver isn't loaded. Yeah, I don't even want that stuff at all.
Replies: >>17576
lolain.gif
[Hide] (295.4KB, 700x704)
>>17575
ClipboardImage.png
[Hide] (386.1KB, 581x930)
Remember the good old days when you could post on 8ch.net/tech/ and actually get replies?
Replies: >>17581
>>17577
>pic
You know it's a shit unstable language when you have to re-standardize every couple of years.
Replies: >>17583
c2y.png
[Hide] (53.6KB, 653x769)
>>17572 (OP) 
I think most of his complaints singling out C++ are because it's simultaneously a pile of undefined slush, but without the tiny size of the C standard, which is indeed pretty uniquely awful.
>pic
Literally all of those complaints apply to any lower level language whether it's Rust or C or Fortran. Conceptual rapid iteration should be done in something as hands-off as possible like Lua or Scala, then a profiler should be used to identify sections for refactoring in something like C or Rust, and then further for the very hottest code into ASM.

>>17581 
Nobody's stopping you from feeding ANSI C89 or whatever into the latest toolchains. The new features are just waiting there if you want them, you can even hide them behind #ifdef to gracefully degrade for legacy toolchain backward compatibility.
Replies: >>17584 >>17659
>>17583
They don't apply to D. You can go as high as Python and as low as C. Granted, you need a couple more imports and stuff like http, which you have in Python and Ruby, is not included but json is. 
And D has Unicode support in the standard library like Perl, Javascript (very recent), Kotlin, Php, Swift and Ruby. UNLIKE C, C++, Go, Python and Rust. These niggers all think their applictations never ever need to support a functional text box with characters outside ansi range. If you want a caret to move correctly in your text box you always need grapheme awareness.
I don't know what you want to prototype in Lua since it can't do shit by itself. I guess you could quickly put something together with Luarocks packages.
Have you ever tried that? Is it viable or a pain in the butt?
Replies: >>17655
>>17584
>I don't know what you want to prototype in Lua since it can't do shit by itself.
Lua was made to be C's little sister and it shows. Neither language can do much with their standard library alone.
>I guess you could quickly put something together with Luarocks packages.
>Have you ever tried that? Is it viable or a pain in the butt?
Not for games specifically, but yes, it is viable. I never had much trouble finding Lua bindings for C libraries, I don't even use Luarocks since their packages are easy enough to compile myself. As a bonus, a full C rewrite doesn't need too many changes on the design.
Replies: >>17662
>>17583
>ANSI C89
I was talking about C++ anon. C is okay.
>>17655
I guess. I was thinking more of scripting the entire entire thing using some out of the box system.
Replies: >>17669
46608b1c52b1b1363fe2e9c5dd6d0a41a44f7150f784d30f9d29824783e5d775.png
[Hide] (618.9KB, 998x1080)
>>17662
>some out of the box system
Is this the latest jeetslang or what?
Rapid prototyping doesn't exist, nobody does that. What "rapid prototyping" means is that the developer half-assed some spaghetti and began randomly changing it without any thought and praying it works. The final version is the first version where the output looks right. 

In C++ you go through the entire compilation and you're able to produce a working binary that you can ship with such a development process. It may spit out 6 warnings per second during compilation, but it "works". In Rust you get a compilation error about trait bounds or other fancy terminology that is utterly meaningless to someone who doesn't actually know the language and development stops right there for a jeet who watched a 20 minute video and started copypasting stackoverflow and AI prompts, hence "why Rust sucks for game development".
Replies: >>17723
>>17709
Nobody managed to make a game in Rust yet.
Replies: >>17724
>>17723
Veloren.
>>17572 (OP)  
C[++] is infinitely worse than rust, let alone any language, and your some tunnel visioned neckbeard who can barely walk for not understanding something so obvious that first 4 month programmers understand
[New Reply]
16 replies | 7 files
Connecting...
Show Post Actions

Actions:

Captcha:

Select the solid/filled icons
- news - rules - faq -
jschan 1.7.3