Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ vs Java thread

Name: Anonymous 2018-01-03 19:30

Which is better? Faster? More secure?

Name: Anonymous 2018-01-04 8:01

there was a time when I'd say C++ but Java is getting better and Sepples is constantly turning into an even bigger, less readable mess. Java is overly verbose but Java 8 and Java 9 are a huge improvement with lambdas, streams, functional interfaces and optionals. there's a clear design goal here: making the language less tedious to use by adding modern FP features.

on the other hand, C++ is all over the place. it takes random shit from other languages without rhyme or reason, and all the things it adds are done with the ugliest, clunkiest syntax you could ever imagine. there are good ideas there - e.g. constexprs as an idiomatic way to do metaprogramming instead of template hacks - but it's all done in a half-assed way. also, every single fucking thing has weird edge-cases you need to know about. while Java has its ugly hacks (e.g. type erasure in generics), modern C++ is all ugly hacks.

of course, Sepples has its advantages: native compilation is something I'd rather have than not have (especially when developing for Windows) and it is definitely faster (although not as much as it used to be because Java's performance has gotten significantly better). also, it's more of a community thing but Sepples programmers at least have some low-level knowledge (they need to due to the clunkiness of the language) and I'd rather talk about stack, memory and registers than spend time with enterprisey bullshit, frameworks, XML, design patterns and all that shit.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List