From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by sourceware.org (Postfix) with ESMTPS id 454EE3857C69 for ; Sat, 31 Oct 2020 17:45:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 454EE3857C69 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=starynkevitch.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=basile@starynkevitch.net X-Originating-IP: 82.64.88.163 Received: from [192.168.1.10] (82-64-88-163.subs.proxad.net [82.64.88.163]) (Authenticated sender: basile@starynkevitch.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 0A608C0004; Sat, 31 Oct 2020 17:45:36 +0000 (UTC) Subject: Re: Spaghetti stack? To: David Malcolm , Qiantan Hong , "jit@gcc.gnu.org" References: <4C3839D5-645F-49FD-9A3B-27754F8F938A@mit.edu> From: Basile Starynkevitch Message-ID: Date: Sat, 31 Oct 2020 18:45:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_50, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: jit@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Jit mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2020 17:45:41 -0000 On 10/31/20 6:33 PM, David Malcolm via Jit wrote: > On Sat, 2020-10-31 at 05:58 +0000, Qiantan Hong wrote: >> Hi, >> >> I’m trying to find a way to implement/hack >> a runtime using spaghetti stack with libgccjit, > I have to confess that I wasn't familiar with the term "spaghetti > stack". IIRS, the Go language and execution model has it. This is how you could have millions of goroutines with only a few dozen threads (and call stacks) Regards. -- Basile STARYNKEVITCH == http://starynkevitch.net/Basile opinions are mine only - les opinions sont seulement miennes Bourg La Reine, France; (mobile phone: cf my web page / voir ma page web...)