3 ms·
My approach is to use OS-specific C libraries like Apple’s CoreFoundation wherever possible. CFString is greatly superior to bad old C strings. If you need cro
by pavlov 4y ago
My approach is to use OS-specific C libraries like Apple’s CoreFoundation wherever possible. CFString is greatly superior to bad old C strings.
If you need cross-platform, depending on your application it may be reasonable to create wrappers for your string usage with platform-specific implementations that use the best option available on each OS and fall back to POSIX.