Hacker News new | past | comments | ask | show | jobs | submit login

There is a huge amount of gratuitous reference count updates and double ptr indirection (see for example their string_slice). Those add up quickly.

The rest is a lot of string manipulation. If you are not taking advantage of being able to layout your objects carefully and avoid memory avoiding allocations, I wouldn't expect C++ to have any particular advantage over Go or Java in in this particular scenario.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: