Path: csiph.com!weretis.net!feeder4.news.weretis.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!buffer2.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Wed, 20 Jul 2016 14:37:22 -0500 From: Gareth Owen Newsgroups: comp.lang.c Subject: Re: Advantages of C References: <87eg6rhrq6.fsf@bsb.me.uk> <87mvlehbm0.fsf@bsb.me.uk> <8737n49mcg.fsf@gmail.com> <3a54b2a3-7d87-4f0b-83e7-ca217cafbe1a@googlegroups.com> Date: Wed, 20 Jul 2016 20:37:22 +0100 Message-ID: <87oa5s2j9p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:gfq8tg6Ne2kNxcWZXv30MD2X5pI= MIME-Version: 1.0 Content-Type: text/plain Lines: 19 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-8q1XUe6S5Os7ehNaBfJXVug+CpGSrH8Ftuzry++sMadR3csTQBtLGPC+CAWLIGGh4JxXMoYA/dXwTmh!Tqt4Mnr88P34hKMCNXUeMDvfwnXzXZ+QcRKNLRZwuUKLNlvGYEIvvSl3nFjYZ0sPyiE= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1898 Xref: csiph.com comp.lang.c:90686 supercat@casperkitty.com writes: > On Wednesday, July 20, 2016 at 1:49:11 PM UTC-5, gwowen wrote: >> ... says the man who implemented an entire container library using void* >> pointers and essentially no type checking. > > On many platforms, all data pointers have the same representation; > nice implementations for such platforms allow a void** to be used to > manipulate any of them without regard for the target data type, but > reliable support for such things seems to have become unfashionable. ??? > LISP used to apply type checking to ensure that use of an improper type > wouldn't allow execution to continue with erroneous behavior. Modern C > compilers use their type systems to find "optimizations" that will cause > erroneous behavior. ???