Thank you @Max_Desiatov I appreciate your response and suggestions.
I will try to implement that special string type with UTF-16 under the hood.
I'm currently trying to build a minimal version of the JavaScriptKit
and it seems I can't make it fully working without strings, StaticString
is definitely not enough here.