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


Groups > comp.lang.forth > #49930

Re: CfV: Quotations

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: CfV: Quotations
Date Wed, 10 Aug 2016 11:55:14 -0700
Organization A noiseless patient Spider
Lines 30
Message-ID <87lh041mjx.fsf@jester.gateway.pace.com> (permalink)
References <2016Aug10.185227@mips.complang.tuwien.ac.at>
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx02.eternal-september.org; posting-host="afb9df5a762ad8974cbd7e506bdf03a5"; logging-data="28584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+x77ugk+8UKUO5ziLb1MDL"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Importance high
Cancel-Lock sha1:Ic9NCxw71yhy8leLEYidCgUA/q4= sha1:vtbiiHdqtix8JZ97BZ2e8jrMJkU=
Xref csiph.com comp.lang.forth:49930

Show key headers only | View raw


anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
> Ballot for programmers
> [ ] I have used (parts of) this proposal in my programs.
> [X] I would use (parts of) this proposal in my programs if the systems
>      I am interested in implemented it.
> [X] I would use (parts of) this proposal in my programs if this
>      proposal was in the Forth standard.
> [ ] I would not use (parts of) this proposal in my programs.

I might post some comments later.  Basically as currently proposed it's
more of a minor convenience feature than something that makes Forth
really feel more capable.  If they were there I'd use them but I
can do without them.

I'm sympathetic to the calls for quotations to be able to access (at
least for reading) the parent locals, like C++ lambdas (C++'s version of
quotations) can do.  I don't think comparisons with Lisp or Scheme are
that useful, but comparisons to C++ might be worthwhile.

The C++ server framework http://www.seastar-project.org/ relies on
lambdas, often nested several levels deep and sometimes using
assignments inside the lambda list, a new feature of C++14.

C++ lambdas like everything else in C++ have a lot of complicated,
interacting features, but all those features address actual use cases
and were deemed worthy of support.  They were introduced in C++11 and
enhanced slightly in C++14 and again in C++17 as new uses have appeared,
showing it can take multiple iterations to get something like this
right.  I use them regularly in my own C++ code, and someday I want to
try using Seastar (linked above), which relies on them heavily.

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

CfV: Quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-10 16:52 +0000
  Re: CfV: Quotations Matthias Trute <matthias.trute@gmail.com> - 2016-08-10 11:19 -0700
  Re: CfV: Quotations Paul Rubin <no.email@nospam.invalid> - 2016-08-10 11:55 -0700
    Re: CfV: Quotations Bernd Paysan <bernd.paysan@gmx.de> - 2016-08-14 20:52 +0000
      Re: CfV: Quotations hughaguilar96@gmail.com - 2016-08-14 14:42 -0700
        Re: CfV: Quotations Julian Fondren <julian.fondren@gmail.com> - 2016-08-14 16:43 -0700
      Re: CfV: Quotations Paul Rubin <no.email@nospam.invalid> - 2016-08-15 22:16 -0700
        Re: CfV: Quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-16 07:13 +0000
          Re: CfV: Quotations Paul Rubin <no.email@nospam.invalid> - 2016-08-18 15:30 -0700
            Re: CfV: Quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-19 15:32 +0000
          Re: CfV: Quotations Bernd Paysan <bernd.paysan@gmx.de> - 2016-08-20 20:46 +0000
            Re: CfV: Quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-21 09:32 +0000
              Re: CfV: Quotations hughaguilar96@gmail.com - 2016-08-21 11:06 -0700
                Re: CfV: Quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-24 17:02 +0000
              Re: CfV: Quotations Bernd Paysan <bernd.paysan@gmx.de> - 2016-08-21 22:52 +0000
                Re: CfV: Quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-22 13:54 +0000
                Re: CfV: Quotations Bernd Paysan <bernd.paysan@gmx.de> - 2016-08-22 23:19 +0000
                Re: CfV: Quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-24 15:54 +0000
                Re: CfV: Quotations Bernd Paysan <bernd@net2o.de> - 2016-08-28 00:43 +0000
                Re: CfV: Quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-28 09:53 +0000
                Re: CfV: Quotations Andrew Haley <andrew29@littlepinkcloud.invalid> - 2016-08-28 08:32 -0500
                Re: CfV: Quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-28 14:38 +0000
  Re: CfV: Quotations mhx@iae.nl - 2016-08-10 12:02 -0700
  Re: CfV: Quotations Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2016-08-11 17:25 +0100
  Re: CfV: Quotations Julian Fondren <julian.fondren@gmail.com> - 2016-08-11 12:48 -0700
  Re: CfV: Quotations minforth@arcor.de - 2016-08-16 03:31 -0700
  Re: CfV: Quotations Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2016-08-31 15:15 +0100
    Re: CfV: Quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-31 15:26 +0000
      Re: CfV: Quotations Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2016-09-02 22:33 +0100
        Re: CfV: Quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-09-03 06:47 +0000

csiph-web