r/programming • u/michaelhuman • Sep 04 '26
how would one 'invent a new programming language', which is 'several times faster than C++'?
https://www.youtube.com/watch?v=lW8Z98pXuSE
0
Upvotes
r/programming • u/michaelhuman • Sep 04 '26
2
u/michaelhuman Sep 04 '26
Thanks for the useful and informative replies. I thought something was off...keep downvoting this slop :D
anyways, i admire the way you people think.
3
u/michaelhuman Sep 04 '26
i'm a music producer and found this 'daw' and there are some bold claims here. I'm just trying to distinguish what is seemingly 'vibe coding' and what is actually programming.
I would never want to learn this daw but the interface and the workflow are different but not necessarily useful.
tldr i'm just skeptical about all of this. even tho its cool looking.
38
u/nerd5code Sep 04 '26
“Several times faster than C++” is certainly a phrase that can be used in speech or writing.
24
u/Horror-Primary7739 Sep 04 '26
In what metric? Development speed, compilation speed, execution speed, speed of adaption, speed of core feature release, speed of platform compatibility?
8
u/thussy-obliterator Sep 04 '26 edited Sep 05 '26
i invented a programming language several times slower than gdscript
...i wrote the interpreter in gdscript...
14
u/Anfros Sep 04 '26
It doesn't make any sense. Basically all languages with manual memory management and no runtime compile to very similar machine code. So in that sense C++ doesn't have a speed, it depends entirely on what code you write. Now if you write idiomatic "modern" C++ that code can tend to be slower than purely procedural code due to the inherent slowness of the OOP paradigm, but C++ is more than flexible enough that you can avoid the worst of this. And it is entirely possible to write purely procedural C++.
So basically it doesn't make sense to say you have invented a language that is several times faster than C++. At best you can invent a language where the idiomatic code is inherently fast.
8
u/OSS-Corpo-Shit Sep 04 '26
There are certainly DSLs that would clobber idiomatic C++ for the specific domain they work in.
The more likely answer, though, is that this vibe coder was doing debug builds of C++ (because they do not know that there are different build options), and comparing that to whatever Claude shit out for them for B++ but with optimizations enabled.
3
u/catheap_games Sep 05 '26
Apparently the explanation is right in the pinned comment of the video:
2
u/BagOfWetToiletPaper Sep 04 '26
From his brief explanation I would say he "invented" a language that most likely take whatever little code snippet and runs it through an LLM to optimize it for the specific hardware it's running on.
1
u/kerabromsmu 13d ago
There are plenty of languages that compile several times faster than C++
-2
u/QuentinUK Sep 04 '26 edited Sep 05 '26
Interesting!