C++ Logo

sg16

Advanced search

Re: C++ Developer Survey questions for 2023

From: Thiago Macieira <thiago_at_[hidden]>
Date: Thu, 02 Jun 2022 13:23:38 -0700
On Thursday, 2 June 2022 10:10:15 PDT Zach Laine via SG16 wrote:
> 1) How often do you use multiple text encodings in the same program?
> 2) How often do you use multiple text encodings in the same program,
> where at least one of them is not ASCII, and non-Unicode?

The answer to those questions will be 100% of the time for a cross-platform
program that does UTF-16 or UTF-32. They'll need to deal with 8-bit encoding
(so "multiple") and on Windows that 8-bit one will be neither US-ASCII nor
Unicode.

Are you sure this is what you meant? If not, can you firm up the questions?

> 4) How often do you need Unicode collation-aware (non-regex) search in
> your code?

How about non-search, like sorting? Or did you mean to include that in
"search" (since a sorting algorithm is usually implemented by searching the
right position)?

> > Do you use characters not included in the C++ basic character set in
> > identifiers in your source code?

I suggest giving a examples of non-basic characters, or alternatively listing
or linking to the list of the basic ones.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering

Received on 2022-06-02 20:23:40