The heartbeat is on

Site News

Dear %username%,

We are live and ready to win the internet! If you are new to Kukuruku, then stay tuned as we add updates and improve the world of Ku.

In case you are an old kukuruker, then we say «Welcome to the very first post. You found it! But, shhhh, don’t tell anyone».

Comments

874

Ropes — Fast Strings

Most of us work with strings one way or another. There’s no way to avoid them — when writing code, you’re doomed to concatinate strings every day, split them into parts and access certain characters by index. We are used to the fact that strings are fixed-length arrays of characters, which leads to certain limitations when working with them. For instance, we cannot quickly concatenate two strings. To do this, we will at first need to allocate the required amount of memory, and then copy there the data from the concatenated strings.