Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #159189

Re: STC - A "Standard Template Containers" library for C, similar to STL

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c
Subject Re: STC - A "Standard Template Containers" library for C, similar to STL
Date 2021-03-05 10:19 +1300
Message-ID <iad16aF3nvbU1@mid.individual.net> (permalink)
References <f43320d6-4d1c-4c41-b065-9d3b1d1cd32an@googlegroups.com> <s1q8hv$m07$1@dont-email.me> <s1qf4d$3td$1@dont-email.me>

Show all headers | View raw


On 05/03/2021 00:09, David Brown wrote:
> On 04/03/2021 10:16, jacobnavia wrote:
>>
>> 1: No debugger. Since the macros aren't inline functions, very few
>> debuggers will be able to follow the macrologie to its humen readable
>> sources. A macro will have many other macros expanded, that will in turn
>> have another more lower level macros, etc. So, at the end you are
>> presented with a mess of statements where finding the bug is absolutely
>> impossible...
>>
> 
> It does look like scarily many macros.  Debugging of inline functions
> can be hard enough - macros are worse.  But some things can only be done
> with macros, when you don't know the types in advance.

Try compiling one of the bench marks with -E...

With cvec_benchmark.cpp (C++ bits removed), "using_cvec(x, size_t);" 
expands to a 4096 character line.

The code is still surprisingly quick!

-- 
Ian.

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

STC - A "Standard Template Containers" library for C, similar to STL tylo <tylovset@gmail.com> - 2021-03-03 07:16 -0800
  Re: STC - A "Standard Template Containers" library for C, similar to STL Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-03-03 21:36 +0000
    Re: STC - A "Standard Template Containers" library for C, similar to STL "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-03-03 20:49 -0800
  Re: STC - A "Standard Template Containers" library for C, similar to STL "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-03-03 13:50 -0800
    Re: STC - A "Standard Template Containers" library for C, similar to STL "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-03-03 13:56 -0800
  Re: STC - A "Standard Template Containers" library for C, similar to STL John Dill <jadill33@gmail.com> - 2021-03-03 14:17 -0800
    Re: STC - A "Standard Template Containers" library for C, similar to STL olcott <NoOne@NoWhere.com> - 2021-03-03 16:21 -0600
      Re: STC - A "Standard Template Containers" library for C, similar to STL Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-03-03 22:45 +0000
        Re: STC - A "Standard Template Containers" library for C, similar to STL olcott <NoOne@NoWhere.com> - 2021-03-03 17:21 -0600
      Re: STC - A "Standard Template Containers" library for C, similar to STL John Dill <jadill33@gmail.com> - 2021-03-03 15:05 -0800
        Re: STC - A "Standard Template Containers" library for C, similar to STL olcott <NoOne@NoWhere.com> - 2021-03-03 17:28 -0600
  Re: STC - A "Standard Template Containers" library for C, similar to STL "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-03-03 20:44 -0800
    Re: STC - A "Standard Template Containers" library for C, similar to STL "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-03-03 20:45 -0800
  Re: STC - A "Standard Template Containers" library for C, similar to STL jacobnavia <jacob@jacob.remcomp.fr> - 2021-03-04 10:16 +0100
    Re: STC - A "Standard Template Containers" library for C, similar to STL David Brown <david.brown@hesbynett.no> - 2021-03-04 12:09 +0100
      Re: STC - A "Standard Template Containers" library for C, similar to STL Bart <bc@freeuk.com> - 2021-03-04 12:00 +0000
        Re: STC - A "Standard Template Containers" library for C, similar to STL David Brown <david.brown@hesbynett.no> - 2021-03-04 14:15 +0100
          Re: STC - A "Standard Template Containers" library for C, similar to STL tylo <tylovset@gmail.com> - 2021-03-07 14:51 -0800
      Re: STC - A "Standard Template Containers" library for C, similar to STL Anton Shepelev <anton.txt@g{oogle}mail.com> - 2021-03-04 19:19 +0300
        Re: STC - A "Standard Template Containers" library for C, similar to STL Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-03-04 11:41 -0800
      Re: STC - A "Standard Template Containers" library for C, similar to STL Ian Collins <ian-news@hotmail.com> - 2021-03-05 10:19 +1300
      Re: STC - A "Standard Template Containers" library for C, similar to STL tylo <tylovset@gmail.com> - 2021-03-08 00:23 -0800
        Re: STC - A "Standard Template Containers" library for C, similar to STL David Brown <david.brown@hesbynett.no> - 2021-03-08 11:46 +0100
          Re: STC - A "Standard Template Containers" library for C, similar to STL tylo <tylovset@gmail.com> - 2021-03-08 05:36 -0800
            Re: STC - A "Standard Template Containers" library for C, similar to STL David Brown <david.brown@hesbynett.no> - 2021-03-08 15:19 +0100
              Re: STC - A "Standard Template Containers" library for C, similar to STL tylo <tylovset@gmail.com> - 2021-03-08 08:23 -0800
              Re: STC - A "Standard Template Containers" library for C, similar to STL Manfred <noname@add.invalid> - 2021-03-08 18:53 +0100
                Re: STC - A "Standard Template Containers" library for C, similar to STL David Brown <david.brown@hesbynett.no> - 2021-03-08 20:01 +0100
                Re: STC - A "Standard Template Containers" library for C, similar to STL Manfred <noname@add.invalid> - 2021-03-09 17:16 +0100
                Re: STC - A "Standard Template Containers" library for C, similar to STL David Brown <david.brown@hesbynett.no> - 2021-03-09 17:55 +0100
                Re: STC - A "Standard Template Containers" library for C, similar to STL Kaz Kylheku <563-365-8930@kylheku.com> - 2021-03-09 17:19 +0000
                Re: STC - A "Standard Template Containers" library for C, similar to STL David Brown <david.brown@hesbynett.no> - 2021-03-09 19:58 +0100
                Re: STC - A "Standard Template Containers" library for C, similar to STL Manfred <noname@add.invalid> - 2021-03-09 18:42 +0100
                Re: STC - A "Standard Template Containers" library for C, similar to STL "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-03-08 17:41 -0800
                Re: STC - A "Standard Template Containers" library for C, similar to STL "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-03-08 17:45 -0800
    Re: STC - A "Standard Template Containers" library for C, similar to STL Eli the Bearded <*@eli.users.panix.com> - 2021-03-04 18:46 +0000
    Re: STC - A "Standard Template Containers" library for C, similar to STL "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-03-04 23:35 -0800
  Re: STC - A "Standard Template Containers" library for C, similar to STL "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-03-08 17:05 -0800
    Re: STC - A "Standard Template Containers" library for C, similar to STL "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-03-08 17:18 -0800
      Re: STC - A "Standard Template Containers" library for C, similar to STL tylo <tylovset@gmail.com> - 2021-03-16 14:49 -0700
    Re: STC - A "Standard Template Containers" library for C, similar to STL Siri Cruise <chine.bleu@yahoo.com> - 2021-03-09 21:25 -0800

csiph-web