O
O
OniMoni2017-02-05 23:36:31
Java
OniMoni, 2017-02-05 23:36:31

Is C/C++ required when learning java?

Hello everyone. I am the one who indulges in programming for myself, although in the future I still hope to somehow get into this area. My question is as follows, at the moment I write somehow in Java, I wrote a simple game guess the number with a small interactive. The more I get into this area, the more I hear that without learning C / C ++, in general, there is nothing much to do, especially without "C". Since arguments are given that without understanding how the machine works, one cannot write a good working application. So is it required to learn C/C++ or not?
PS As for me, languages ​​\u200b\u200bare interesting and it will only be a joy to delve into my memory (There is no such thing as a lot of knowledge). But I chose java to understand the basics of the basics, and cross-platform lured me, although I read that you can safely write on sishs for other platforms, so is it worth it to twitch at all in this regard, because at the moment it is more like a hobby.

UPD
: Thanks for the info guys. I realized that all the same, a certain basis of these languages ​​is required one way or another; I feel that I will constantly encounter them, so I think to take at least a small course in them. Thanks again everyone for explaining to a newbie.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
devalone, 2017-02-06
@OniMoni

No, not required. Especially at the beginning of the study. But to understand how it works from the inside is very useful, and for this you can read smart books about the design of computers, and to practice low-level programming, learn C, (C ++ is too huge and there is no point in learning it and not using it) and assembler. But I don’t mean all the subtleties directly, but in order to understand in general how the program works, how the memory is arranged, what registers the processor has and why they are faster than the stack, etc.
From books on C, I can advise
"Kernighan, Ritchie - Programming in C"
"Stolyarov A.V. - Programming in NASM assembly language for UNIX OS - 2011".
"Tannenbaum - Computer Architecture" (I haven't started reading yet, but it has good reviews)
In general, if you have time, try C ++, you will suddenly like it, in the new standards you no longer need to write User *obj = new User; and be afraid of memory leaks, almost like in Java, only without the brake GC.
But of course it still depends on who you want to become and how much time you have for training, if you are going to pull sites on frameworks, then you don’t really need asm / c / c ++, but if there is little time for learning don't waste it.

K
Konstantin Stepanov, 2017-02-06
@koronabora

At this stage, no. When faced with a task whose solution in Java will work poorly, then it is worth exploring the pros. Java has a good compiler, and the web is full of tutorials on speeding up code.

A
Alexander Skusnov, 2017-02-06
@AlexSku

For DirectX C/C++ (plus HLSL shader language) are required.

R
Rafael™, 2017-02-06
@maxminimus

java - in fact, this is a bad cross-platform, for example, it does not work in ios
good cross-platform is js and c - and these are the simplest languages ​​in their class
for a beginner, they are better than
js - from websites to mob / desktop applications and microcontrollers
c - for system programming

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question