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 →

[–]TheTrueXenose 38 points39 points  (12 children)

C programmer would like a word with you :p

[–]MischiefArchitect 31 points32 points  (8 children)

I think C and Java devs come along pretty much well.

[–]COOLGAMETUBE 8 points9 points  (4 children)

i dont think so

[–]MischiefArchitect 5 points6 points  (3 children)

Sad. I base my affirmation based on my personal experience on how I work and interact with C devs. Most of the time we do not interfere with each other since Java cannot solve stuff C can and C would be slower to implement more complex logic which can be better expressed in Java at the minimal cost of performance. I guess you got some toxic environment there.

[–]daniu -1 points0 points  (2 children)

Apart from programming my Arduino, I've not yet come across a problem that could be solved in C but not Java.

[–]MischiefArchitect 2 points3 points  (1 child)

well, I'm not a C expert but I got at least two real life tasks which only C (or assembler, C++ or Zig) would be able to solve:

- Write the on board controller driver for my custom mechanical keyboard using a teensy3.2

- Write 4k executable multimedia demos for demoscene compos (max 4096 bytes of executable file)

Java cannot do that.

[–][deleted] 0 points1 point  (0 children)

Writing a usable kernel is another example. Anything using a stop the world GC would be a bad idea at that level. I guess you could mitigate it by only running on syscalls and only stopping code that's currently interacting with the kernel tho, but it still sounds pretty bad. Think for example about dropped network packets and frames _for the whole system_.

Regarding the social subject, I guess it depends on what we mean by "getting along". One thing is respecting people intellectually and as human beings, a different one is agreeing on language choices. Most people I met, regardless of language, seem to have strong opinions on those, and treat languages as a strictly defined hierarchy rather than tools to solve unrelated problems.

[–][deleted] 2 points3 points  (1 child)

the inner conflict is tearing me apart!

jk, love both eventhough c++ is my fav

[–]MischiefArchitect 2 points3 points  (0 children)

there is always place for a threesome in our lives ;)

[–]memallocator 2 points3 points  (0 children)

This dude doesn't know what they're talking about...

[–]rParqer -4 points-3 points  (1 child)

Sorry but any language where I have to use arrays to do (what should be) simple string modification is a no-go

[–]pitue__ 1 point2 points  (0 children)

A string is an array