Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.030 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'dynamically': 0.07; 'sized': 0.07; 'semantics': 0.09; 'stack': 0.13; 'argument': 0.15; "wouldn't": 0.16; 'to:name:python-list@python.org': 0.20; 'header :In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'subject:/': 0.30; 'received:google.com': 0.35; 'acceptable': 0.35; 'possible': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'to:addr:python.org': 0.40; 'some': 0.40; 'care': 0.60; 'side': 0.62; 'grow': 0.75 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Z8V4AwEpzpCPsie9Zf74lAOGWJvqKWQYFnMlxD9IfqU=; b=IBm9Dpzo3K2qbhyVplycwwnULESVLArDAIGzmuCO2hbmxKLRSMghJ8OsMYWZHoAdLC wfRkjV/L0/ZlhB2j4HZPkgHEe4Jl2cqEGaM093oExud0SYmiDtjCCbm+60HaxTF8ScEg 1koTl5nv3FN96GGVqx+twy8lRkzCkbc9x7bAxPDJvQFAXp0bNDZBwr8wilU80hbbZkAG gQt5CgtJ7YWoOuOfbS48q7etIGj0zkQf2fc7UCVVtKDrpD2nMZaditishquiOukwjk7R dMVRgvISHYJNxK9IkEmz1bCIAOlv/dAjbtwrWF/Y5I7sQlfsp/DROAeS+tXwvZWiuR0m 6/6w== MIME-Version: 1.0 X-Received: by 10.50.28.78 with SMTP id z14mr4794301igg.61.1437065422979; Thu, 16 Jul 2015 09:50:22 -0700 (PDT) In-Reply-To: References: <55A3C366.6060602@rece.vub.ac.be> <87fv4r1fre.fsf@jester.gateway.sonic.net> <87bnff1eks.fsf@jester.gateway.sonic.net> <87d1zunctp.fsf@elektro.pacujo.net> <87k2u2eu67.fsf@elektro.pacujo.net> <55A51662.4090007@rece.vub.ac.be> <55A75DE0.1070101@rece.vub.ac.be> <55A7B80B.6090905@rece.vub.ac.be> <55A7C094.7060604@rece.vub.ac.be> Date: Thu, 16 Jul 2015 19:50:22 +0300 Subject: Re: Possibly Pythonic Tail Call Optimization (TCO/TRE) From: Joonas Liik To: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1437065425 news.xs4all.nl 2846 [2001:888:2000:d::a6]:42948 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93936 Wouldn't it be possible to have like a dynamically sized stack so that you can grow it endlessly with some acceptable overhead.. That would pretty much take care of the stack-overflow argument without many painful side effects on the semantics at least..