Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Re: metamap being zero cost

I thought there were no zero cost abstractions in C++?

https://youtu.be/rHIkrotSwcc

Still, it isn’t RoR or anything JS so it has that going for it.



Yes zero cost is subjective. It has a cost at least at compile time. But you can see metamap is a like loop unrolling for objects (if you think loop unrolling is zero cost then metamap too).




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

Search: