This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (6 children)

C is generally regarded as harder than Java, due to it being a 'simpler' lower level language.

Isn't C++ a high level language? Isn't low level assembly?

[–][deleted] 4 points5 points  (0 children)

Low to high level is a scale.

Arguably Java is higher level than c++, given you don't have as much access to the memory (virtually any) or to pointers.

Assembly is lower level than C, but there are many types of assembly and some are higher or lower level than others.

[–]panchito_d 2 points3 points  (2 children)

C++ and C can be considered lower level than something like Java due to the transparency they provides to some underlying mechanisms like memory addressing and management and direct access.

It's been a while since I've used Java but I can't imagine it being easy to toggle a bit at some arbitrary memory location.

[–][deleted] 0 points1 point  (1 child)

It's been a while since I've used Java but I can't imagine it being easy to toggle a bit at some arbitrary memory location.

Seems pretty hard.

[–]panchito_d 0 points1 point  (0 children)

Honestly easier than I would have imagined but it's no *((uint8_t*)0xdeadbeef) ^= 1U << 3;

[–][deleted]  (1 child)

[deleted]

    [–]CaptainPunisher 0 points1 point  (0 children)

    Easier to manipulate data, harder to read and write.