Newsgroups: comp.arch Path: csiph.com!au2pb.net!feeder.erje.net!2.us.feeder.erje.net!enother.net!enother.net!news.glorb.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!kithrup.com!mrs From: mrs@kithrup.com (Mike Stump) Subject: Re: What's Worked in Computer Science Message-ID: Date: Wed, 9 Dec 2015 22:17:32 GMT References: <2a746fee-1e5f-42d9-899e-f4535560f458@googlegroups.com> <2015Dec8.162041@mips.complang.tuwien.ac.at> Organization: Kithrup Enterprises, Ld. X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Lines: 21 X-Received-Bytes: 1667 X-Received-Body-CRC: 3969470679 Xref: csiph.com comp.arch:31698 In article <2015Dec8.162041@mips.complang.tuwien.ac.at>, Anton Ertl wrote: >Ivan Godard writes: >>The IR of gcc, llvm, >>and other modern compilers have exactly one "CALL" instruction for all >>languages they accept; > >Which limits the kind of languages they can process: those that fit >the standard calling convention of the platform. I'd disagre. One is free to add anything they want to gcc or llvm, and if it can be described, it can be added, if people want. It is silly to think that either gcc or llvm is static, unchanging. Instead, impagine that in 200 years, it will be what people want it to be then. Support for C might be removed in another 50 years, relegated to a compatibility library that allows for dusty deck code to be compiled, the foundation might well be fairly forgein to what people understand as the foundation of gcc today. Standard conventions are at the heart of cross language compatibility. I don't see that as going away, just expanding to cover more things over time.