Anonymous
Rust is also now taking place on android and linux kernal
Anonymous
And yeah i meant "beast" in terms of extremely massive and complex and thus can do pretty much anything somehow
Nomid Íkorni-Sciurus
And yeah i meant "beast" in terms of extremely massive and complex and thus can do pretty much anything somehow
Yeah, I meant the same C++ is surely powerful but it's surely too old as well
Anonymous
like C++ is truely a bit like Frankesteins monster lol. But there is a "modern" part of C++ and you can choose to only use that portion of the language
Anonymous
but you can also choose to pretty much write C
Anonymous
Slowly rust will be used on place of c/c++
Anonymous
But having a knowledge of c/c++ is great benefit
Nomid Íkorni-Sciurus
Anonymous
You can jump on another language easily
Nomid Íkorni-Sciurus
Anonymous
Why that
Nomid Íkorni-Sciurus
You can jump on another language easily
just because of the syntax, not because of the features (luckily and hopefully)
Anonymous
Oh
Anonymous
Did you guys know about TempleOS?
Anonymous
which is very bad
I like that freedom. If you want to change the calling convetion in Rust / have inline asm or just anything C++ trusts you with you will most likely have a hard time compiling that in Rust. I only did simple things in Rust so far tho.
Anonymous
Did you guys know about TempleOS?
Sure lol. Only kernel mode gg Terry 😅
Anonymous
That was a genius man
Anonymous
You guys wanna listen templeos soundtrack?
Anonymous
May i send here?
Hanz
May i send here?
No, very disturbing for my house 🤣
Nomid Íkorni-Sciurus
Sure lol. Only kernel mode gg Terry 😅
well we can say he was "high" for his scope. sorry, terrible joke.
Anonymous
I can't send here 😂
Nomid Íkorni-Sciurus
I think this topic is relative to the people, no need to be true at all
Except, it IS true and it is why C++ arised (and any other alternative tbh)
Anonymous
well you can choose to not use them^^. Like if your sick of headers, just use modules... i get your point but i think you can choose to develop in a modern way in C++. Even tho. it has artifacts from the past you dont have to use it. But you still can if you see fit. I think thats great about C++
Nomid Íkorni-Sciurus
there were better languages than C already, right before C
Nomid Íkorni-Sciurus
but it was invented just because Unix.
Hanz
So?
Nomid Íkorni-Sciurus
So?
So, we could have developed better software, in less time and with less pain
Nomid Íkorni-Sciurus
obviously this is a conjecture
Anonymous
No pain no gain lol
Hanz
No pain no gain. This is an advertisement in my country 😅
Ahadu
Which one is complex Python or C++
Anonymous
Python is easy man
Anonymous
But yeah. I get your point. I still hope C++ stays around. I just love that you can do whatever you want. I dont get that feeling of freedom and stupidity from any other language
Anonymous
On c/c++ you have to handle so much things yourself
Ahadu
Which one is complex Python or C++
Ok what is the good programming language for on game app
Anonymous
I should. Never heard of it 😅
Hanz
Ok what is the good programming language for on game app
Both are good but both have so much things to compare
Hanz
From garbage management to performance
Anonymous
Ok what is the good programming language for on game app
For android: you can use unity, unreal and java
Nomid Íkorni-Sciurus
I should. Never heard of it 😅
It was created for enterprise, and as a replacement of C++. It took the best of C++ and the best of others like Java and Rust. And it features autopointers and memory borrowing.
Nomid Íkorni-Sciurus
it is now fully open source.
Nomid Íkorni-Sciurus
and interacts just great with C/C++ code.
Anonymous
i want the D now
Hanz
it is now fully open source.
Wait, so D was not open source before?
Anonymous
and interacts just great with C/C++ code.
It's still used? I heard about that but never looked
Hanz
nope.
I never saw closed source programming language 🤔
Nomid Íkorni-Sciurus
Anonymous
Yah d lang is still active
Anonymous
Looks great
Nomid Íkorni-Sciurus
Yah d lang is still active
what do you mean by "still" ?
Nomid Íkorni-Sciurus
Anyway I really hope for D to win against Rust, at least for webassembly.
Anonymous
I recently checked
Anonymous
But why d is so underrated?
Anonymous
Sad
Nomid Íkorni-Sciurus
But why d is so underrated?
because its marketing is bad
Nomid Íkorni-Sciurus
though. It has good sponsors like Netflix and Ebay.
Talula
Which data member?
Talula
If you want to pass the value by reference make sure the argument is a pointer like int *p Pass the variable by reference to it, like binarySearch(&num.... Then you can use that reference to find the information and change the value of it if you need to.
Mar!o
Anyway I really hope for D to win against Rust, at least for webassembly.
It probably won't. Rust is growing very fast. Rust is a good language but it also has some flaws. Rust will never beat high end C/C++ performance but that's fine the most cases... C/C++ will probably stay for low level stuff where Rust will take the high performance application area like for example games...
Nomid Íkorni-Sciurus
I like Rust, but I think the web doesn't need its complexity.
Mar!o
The quote of Rust "Empowering everyone to build reliable and efficient software" is a good term but I think they already made it too complex to keep that quote 🤣
Mar!o
I like Rust, but I think the web doesn't need its complexity.
That's absolutely true. They made it too complex too early. If they continue it will end in a mess like C/C++...
Anonymous
A B \ / C / \ D E In classes D and E, I getting the error ("some var" is not a nonstatic data member or base class of class "some class") when I initialize the variables using initializer list, but when I use the body of the constructor this-> var = var works perfectly. It doesn't looks a Dreadful Diamond on Derivation problem for me
Mar!o
there seems to be a serious attempt to bring rust to the linux kernel https://lkml.org/lkml/2021/4/14/1099 [linus response] https://lkml.org/lkml/2021/4/14/1023 [more info]
Yeah but it does not sound good for Rust. It's true Rust hides a lot of memory stuff and you don't want that at kernelspace
Mar!o
I would really prefer D 😭
I've never used D but it sounds interesting..
Nomid Íkorni-Sciurus
I've never used D but it sounds interesting..
It's far better than anything I ever tried (my opinion).