Hacker GitHub

← All repos

websnarf/bstrlib

View on GitHub ↗ ★ 570 C

The Better String Library

6 mentions on Hacker News by 6 people: 0 stories, 6 comments · first 2016-01-05 · latest 2024-07-16

Mentions per year 6 mentions · busiest year 2016 (2)
20082026
  1. …problematic and computationally inefficient in many (if not most) use cases. The solution is here: https://github.com/websnarf/bstrlib
    comment by jqpabc123 · 2024-07-16 · in The Sad State of C Strings (2021)
  2. Wouldn't https://github.com/websnarf/bstrlib be a better URL?
    comment by gnabgib · 2022-12-21 · in Better String Library (2015)
  3. …that expects NUL-terminated strings. And there are libraries that do that, like https://github.com/websnarf/bstrlib (Doc and rationale: https://raw.githubusercontent.com/websnarf/bstrlib/master/bs... ). I've never seen them used in the wi
    comment by Aissen · 2022-12-20 · in Implementing ‘strlen’ using SVE
  4. …to negative indexes). A "more conventional" string library [1] might be safer. [1] for example: https://github.com/websnarf/bstrlib/blob/master/bstrlib.txt
  5. Here's a timely example of the behavior I'm referring to: https://github.com/websnarf/bstrlib/issues/8 I'd be happy to concede that this is not good programming practice, but I do not accept that the compiler is doing us a favor by…
    comment by nkurz · 2016-01-05 · in A perspective on friendly C
  6. …had to check what happens using a real compiler using realistic compiler options (gcc-4.9.2 -O2): https://github.com/websnarf/bstrlib/issues/8