Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
RememberMe1479512dNo, procedural means that you can break up the code into procedures (also called functions by C programmers, but "procedure" or "subroutine" is a better term). It's to distinguish it from machine code where you just have one big block of code. C's ability to divide things up into logical blocks of code with a well defined interface makes it a big step over machine code (of course it wasn't the first procedural language).
Doing things one after the other just makes your code sequential. The opposite of that is not defining an order in which things have to be done, which is called concurrent.
Actually compiled C programs can run on any machine with the same OS (technically, ABI, but whatever) and a processor with the same instruction set architecture, like x86. To a first approximation, code that you compile on say linux on an i3 will run on i5, i7, Xeons, Ryzens, Epyc, etc. because they all share the same ISA (called x86-64). This is a feature enforced by the ISA and is the reason it exists in the first place. It breaks down if your code does processor specific things, like extensions like AVX2 which aren't available on every processor which implements x86-64.
Multithreading isn't something only Java can do, C does it as well by using the OS' threading functionality. What do you think Java threads run on? Most JVMs are written in C/C++, so it has to be multithreaded.
The Java compiler turns Java code into Java bytecode (not "signs"), it's a language understood by the Java virtual machine (JVM), which executes it. Actually most JVMs do also translate bytecode into raw machine code via just in time compilation (and ahead of time too) for extra speed.
C++ is not just C with classes, it's a much richer system with features like references, move semantics, templates and template metaprogramming, compile time expressions etc.
Also this is probably a "question" or "random", not a "rant". Please use accurate categories, makes things easier for everyone.
SanthuLavri3312d@RememberMe thank you, most of the terms you used are new to me, understood there will be a lot more to be explored.
As am in starting stage of learning and new to devRant,I have posted story what have I understood to my level of explanation.
In Hasslefree Java learning, what can be concepts should I start to learn first to get a good grip on Java and further.
Your suggestion could be helpful to me,
xjose97x16Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
elgringo34Student - Teacher renaming .c to .exe make the program executable ? Teacher - Yes A group of people stand up...
Cyborg17A guy and a girl are in a Java seminar. Afterward, the guy approaches the girl and asks, "Hey gurrl, can I ge...