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

Or even:

  strlen("ahaoho")
The C code more closely reflects what the Ruby is doing, but otherwise yes, you're correct. In C++ I could probably get it all done at compile time anyways.



The whole point of the code is to concatenate two C strings at runtime. That's the big problem.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: