News for hackers. Stuff that matters.
Re:Ask HN: Should I get mentored by this guy? by icebraining on Monday October 07, 2013 @05:24PM (#6511377)
I disagree with him on the first; character-delimited strings are a pain. If you're going to hand parse, you're better off with a <length>:<bytes> encoding like Bencode uses. You don't have to escape the string, you can copy a whole block instead of scanning character by character and it plays well with UTF-8.

There are no comments on this comment yet.