From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 5b1e799cdb,3ef3e78eacf6f938 X-Google-Attributes: gid5b1e799cdb,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!news.enother.com!border2.nntp.dca.giganews.com!nntp.giganews.com!backlog2.nntp.dca.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Wed, 29 Jul 2009 15:01:02 -0500 From: Jon Harrop Subject: Re: Alternatives to C: ObjectPascal, Eiffel, Ada or Modula-3? Newsgroups: comp.lang.scheme,comp.lang.ada,comp.lang.c++,comp.programming Followup-To: comp.programming Date: Wed, 29 Jul 2009 22:10:55 +0100 References: <2009a75f-63e7-485e-9d9f-955e456578ed@v37g2000prg.googlegroups.com> Organization: Flying Frog Consultancy Ltd. User-Agent: KNode/0.10.9 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: <56adnWF8Q-fjN-3XnZ2dnUVZ8vmdnZ2d@brightview.co.uk> X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-n8HvM2/FHfqqHtmp1VTS2dDLZUX09m+lIpW14JgKHGrqK2CLPedPbNy85x7ZWqGemXARMmF2F7ntAws!upEWSpwaEcFTwwY/0jCSird8wTNdwiz3vZGy2P218Nj//2jlvRsA0W8LdIgke3bp5ZzCa3SKePYP!fkYFv9CmqN3/gKNSY+zJs2Fa 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.39 Xref: g2news2.google.com comp.lang.scheme:6172 comp.lang.ada:7425 comp.lang.c++:48561 comp.programming:12126 Date: 2009-07-29T22:10:55+01:00 List-Id: learn2code@yourdesk.com wrote: > I would hate to see the "major production-code system" that relied on GC. > I can tell you this with certainty, no bank, insurance company, airline, > or any other online realtime operation uses such nonsense. Of course they > have some bits here and there written in C++ but the code that keeps them > online and serving customers is written in COBOL, assembler or Ada and > doesn't need or have GC. That's production. That has not been true for decades. Here is a trivial counter example of Jane St. Capital using OCaml in the finance industry: http://ocaml.janestreet.com/?q=node/61 My company specializes in the use of OCaml and F# for high performance technical computing including scientific computing and finance. These garbage collected languages are common there precisely because they make it easy to implement complicated algorithms and data structures very efficiently. For example, I recently implemented QR decomposition via Householder reductions in F# that was generic over the element type. I wrote it for fun but it turned out to be 3x faster than the Intel MKL and 35x shorter than the reference implementation in LAPACK. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?u