Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c++ Subject: Re: Universal Compiler (neos) - Turing Completeness Date: Wed, 12 Feb 2025 15:05:25 -0800 Organization: None to speak of Lines: 50 Message-ID: <87tt8yn4qy.fsf@nosuchdomain.example.com> References: <877c5wnixf.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Thu, 13 Feb 2025 00:05:26 +0100 (CET) Injection-Info: dont-email.me; posting-host="a242221703c60c2edaebd28191060ef6"; logging-data="2677688"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zO+hwXVZ6DZLJZHn7+BaJ" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:uAuFrVuZ/OS1JnLAKDWQzrG9MY0= sha1:OzM5whsjMg4jZlJOdfRQiHqXqAQ= Xref: csiph.com comp.lang.c++:121600 Mr Flibble writes: > On Tue, 11 Feb 2025 15:46:52 -0800, Keith Thompson > wrote: >>Mr Flibble writes: >>> I hope to achieve neos Turing Completeness in March during a two week >>> holiday. >>> >>> Also, did you know that with neos you can mix code from different >>> programming languages in the same source code file! >> >>That's a remarkable assertion. >> >>I presume you're asserting that you can do this *and* the code will >>execute correctly. > > Of course. > >> >>Are you saying that that's possible in your current implementation, or >>that it's something you intend to implement in the future? > > It will be possible in 1.0. > >> >>Does switching from one language to another require some kind of >>explicit marker, or does neos figure it out? With what granularity? > > In 1.0 a marker will be used. > >> >>If the latter, how does it know whether >> >> size_t s = sizeof 'a'; >> >>is C (typically setting s to 4, sizeof (int)) or C++ (setting s to 1)? I just replied to your followup elsewhere in this thread, where you indicated that no markers would be needed. Are you saying that the marker will be unnecessary in later versions? (If not, why not just say "A marker will be used" without reference to a release number.) My questions stand for later releases. Again, I suggest that speculation from others is not helpful. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */