Mar!o
Mar!o
For companies it's different
Mar!o
Still Rust has many problems
Mar!o
But the general idea is good
Mar!o
I Rust and C++. Rust for an VM and C++ for a engine.They are like brothers
Stefan
Mar!o
lol
Stefan
also facebook libra, small right?
Mar!o
I've said the language is small
Mar!o
Especially the std library
Mar!o
Also with all the creates there is so much dependency bloat. A simple logging crate depends on 20+ others.
Mar!o
Often they are outdated or not required
M__
Nothing will replace C/C++
Not even rust
Because the c++ is larger than you can even imagine
Mar!o
Mar!o
It's just a hype which will be over in some years
Stefan
M__
rust being memory safe means it must have sacrificed some execution speed
Mar!o
We need a crate for chrono, for bitmasks. Wow thanks Rust
Mar!o
Stefan
olli
rust: haha safe system programming go reeeeeeee
might happen eventually, but rust doesn't even have a formal spec and is hence not suitable for safety critical software. Even if it had a spec, a rust compiler would need to be 'certified' as well.. which would probably take even longer.
Mar!o
It also has one compiler
Mar!o
We might see Rust overtake in 10 to 20 years and there will be still lot's of C++ code
Stefan
Mar!o
Stefan
Mar!o
For game development C++ is still king by far because of the libraries like unreal engine 5
Mar!o
I'm not saying that. I use both. I like both. I think C++ is a better choice for most projects. I like C++ syntax and keywords more except from the integers. Rust has potential but some things are not tested enough or just annoying
Stefan
Mar!o
😂bake the execuable before it
How should I compile for the server's architecture on a laptop it will never optimize it as it would be compiled on the server. It can easily detect all instruction sets and extensions, cache size etc and do the best?!
Stefan
Mar!o
I really like the integer keywords in Rust. u16, i8 and i64 names are much better than unsigned short etc...
Mar!o
The crate Spam is just not always great
Dima
Mar!o
And rust has no fancy template meta programming.C++ ist just a monster with tools for everything. And I love that variety. I also understand that n00bs and beginners don't like that because it's more to learn
Mar!o
Most of the people should just stop crying about C++ and make little project's in it. Learning by doing is the key.
V01D
Bruh.
V01D
V01D
Since I only know ROP, who can tell me if OOP or ROP is better?
When is either one better?
Is either one faster?
V01D
(Learning C++, so I got curious.)
Kenny
Anonymous
Since I only know ROP, who can tell me if OOP or ROP is better?
When is either one better?
Is either one faster?
Both have their own pros & cons
Return-oriented programming (ROP) is a computer security exploit technique that allows an attacker to execute code in the presence of security defenses such as executable space protection and code signing.
Object-oriented programming(OOP) is a programming paradigm based on the concept of "objects", which can contain data and code: data in the form of fields, and code, in the form of procedures. A feature of objects is that an object's own procedures can access and often modify the data fields of itself.
Java is pure OOP language and C++ have both the features Procedure oriented programming(POP)
And Object Oriented Programming (OOP)
Anonymous
Francesco
Hello
R
Which language is more widely used C++ or Java
Anonymous
java is in over 3.1 billion devices
Anonymous
What is the wrong pointer reference in the code ??
myfunc (const int** a) {
.
.
}
main () {
.
.
int a[][] = {{ 1..2..}};
myfunc(a);
}
Daniele
Anonymous
Anonymous
If i take input during runtime ?
Stefan
Daniele
If the size is unknown?
pass a size variable to the function and use int* a[][size], but this won't work in C89
Daniele
maybe you can in later standards because you put const int instead of int, but I'm pretty sure you can't in C89
Anonymous
In C99
Daniele
I don't know about that unfortunately, I'm sorry
ㅤ
Could I send a link
ㅤ
Hi
Hamed
Hi
Anonymous
$ VISHNU KUMAR D S
How can I started learning c++
$ VISHNU KUMAR D S
I need full basic of C++
$ VISHNU KUMAR D S
Can you give
$ VISHNU KUMAR D S
Please
Anonymous
Yess.
silver
Hi everyone... So I've need doing some research on data compression and I came across something called the Huffman tree and how it reduces the number of bits in a set off data... But I have two questions... Does the Huffman tree itself take up storage space since it's included on the file once it's compressed and if it does how much space would it take. Thank you in advance.
Anonymous
Emir
The output of this code “i’m in scope” why?