For the C bindings generator:
The current world_string_dup function only accepts null-terminated C strings. Would be great if there would also be a way to pass in a length. for strings that use explicit lengths instead of null termination.
This could be achieved either with an optional len parameter, or by adding a new function.