About 145,000 results
Open links in new tab
  1. What are some good std::string alternatives, when concerned ... - Reddit

    I am looking for an alternative to std::string, in the context of a logger library that I am making. My main concerns are with the memory and time efficiencies of std::string , as a loger should be relatively unnoticed in performance overhead (imo).

  2. Are there any modern alternatives of std::strchr () for C++?

    Sep 20, 2019 · With c-strings declared like arrays use C string functions. C string functions are optimized and sometimes are performed by using just a pair of machine instructions. With other containers use their member functions or standard algorithms.

  3. should I just use C++ STL alternatives? : r/cpp - Reddit

    Jul 20, 2022 · Abseil, Boost, Mimalloc, or Folly etc. can alleviate some of these problems, but winding up with three different optional or string containers makes programming hard in other ways. A real solution to this would require starting over …

  4. Comparison of programming languages (string functions)

    Other languages may have string functions with similar or exactly the same syntax or parameters or outcomes. For example, in many languages the length function is usually represented as len (string). The below list of common functions aims to help limit this confusion.

  5. libstring: A Lightweight C String Library - GitHub

    libstring is a lightweight C library designed to simplify common string operations while ensuring memory safety and preventing common pitfalls. It aims to provide an intuitive and safe interface for string manipulation, making it easier to work with strings in C programs.

  6. Ustring - A Modern Alternative to std::string - Class Central

    Explore Ustring, a modern C++11 alternative to std::string, addressing limitations and offering enhanced Unicode support and flexibility for efficient string handling.

  7. String type alternative in C++ - Stack Overflow

    Mar 31, 2021 · Replace std::string being passed to the function with char*. Free the char* when done using it. These two items seem very costly to me to trust other callers to do.

  8. Alternative to String.. - Programming - Arduino Forum

    Jul 25, 2017 · Computers with loads of memory and programmers that can't handle (or be bothered to learn) C strings. An unconditional jump has more relevance to small environments (like Arduino) than String objects.

  9. Standard C++ String Alternative? - General and Gameplay Programming

    Dec 11, 2006 · My other problem with strings is also UNICODE. For example, I would like a smart string, that figures out the compiler option just like TCHAR and is BYTE when multibyte and SHORT when UNICODE without having to interfear. Does boost have a string class for me?

  10. The best alternative for String flyweight implementation in Java

    May 30, 2015 · If you can, rather use StringBuilder or its synchronized brother StringBuffer instead of String for "intensive String processing". It offers useful methods for exactly those purposes, such as append() , insert() , delete() , etc.