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

Java or C++? been learning C++ for a while and made some games

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 30
Thread images: 1

Java or C++?

been learning C++ for a while and made some games with SFML but i'm looking for give to java an oportunitty.
>>
>>60880190
Java is the language of the future
>>
>>60880192
rlly? how you know it?
>>
>>60880192
FPBP
/thread
>>
deepblockchaining with nodejs at webscale on elk stack running on k8s or go home
>>
>>60880190
I would only consider using Java for android
Java, everything is an object, no pointers, you need a virtual machine
C++ is just C with objects, type safety, method overloading, polymorphism
>>
>>60880210
this post is everything I hate
>>
Java is mainly good for small games and Android apps. I wouldn't use it for anything else
>>
>>60880274
do you recommend it for an indie game developer?
>>
>>60880274
backend development
>>
>>60880244
>spotted the half stack engineer

bet you are a fucking white cis male, please don't come to our conference or host your code on our hub ever again
>>
>>60880190
I looked at job openings in my state and there's way more Java positions available than anything else,except maybe Ruby on Rails and JavaScript. I think C++ is a bit better but also probably harder to learn.
>>
>>60880415
>think C++ is a bit better
Sorry, I meant I think C++ is maybe a bit more flexible. I'm just talking out of my ass, though.
>>
>>60880192

Java is already legacy shit
>>
>>60880274
Except that this is the opinion of a 5 year old. Go check backend dev positions with Spring.

Guess you're unemployed hahaha
>>
>>60880244
>hating elasticsearch
Why tho?
>>
>>60880296
ask notch the billionaire
>>
>>60880777
>implying Notch knows anything about writing stuff that isn't a bloated Java piece of shit
He even admits to it for god's sake.
>>
>>60880755
>unironically not hating EShit

>you have to create a new index to change the document structure
>no joins
>JSON as query language
>designed by the same ego stroking web people who believe XML is verbose

hey, at least it is fast at what it is doing, which is basically nothing
hell is when you have to work with ES. When your peers suggest to use it, you know you are among plebs
>>
>>60880829
ES is to be used only for searching data you store somewhere else or don't care to store.

It may present itself as a database, but it's more of a search engine.

And if you have a faster open source search engine, do tell, I run Terabytes of data through it to caulm for fab errors, so even a marginal improvement would save me tons.

No man, if you want to rant about NoSQL DBs, use MongoDB, ES actually has an industrial use.
>>
Java is number one language

I know it better than Hind- I mean English!
>>
>>60880878
>implying I said anything about DBs, but nice strawman anyway

do they teach it at how to defend ES 101?

>implying I don't have petabytes of data indexed and queried in sql

+ the documentation is atrocious, the versioning is joke and you have to actively work against it. What is that, you want more than a couple of results? Too bad, you have to restructure your whole query and use a different api endpoint haha
>>
>>60880190
Why not just learn both?
>>
>>60880415
I'd rather kill myself than write Windows API code in C++.
>>
>>60880966
Gotta give you that, they did fuck around with versioning so fucking bad i had to rewrite my queries on every major version.

But I still don't have a better tool to use. And you didn't answer my question so I'll assume you don't have a better one in mind.

And when I said Terabytes I was talking throughput, not whole size. Not that it matters, past a certain size you only care about having polynomial time operations anyways.
>>
>>60880919
haha hilarious post

have an upvote
>>
>>60881101
entirely depends on the details of your specific queries, try to state the problem to some dba

ES was sold as the panacea of full text searches, but the tokenizer and co is so shit, I was amazed

>case insensitive but returns null for upper case queries
>special character like * break searches

all carefully hid behind some obscure documentation
>>
>>60880243
>no pointers
it has pointers, you just never need to dereference them
>>
>>60882850

that's the worst fucking thing, it means you have to do ass-backwards shit like
foo.equals(bar);
>>
>>60882925
you don't have to do that, you could compare hashcode() instead :^)
Thread posts: 30
Thread images: 1


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.