« first day (1601 days earlier)      last day (1255 days later) » 

user12698128
7:28 AM
@nwp you are right, you have to try different paths but you lose a lot of time. There is little documentation in this direction (software development for musicians) and it becomes difficult to choose. I've read about ASIO but I still don't understand if it's a function library that completely replaces XAudio2 or if it's just a more efficient driver.
 
10:15 AM
what is the difference between vla and new allocated arrays? Meaning that besides the fact that vla cannot be extended, I used to know that the size of an array can only be a const data type, but it seems to work also with other data types which are not constants
 
user14596741
10:26 AM
Hi guys, Is C++ is still relevant in industry?
 
user12698128
11:37 AM
@edward it depends on what kind of software you want to develop.
 
1:56 PM
C++ is the best !!!!
 
2:19 PM
C++ is consistently in the top 5 most relevant languages basically since its standardization.
Since 2011 it has been receiving new updates every three years with new features and fixes which have help to keep it competitive.
@CătălinaSîrbu VLAs do not exist in C++. It it just a feature that some compilers offer as an extension.
The difference would then be that dynamically allocated arrays are a standard and portable feature while VLAs are not.
 
so the correct way of learning is that the array size should be a compile time constant or literal ?
 
Anything more would depend on how the compiler chooses to provide the feature.
@CătălinaSîrbu Yes, for statically defined arrays. Though literals are also compile time constants.
 
Dynamically created arrays can have a size defined at runtime, so saying ALL arrays need a compile time constant size is not actually correct.
@CătălinaSîrbu The general advice though is to use std::array when the size is known at compile time and std::vector otherwise, instead of using C arrays.
@CătălinaSîrbu C style arrays are interesting to know about, but should rarely be actually used, as it is easy to misused them.
 
that's a side of C++ I'm not verry familiar with :)
I'll take my time and learn about it
 
 
2 hours later…
4:31 PM
@FrançoisAndrieux if the work is security sensitive they actually recommend using std::vector all the time IIRC
to avoid any possibility of stack corruption
 
 
2 hours later…
user14596741
6:13 PM
Thank you @FrançoisAndrieux, I should learn c++ now,
 

« first day (1601 days earlier)      last day (1255 days later) »