Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
vardump
on May 24, 2020
|
parent
|
context
|
favorite
| on:
Chromium project finds that 70% of security defect...
Allocation heavy C++ can be pretty slow. It's also true unoptimizable (pure) virtual methods performing little work have quite a bit overhead that JVM can avoid.
Of course you normally try to avoid writing C++ like that.
pkolaczk
on May 24, 2020
[–]
Allocation heavy Java is also very slow. But it is much easier to avoid heap allocations (and virtual calls!) in C++/Rust than in Java.
pjmlp
on May 27, 2020
|
parent
[–]
For the time being, I still hope that Valhalla will eventually make it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Of course you normally try to avoid writing C++ like that.