---
title: "Discussion on \"why c++  is not platform independent like java?\" | Hashnode"
description: "Discussion on \"why c++  is not platform independent like java?\". why c++ is not platform independent like java?\nJava is often praised for its ability to run the same code on different systems. C++, on the other hand, is known for its speed and low-level control, but lacks platform independence. Let’s explore why t..."
url: "https://hashnode.com/posts/why-c-is-not-platform-independent-like-java/6820f4c7df29a11ccddade14"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [why c++ is not platform independent like java?](https://kodes.hashnode.dev/why-c-is-not-platform-independent-like-java?utm_source=hashnode&utm_medium=feed)

why c++ is not platform independent like java? Java is often praised for its ability to run the same code on different systems. C++, on the other hand, is known for its speed and low-level control, but lacks platform independence. Let’s explore why t...

May 11, 2025 · 3 min read · kodes.hashnode.dev  
Read the article

-   [#cpp-ck4ra5k7300nlv2s1jbkdp2qh](https://hashnode.com/tag/cpp-ck4ra5k7300nlv2s1jbkdp2qh)
-   [#java](https://hashnode.com/tag/java)
-   [#jvm](https://hashnode.com/tag/jvm)
-   [#vm](https://hashnode.com/tag/vm)
-   [#virtual-machine](https://hashnode.com/tag/virtual-machine)

## Written by

[Kartikey choudhary](https://hashnode.com/@Kartikey2003)

@Kartikey2003 · India

  
[View profile](https://hashnode.com/@Kartikey2003)

| learning in public| interests include computer science and tech.

## Responses 1

Markdown supported · ⌘↵ to post

[Lovepreet Singh](https://hashnode.com/@lovepreetsingh5)

[May 11, 2025](https://hashnode.com/posts/why-c-is-not-platform-independent-like-java/6820f4c7df29a11ccddade14/comment/6820f6af9eaed7343bf44133)

Compiled very well Kartikey, it would be better to use images, illustrations in future for more complex topics. ⭐

[Kartikey choudhary](https://hashnode.com/@Kartikey2003)

[May 11, 2025](https://hashnode.com/posts/why-c-is-not-platform-independent-like-java/6820f4c7df29a11ccddade14/comment/6820f6af9eaed7343bf44133#reply-6820f8944843871363db5cfb)

alright sir.
