Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7029145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:29:59+00:00 2026-05-28T00:29:59+00:00

This question has been on my mind for a while. I used C++ for

  • 0

This question has been on my mind for a while. I used C++ for some web development I was doing, and also some hobby programming. The only reason I got into it a little was because of the web development thing, as I just used plain C before. All in all, I didn’t use C++ too extensively.

Recently, I’ve been doing more extensive work with Java. Lots of people say that C++ and Java are completely different, and that doing thing the ‘Java way’ isn’t a good idea for programming in C++, suggesting that they are two completely different worlds. They certainly feel different, and function differently. But more specifically, what do people mean when they say that?

Are they talking about garbage collection? Or something else?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:30:00+00:00Added an answer on May 28, 2026 at 12:30 am

    Main difference is due to the fact that with Java you are running a program on a virtual environment (Java Virtual Machine) that you do not know, and that you are not allowed to access deeply.

    This obviously generats a lot of differences, regarding level of programming and efficiency.

    You can check this interesting link I found: http://en.wikipedia.org/wiki/Java_performance

    And this SO question: C++ performance vs. Java/C#

    Speaking in general terms C++ allows you to have more low level control of your programming.

    e.g Java garbage collector manages memory without you knowing what it does:

    1. you don’t know when it starts
    2. you don’t know how it works
    3. . . .

    instead in C++ if you want a sort of garbage collector module you must manage memory allocations by yourself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question has been on my mind ever since I started with iOS development:
This question has been bugging me for some time. I always picture launching my
Most of my programming has been in web-based applications, although I have done some
I'd like to ask this question which has been popping up on my mind
Alright, this has been on my mind for a while now. I'm in the
This question has been asked before ( link ) but I have slightly different
This question has been discussed in two blog posts ( http://dow.ngra.de/2008/10/27/when-systemcurrenttimemillis-is-too-slow/ , http://dow.ngra.de/2008/10/28/what-do-we-really-know-about-non-blocking-concurrency-in-java/ ),
This question has been asked in a C++ context but I'm curious about Java.
This question has been puzzling me for a long time now. I come from
This question has been asked in various forms in a number of different forums,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.