Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Defi4NT14937yLanguage aren't about power, they're tools, it all depends on what you want to make.
-
@Defi4NT i want to stick with a language instead of hovering over many other ones . That's why i asked about that . So this means java and C++ has same tools ?
-
but @explosg i came to know that if i build same logic in java and C++ for a given problem , Java code will take more time to execute as compared to That of C++ , for given set of testcase .
-
explosg1917yYep. But its also easier for a unskilled dev to write java than c++ as an example is c++ mem alloc is manual while in java its automatic. But you are right, c++ is a little faster which is why most fps games are written in c++
-
Yes. @kalolparty i think that use of language should depend on task or program to be done .
-
@explosg if you use new/delete in your client code you are doing it wrong.
Today c++ is clean, safe,leakfree(if used right) and lightning fast (execution).
And c++ doesn't need a GC to slow things down.
However, c++ is not for everyone. 🤓 -
@Vaibhavkumar Java skews a bit more to the application side with more abstractions and a garbage collector, C++ a bit more to the systems programming side with lower level code (but not as much as C).
-
@rangler you can find c++ on more platforms than java.
Don't forget. Java is created with c++ (by mediocre developers). -
rangler1107y@krister-alm whoops, i was trying to say that "compiled" java runs anywhere (where java is supported) vs c++ which needs to be recompiled and some libraries may be incompatible between different environments
-
Celes6877yStop learning Java please, let it die in peace :'( btw if you dont like to be restricted, go for C++. C++ is FREEDOM!
-
Celes6877y@Vaibhavkumar maybe I have some problems with English sorry x) I didn't really get what you said, you mean all kind of Frameworks which exists in Java? Or a specific one? I don't think you were speaking about c++ concepts x)
-
Celes6877y@Vaibhavkumar C++ language got far more things than Java. But some things like garbage collector, are not in the core language (hopefully). You can still get them with some libraries. Right now I'm working on generic programming and metaprogramming, Java can't do a thing there. The main point is that C++ give you the choice, like multi inheritance for example.
-
Celes6877y@Vaibhavkumar I mostly learned by building projects. You can find probably all information about C++ and the standard library at http://en.cppreference.com/w/. And when something was a bit too hard to understood with my English, I searched some other resources on Internet. But Stackoverflow, Github (searching project on the same stance subject) were the most interesting place to go. And for some advanced 'tutorials' I looked at cppcon youtube channel, and when that wasn't enough, I searched some other conferences on the same subject. I remember trying Jason tutorials on C++, but that wasn't really interesting. But if you're starting that could be interesting ^^ Sorry I didn't really use some tutorials like you see in others comments, but at least you will get all information on cpp ref, not just a partial information. If I remember something else I'll comment this rant again (I'm waking up xp). Good luck
-
@Celes what is the best way to learn C++ ? watching tutorials or Doing projects ? If Doing Projects is right Then plz recommend from where i can start .
-
Celes6877y@Vaibhavkumar I guess both is the best. Because you won't think about everything by yourself, so watching something like cppcon conference will show you new way of using C++ and after you should find a project that you like (so I can't really tell you which one) and work on this new thing on it. In the end it's not even a problem if you don't finish your project (seems like it happens often here xp), if you improve your code that's good enough. But don't be afraid to spend some time on the same code portion.
For your first project, I guess you should try a game. Because game can be easy but they can be really really deep and complex. Start with one too learn the basics (tutorials for the basics are mandatory I guess, or it will take you ages) . After that choose what you like the most about programming. For myself it's architecture, so I learned design pattern, abuse them, learn to keep my architecture simple. And foe that games are also a really good choice. Right now I'm trying to build a entity components system library with modern metaprogramming and some other stuff. I don't push often because my code is a mess with all the learning xD There is a lot of fun things to specializes​. For a job I guess big framework like qt is the way to go. But all of that depends of what you like and what you want to do after. Anyway you always should learn some architecture stuff if you to be efficient in group projects I think.
Btw my first project was a bomberman :p oh and if you prefer opengl/vulkan to sfml or other stuff, dont be afraid and take your time ^^ well not sure if vulkan got a good documentation and good code samples right now though.
Don't rush yourself, enjoy, because learning is so fun :p -
@Celes from where i could get tutorials on something like building games like stuff with c++ and other Things .
Cppcon are conferences or thses are tutorials that get start you towards learning C++ in a new and epic way .
Plzz tell me Tutorials from where i can get started . -
Celes6877y@Vaibhavkumar to learn the basics every tutorials should be okay like https://www.sololearn.com/ (I see this on a rant, I personally used a french tutorial when I was young). After this start you're first project, if it's a game maybe you should use a simple library at first like sfml https://sfml-dev.org/tutorials/2.0/, and if you want some generic information about game programming I like http://www.randygaul.net/.
About cppcon, it's not some tutorials but some conferences. So you should learn at least basics if you don't want to be lost before. It will help you to find what tou want to learn next. Because there is no such a thing as a list of things to learn. In fact there is too much things to learn so you need to focus on what you like. But I guess knowledge about the core language, like templates, are really important. -
So @Celes u mean cppcon will tell me what is going on or what can be done with c++ . Rest i will have to decide what to do
-
Celes6877y@Vaibhavkumar you will see guys speaking about various aspects of C++, like libraries or core languages futures, so if you're interested you can try it after and maybe check more resources of the subject. There is a crazy amount of interesting things anyway ^^ first time I learned about metaprogramming was there.
-
@Celes it's looking like very interesting .I will surely try that listening to cppcon and then checking the resources on youtube,google etc.
-
Celes6877y@Vaibhavkumar good luck ^^ Istill dont have watched everything and I dont think that's possible anyway xD
-
@Celes that means each and every video has a whole new concept that demands time and attention .
Related Rants
Started doing Java because i thought it had much better libraries than C++ .Now after doing it , still not able to decide whether to stick with Fucking Java or with that Fucking C++ LOL.
undefined
java