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


Groups > comp.lang.c > #123587

Re: Lambdas in C, constructor, destructor, new and delete

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c
Subject Re: Lambdas in C, constructor, destructor, new and delete
Date 2017-11-29 10:39 +1300
Message-ID <f863c4FgmrlU5@mid.individual.net> (permalink)
References (1 earlier) <BqWRB.69420$C51.9001@fx26.am4> <ov9fat$hm6$1@dont-email.me> <695c613b-dc2a-4860-a05c-6f874219b158@googlegroups.com> <f7ub5sF1omrU17@mid.individual.net> <9fe8e61d-97c4-46ee-affd-6c1e42071e1a@googlegroups.com>

Show all headers | View raw


On 11/29/2017 12:11 AM, Thiago Adams wrote:
> On Saturday, November 25, 2017 at 9:03:40 PM UTC-2, Ian Collins wrote:
>>
>> The problem you will face is the same one others have hit:  The more
>> apparently simple features you want to add, the more extras you have to
>> add the language to fully support them.  If you want to retain backwards
>> compatibility with C, or even exist in the same space as C, your hands
>> are further tied.
> 
> This is the problem but at the same time this is what makes the
> problem interesting. It's a puzzle game.
> Something is new in this game. People already have experience with
> some features of C++ and some new ideas are emerging.
> The principle is to keep it simple and make the parts fit together
> in a 'atom'  basis.
> 
> I don't have experience with assembler and this have influence
> in the way I develop the C' compiler. The C'  generates readable C code.
> However this was not the only reason. I think this kind of source to source
> is useful in the process of experimenting features using traditional
> compilers. A true compiler is nice together with tools like IDE support.
> (At least from my practical point of viewer)

Have you read the "The Birth of C with Classes" section in Stroustrup's 
A History of C++ (http://www.stroustrup.com/hopl2.pdf)?  If not do so.

-- 
Ian.

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


Thread

Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-24 05:30 -0800
  Re: Lambdas in C, constructor, destructor, new and delete bartc <bc@freeuk.com> - 2017-11-24 14:56 +0000
    Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-24 07:58 -0800
      Re: Lambdas in C, constructor, destructor, new and delete Spiros Bousbouras <spibou@gmail.com> - 2017-11-24 16:33 +0000
        Re: Lambdas in C, constructor, destructor, new and delete Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-11-24 08:43 -0800
          Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-24 08:48 -0800
        Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-24 09:05 -0800
    Re: Lambdas in C, constructor, destructor, new and delete "Pascal J. Bourguignon" <pjb@informatimago.com> - 2017-11-24 20:18 +0100
      Re: Lambdas in C, constructor, destructor, new and delete bartc <bc@freeuk.com> - 2017-11-24 20:47 +0000
        Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-25 11:17 -0800
    Re: Lambdas in C, constructor, destructor, new and delete David Brown <david.brown@hesbynett.no> - 2017-11-24 16:54 +0100
      Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-25 13:18 -0800
        Re: Lambdas in C, constructor, destructor, new and delete Ian Collins <ian-news@hotmail.com> - 2017-11-26 12:03 +1300
          Re: Lambdas in C, constructor, destructor, new and delete bartc <bc@freeuk.com> - 2017-11-26 00:16 +0000
          Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-28 03:11 -0800
            Re: Lambdas in C, constructor, destructor, new and delete Ian Collins <ian-news@hotmail.com> - 2017-11-29 10:39 +1300
              Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-29 02:52 -0800
              Re: Lambdas in C, constructor, destructor, new and delete bartc <bc@freeuk.com> - 2017-11-29 11:48 +0000
                Re: Lambdas in C, constructor, destructor, new and delete Thiago Adams <thiago.adams@gmail.com> - 2017-11-29 08:42 -0800

csiph-web