Új hozzászólás Aktív témák
-
nyaralasptt
csendes tag
Ok. Lehet nekem van baj a vilagnezetemmel, de szerintem a tipikus java az a JEE. Persze sokan szeretik es hasznaljak az SE-t is /marmint, hogy csak azt/, de ha csak abbol indulok ki, hogy hany olyan allashirdetes van, ahol EE-t es hany olyan ahol SE/Swing; Desktop/ vagy ME ismeretet kernek, akkor lehet nem mondok hulyeseget.
Namost EE kornyezetben nem szokas ujrainditani a szervereket /legalabbis nem tul gyakori; elvben.../.
Egyebkent a Swinges cuccoknal tenyleg ez van, vagyis:
1. Letolti a runtime-ot/ha nincs/ ill. frissiti ~12Mb /mar dolgoznak valami modularis futtatokornyezeten, hogy gyorsitsak a folyamatot./
2. Betolti a byte kodot
3. Elkezdi vegrehajtani /interpretalva/
4. Ha ugy gondolja a runtime, hogy erdemes, akkor elkezdi a JIT kozvetlenul futtathato kodda alakitani
Amugy van olyan fordito /gcc/, ami java-bol exe-t fordit, szoval vannak megoldasok, de a dolog meg messze nem az igazi.
A Java es a c++ teljesitmeny dolgot szerintem gondold at, mert amit osztassz az kb. a tiz evvel ezelotti alapotot tukrozi:
http://www.idiom.com/~zilla/Computer/javaCbenchmark.html
EZ 2004-es, azota volt kb. +10-20% gyorsulas a 6-os javaban
http://en.wikipedia.org/wiki/Comparison_of_Java_and_C++
''Several studies of mostly numerical benchmarks argue that Java should be faster than C++ for a number of reasons:[4][5]
* pointers make optimization difficult since they may point to arbitrary data or code
* newly allocated memory is close together because garbage collection compacts memory and allocations are thus sequential in memory; and hence more likely to be 'in the cache'
* run-time compilation can do a better job because it knows what processor it is running on and what code is running - the hot spots''
...
''One comprehensive study of microbenchmarks shows quite a large variation in results but indicates that, in general, Java outperforms C++ in operations such as memory allocation and file I/O while C++ outperforms Java in arithmetic and trigonometric operations.''GITS
Új hozzászólás Aktív témák
- Kínai, és egyéb olcsó órák topikja
- BestBuy topik
- ASUS ROG Ally
- Macska topik
- Épített vízhűtés (nem kompakt) topic
- exHWSW - Értünk mindenhez IS
- Samsung Galaxy S23 és S23+ - ami belül van, az számít igazán
- Futás, futópályák
- Intel Core i5 / i7 / i9 "Alder Lake-Raptor Lake/Refresh" (LGA1700)
- Kerékpárosok, bringások ide!
- További aktív témák...
- Szinte új T14 Gen 4 Ryzen 7 Pro 7840U 32GB RAM (forr.) 1TB NVMe Samsung SSD 4G LTE 2026.12.20 GAR
- Vostro 3590 15.6" FHD i5-10210U Radeon 610 16GB 512GB NVMe magyar bill., gar
- IPhone 11 64GB gyári független ÚJ Product Red 90 nap Apple garancia
- Iceriver Kaspa Miner 4TH - eladó!
- Cooler Master Elite HÁZ +DVD lejátszó, tápegység, venti - ELADÓ! 6.990.-
- Patriot Viper Steel DDR4 16GB KIT (2x8GB) 3200MHz számlás, élettartam garanciás
- Apple iPad (7.generáció) IPS Wi-Fi + Cellular 32GB Tablet DOBOZOS
- DELL Precision 5810 / Xeon E5-1630 V4 8X4000 Mhz, 16GB DDR4, 256GB SSD+500GB HDD, Quadro K2200 4GB
- Apple iPad (8.generáció) RETINA Wi-Fi 32GB Tablet Dobozos
- 15 db Telefon egyben ELADÓ