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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 4f1905883f,40783f7f814400c9 X-Google-Attributes: gid4f1905883f,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!p23g2000vbl.googlegroups.com!not-for-mail From: Andrea Taverna Newsgroups: comp.lang.scheme,comp.lang.ada,comp.lang.functional,comp.lang.c++,comp.programming Subject: Re: Alternatives to C: ObjectPascal, Eiffel, Ada or Modula-3? Date: Wed, 29 Jul 2009 08:19:07 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0f8365c2-aa02-46ce-acf2-db142fffc994@p23g2000vbl.googlegroups.com> References: <2009a75f-63e7-485e-9d9f-955e456578ed@v37g2000prg.googlegroups.com> NNTP-Posting-Host: 151.47.215.41 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1248880748 18711 127.0.0.1 (29 Jul 2009 15:19:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 29 Jul 2009 15:19:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p23g2000vbl.googlegroups.com; posting-host=151.47.215.41; posting-account=q_H03goAAABDwevycEkYzGRVjq5lpBVA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.scheme:6160 comp.lang.ada:7405 comp.lang.functional:2517 comp.lang.c++:48529 comp.programming:12118 Date: 2009-07-29T08:19:07-07:00 List-Id: On 28 Lug, 22:57, fft1976 wrote: > P.S. I was going to write a 3-sentence reply, but got carried away. I > hope this wasn't a troll... > > My needs are similar to yours, and I've been looking for better > languages and learning them for years. > > In summary: everything sucks, when you look close enough. With respects to other posters, that's what I'm thinking, but I believe it's unavoidable, that's reality. > OCaml should probably be your #1 choice (about 2x slower than C > usually, single core). Has its own flaws (Google "Ocaml sucks") That's why it was discarded. It differs a lot from other algol's relatives and I don't have the time to check how much it (doesn't) suck (s). > Ada is also 2x slower, Are you sure? > but less suitable for your purposes (verbose, I have to say that translating my C graph library with Ada, leaving aside memory management, lead to shorter and readable code, something I've been dreaming of for the past 3 years > C++: learning curve and safety are the main problems. I'm way past the > former, and I use Visual Studio Debug mode (I develop cross-platform > code) when there is any sign of memory problems (not frequent), but > it's still not completely safe. I have my own reason not to use C++ ;) Andrea