pairofstrings
- 411
- 7
Which is better Java or C/C++ with data structures and why?
The discussion centers on comparing Java and C/C++ in the context of data structures, exploring their capabilities, advantages, and potential use cases. Participants examine technical aspects, performance considerations, and educational perspectives related to these programming languages.
Participants express differing views on the advantages of Java versus C/C++ for data structures, with no clear consensus reached. The discussion remains open with multiple competing perspectives on the topic.
Some participants reference historical memory models and programming practices, indicating that understanding these concepts may be crucial for evaluating the two languages. However, the discussion does not resolve the implications of these models on current programming practices.
pairofstrings said:Which is better Java or C/C++ with data structures and why?
Ivan92 said:It depends on what you want to do. However, C++ was the first programming language I learned. At my University, Computer Science and Engineering students would start with C++. The first day of lecture, my professor said to learn C++ before Java. I don't recall the reasons why.
chiro said:Learning C++ for Java is good for different reasons. One is that you understand what is going on. In C/C++ you have to deal with managing memory and working with pointers. This is good because it corresponds more or less with what is happening inside the computer (flat memory in your RAM that is not kernel memory).
pairofstrings said:What is flat memory in RAM and Kernel memory?