Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Morten Reistad Newsgroups: comp.lang.java.programmer,comp.sys.raspberry-pi Subject: Re: Java ME or SE? Date: Tue, 11 Nov 2014 07:00:09 +0100 Organization: Me, Myself and I Lines: 23 Message-ID: <98l8jb-7o.ln1@sambook.reistad.name> References: <2dj16ahot0c6v296vlnllh7roj9avqebt5@4ax.com> <54614184$0$2838$e4fe514c@news2.news.xs4all.nl> Injection-Info: mx02.eternal-september.org; posting-host="d025586610e07d3d781c78d7c55c62e7"; logging-data="12326"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IF4N6RAhO30tYIJiXbP4317QfkMw8I0U=" Originator: mrr@sambook.reistad.name (Morten Reistad) X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Cancel-Lock: sha1:6E5yEZK2KMhw2WQ+FETfgUgjfKw= Xref: csiph.com comp.lang.java.programmer:30338 In article <54614184$0$2838$e4fe514c@news2.news.xs4all.nl>, Kees Theunissen wrote: >Martin Gregorie wrote: >> A modern C compiler can compile any C program that was written in >> the past, including those using the original K&R syntax. >> >> Same goes for Java compilers. >> >> IIRC the same applies to Fortran compilers. > >The biggest problem with ancient C or Fortran code is probably not the >compiling step but linking against recent -not backwards compatible- >libraries. A lot of old code will not build on modern systems without >modification. You can usually fix that with some switches. All the c code I wrote in the 1980s compile, link and rund Just Fine on modern Linux, BSD and even QNX/Posix systems. Even the Fortran code I entered for the 1130 on punched cards in the 1970s will run with some slight preambles in the code. -- mrr