My new distro "Glacies" - GNU/Linux

Users browsing this thread: 1 Guest(s)
eadwardus
Members
(13-01-2020, 08:42 PM)josuah Wrote: I like the hierarchical naming.
It was chosen to avoid name collision (one of the standard libc "sins") and to organize related sections.

(13-01-2020, 09:12 PM)josuah Wrote: - keeping track of the usable size (->a) of the buffer adds very little advantage over using realloc every time a string is added
I disagree, because calling realloc with just the required space is not optimal, and it will shrink the buffer unnecessarily if reused (while not being possible to shrink when necessary). That said, if you intend to use only short strings, those problems are pretty much irrelevant.

(13-01-2020, 09:12 PM)josuah Wrote: Programming with DJB's libraries makes you an alien. A minimalist, efficient, safe and correct alien.
True. Usually all his code have a good design, and most of the people that followed his ways are writing code with similar quality (see: http://thedjbway.b0llix.net/friends.html)


Messages In This Thread
My new distro "Glacies" - by eadwardus - 08-12-2019, 03:55 PM
RE: My new distro "Glacies" - by bouncepaw - 09-12-2019, 01:54 PM
RE: My new distro "Glacies" - by z3bra - 09-12-2019, 08:08 PM
RE: My new distro "Glacies" - by eadwardus - 09-12-2019, 11:59 PM
RE: My new distro "Glacies" - by z3bra - 10-12-2019, 04:25 AM
RE: My new distro "Glacies" - by eadwardus - 10-12-2019, 11:52 AM
RE: My new distro "Glacies" - by jkl - 10-12-2019, 07:40 PM
RE: My new distro "Glacies" - by josuah - 10-12-2019, 08:48 PM
RE: My new distro "Glacies" - by josuah - 10-12-2019, 08:50 PM
RE: My new distro "Glacies" - by josuah - 10-12-2019, 08:52 PM
RE: My new distro "Glacies" - by eadwardus - 11-12-2019, 03:28 AM
RE: My new distro "Glacies" - by eadwardus - 31-12-2019, 11:52 PM
RE: My new distro "Glacies" - by josuah - 13-01-2020, 08:42 PM
RE: My new distro "Glacies" - by josuah - 13-01-2020, 09:12 PM
RE: My new distro "Glacies" - by eadwardus - 15-01-2020, 04:31 PM
RE: My new distro "Glacies" - by josuah - 18-01-2020, 12:12 PM
RE: My new distro "Glacies" - by josuah - 18-01-2020, 12:16 PM
RE: My new distro "Glacies" - by eadwardus - 19-01-2020, 02:20 PM
RE: My new distro "Glacies" - by josuah - 25-01-2020, 02:01 PM