• Re: MISRA C

    From Tristan Wibberley@tristan.wibberley+netnews2@alumni.manchester.ac.uk to comp.lang.c on Thu Nov 12 16:18:55 2026
    From Newsgroup: comp.lang.c

    On 25/09/2026 11:01, Alan Mackenzie wrote:
    [ Followup-To: set ]

    In comp.theory Dude <punditster@gmail.com> wrote:

    [ .... ]

    You can use restricted programming languages or subsets (such as MISRA
    C, SPARK, or Rocq) that are not fully Turing-complete.

    MISRA C is turing-complete, just as C is. I don't know about the
    others, but it is likely they are turing-complete too.

    MISRA C is a subset of C which supposedly reduces error possibilities,
    at the expense of bloat.

    Eh, no new bloat, it's little more than a coding standard. It's a very
    sensible one too.
    --
    Tristan Wibberley

    The message body is Copyright (C) 2026 Tristan Wibberley except
    citations and quotations noted. All Rights Reserved except that you may,
    of course, cite it academically giving credit to me, distribute it
    verbatim as part of a usenet system or its archives, and use it to
    promote my greatness and general superiority without misrepresentation
    of my opinions other than my opinion of my greatness and general
    superiority which you _may_ misrepresent. You definitely MAY NOT train
    any production AI system with it but you may train experimental AI that
    will only be used for evaluation of the AI methods it implements.
    --- Synchronet 3.22a-Linux NewsLink 1.2