[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

How fast is java actually?


Thread replies: 15
Thread images: 1

File: 1463006330878.png (18KB, 510x575px) Image search: [Google] [Yandex] [Bing]
1463006330878.png
18KB, 510x575px
How fast is java actually?
>>
idk
>>
>>54659552
Very
>>
0.1
>>
>>54659552
Pretty fast once the runtime has finished loading, all the classes are in memory, the jitc has kicked in for the hot paths, and the heap has finished resizing to handle the program allocation pattern.

So, comparable with python for the first few seconds to minutes depending on the problem space, and then quickly speeding up to c++ speeds afterwards
>>
About 10 speeds, as compared to see plus plus at 50 speeds and see sharp at 25 speeds. Depends on the RAM/CPU intensity ratio of the program. I can deduce a private RSA 8192 key given the public key with java in about an hour but with C++ it would be maybe 5 mins, if that gives you an idea
>>
>>54659552
fast enough
>>
2 magmas
>>
100 fast
>>
>>54660046
Magmas are an outdated unit; they don't account for the calculational flux of modern CPUs
>>
about this much

|______________|
>>
It depends on context.

Real-time system? Not fast enough and non-deterministic gc

However it's plenty fast enough for anything else.
>>
>>54660147
2D games?
>>
>>54659552
http://benchmarksgame.alioth.debian.org/u64q/java.html
http://benchmarksgame.alioth.debian.org/u64q/which-programs-are-fastest-firstlast.svgz
Java is just a shittier Ada.
>>
>>54659552
Full speed on Solaris. Near native on android.

Shit in any VM, just like everything.
Thread replies: 15
Thread images: 1
[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.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK