Post
Topic
Board Altcoin Discussion
Re: Will EXO destroy Nxt, NEM, Node aka java crap?
by
Nullu
on 30/07/2014, 21:05:20 UTC
Wow I didn't know they were all working on decentralized crypto currencies

Peter378 asked about "some examples of how Java is used in the business industry". Business != crypto currencies.

We're talking about financial systems. So far I'm not seeing any particularly persuasive arguments over why C++ 11 is any better than Java, other than the OP being a holder of EXO.

Indeed Java is better for financial apps as it's easier to write safer code. No pointers to arbitrarily access memory, no buffer overruns, bound checking, etc.  C++  is is better choice for apps that require faster start up and native integration.  

Faster start up is totaly irrelevant for server apps that start once and run for weeks/months without shutting down. Native integration is not needed either. Funny to watch Exo having difficulty releasing linux version. Had he used Java instead, it would have been platform independent. There is absolutely no reason to write crypto (server side)   in C++. It's a bad choice for the job.  

It's fine to write crypto clients in C++, and indeed anyone can write Nxt client in C++ for Windows. The client interacts with server (written i Java) . On the client side faster start up and native integration with GUI would be more desirable.

All valid points. Provided the code is secure, I think whether it's written in C++ or Java is a moot point. Both languages have their respective strengths and weaknesses. C++ offers speed, but at the expense of being more vulnerable. I've coded in both languages, and personally I find Java cumbersome and verbose, but it is safer.

Personally, I prefer C++ as a language, but that's as a programmer, not an end-user.