[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
C++ or Java?
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 30
Thread images: 7
File: images.jpg (12 KB, 470x313) Image search: [Google]
images.jpg
12 KB, 470x313
C++ or Java?
>>
>>53486039
neither
python
>>
C#
I like c, but the way c++ handles objects by making out of structure and hiding the details behind a different interface bugs me
>>
>>53486039
C++ if you enjoy doing things the hard way.

Java for easy portability.

Python if you hate your end user.
>>
>>53486150
I think you're just lazy
keep using your babby language
>>
File: java.jpg (8 KB, 300x199) Image search: [Google]
java.jpg
8 KB, 300x199
>>53486039
> Java
>>
>>53486039
meth
>>
C# is the best
>>
OP, you should state for what purpose. If you are wondering which of the two to learn, it's not that much of a big deal which you. The main point is to learn programming, after which you can easily switch between languages. But of the two, pick C++ if you are heterosexual.

>>53486166
No one making anything in Python hates the end user more than if they made it in Java. Both require additional software (interpreter or JVM respectively) either already installed or packed into binaries shipping with the program.

Btw, does Java still shill ask toolbar in its updater for windows (topic was end users here, so no >windows)?
>>
C++
Java is slower and doesn't have operator overloads.
Fucking garbage.
>>
>>53486039
Taytay is a whore.
>>
File: 1418241774913.png (19 KB, 200x200) Image search: [Google]
1418241774913.png
19 KB, 200x200
>>53486039
Rust > C++11 > Java > C#
Lua > Python
PostgreSQL > any other SQL
>>
Java for general purpose or multiple platform.

C++ if you know exactly what you want down to the finest detail.
>>
>>53486039

Macro assembly
>>
C
>>
>>53486696
This. Why aren't more people on /g/ learning the superior Rust language?
>>
>>53487478
Rust is superior language, but it's heavily under development and still lacks small things like specifying byte alignment, arbitrary-sized integers etc. and the standard library is still poor. However all the nice features and whole "safe" design makes it into the best in drivers, memory/speed efficient programs and server applications.
>>
>>53486039
She codes in ruby btw.
>>
I prefer C++, even when I'm not doing low level things.
I'm just used to it, and I despise Java.
>>
>>53486039
C++ for OS apps. Java for web apps.
>>
File: 1421124110459.jpg (94 KB, 617x627) Image search: [Google]
1421124110459.jpg
94 KB, 617x627
>>53488310
>>
>>53486587
basement dweller confirmed
>>
>>53487733
The "safety" can actually be a hindrance to performance, because often unsafe things are faster because they are correct even though they can't be necessarily proven correct.
Obviously this hindrance is negligible compared to stuff like GC, and it's often worth the safety. But C will _always_ be faster (although that's not necessarily a good thing?)
>>
File: morejobsmoremoneyjpg.jpg (149 KB, 649x544) Image search: [Google]
morejobsmoremoneyjpg.jpg
149 KB, 649x544
>>
C#.
It's java but not a steaming pile of legacy nightmares.
>>
File: 1413268766398.gif (32 KB, 250x250) Image search: [Google]
1413268766398.gif
32 KB, 250x250
>>53488418
>citation needed
>>
File: 1410074959476s.jpg (9 KB, 250x250) Image search: [Google]
1410074959476s.jpg
9 KB, 250x250
>>53488409
>Java
feels good anon
feels good
>>
>>53488259

she doesn't code at all btw.

>>53488498

stfu code monkey
>>
>>53488390
Actually run-time checks are disabled in Release mode, so accessing vectors, memory slices etc. is preformed at native speed. What I was rather talking about are the compile-time checks such as lifetimes, ownership etc. These things doesn't have any performance penalty and are very useful once you understand best practices in writing Rust code.
Also Rust can be as fast as C. The difference might be just in how good given compilator is, but there is no C code that can't be written Rust with the same performance and vice versa. (Without extreme cases like uint128_t which is optimized in asm by GCC, so pure Rust code can never be close to it.)
>>
>>53486039
Both plus C.
Thread replies: 30
Thread images: 7

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.