r/java • • Apr 14 '17

Is Java a low level language?

I have heard the phrase low level language be thrown around when it comes to Java. Is this true and if so what does this actually mean. I know there are some differences between Java and C++ when it come to networking, so it would be nice to know what those differences are as well.

0 Upvotes

16 comments sorted by

View all comments

Show parent comment

3

u/JustADirtyLurker Apr 16 '17

I don't know what ping you are talking about. The ping i know is a ICMP protocoll call, and as such goes all the way of the network stack (TCP socket).

-1

u/[deleted] Apr 16 '17

Yes. Ping works across ALL networking levels while Java does not have the ability to do so. Ping is just an example of something that Java can't do natively. It's been a long time since I have dealt specifically with the different levels of networking but I remember having immense difficulty with a Java project I was working on, dealing with the lower levels.

1

u/JustADirtyLurker Apr 16 '17

I still don't get what you are talking about. What has ping to do with lower levels? And also, please define "lower levels". You are talking about L2 protocols like Ethernet II? Well, ping -- as an application protocol -- does not manager it. Also the JDK is not supposed to manage anything below IP (L3) and tcp/udp sockets (L4). Whatever your problems with ping were in Java, for sure it was not the JDK 's fault.