unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: tomas@tuxteam.de
To: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: recursion to iteration macro
Date: Tue, 26 Mar 2024 06:40:01 +0100	[thread overview]
Message-ID: <ZgJfscnY0Miia3tW@tuxteam.de> (raw)
In-Reply-To: <E1rottZ-0005Sl-Hi@fencepost.gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

On Mon, Mar 25, 2024 at 07:38:25PM -0400, Richard Stallman wrote:
> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> 
> Tail -recursion without deepening the stack is a convenience,
> and it may seem conceptually trivial, but in implementation
> it will ba a substantial redesign.  I think it would use up
> a lot of developers time, and we are better off spending that
> time on things that will helkp Emacs _users_ rather tan
> only programmers.

I wasn't proposing to change Emacs Lisp in this direction.

I do agree with you that there are far more interesting
targets for Emacs lisp than full tail recursion. Every
language has a place, and this is not only the language
architecture itself, but the uses it is being put to and,
most importantly, the group of people who use it.

My intention was rather to inform the discussion. The OP
was asking about full tail recursion, and my answer was
that, yes, it has been done, and pointers to learn how
it works and what properties it has.

Cheers
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2024-03-26  5:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-22 22:56 recursion to iteration macro Emanuel Berg
2024-03-23  7:12 ` Philip Kaludercic
2024-03-23 10:17   ` Emanuel Berg
2024-03-23 10:30     ` tomas
2024-03-23 10:40       ` Emanuel Berg
2024-03-23 13:25         ` tomas
2024-03-25 23:38           ` Richard Stallman
2024-03-26  5:40             ` tomas [this message]
2024-03-28 22:05               ` Richard Stallman
2024-03-29  6:36                 ` tomas
2024-03-30 22:37                   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZgJfscnY0Miia3tW@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).