Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #2739

Re: Are transpiling techniques different than compiling techniques?

Path csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end
From gah4 <gah4@u.washington.edu>
Newsgroups comp.compilers
Subject Re: Are transpiling techniques different than compiling techniques?
Date Sun, 17 Oct 2021 15:01:02 -0700 (PDT)
Organization Compilers Central
Lines 23
Sender news@iecc.com
Approved comp.compilers@iecc.com
Message-ID <21-10-031@comp.compilers> (permalink)
References <21-10-017@comp.compilers> <21-10-018@comp.compilers> <21-10-025@comp.compilers> <21-10-028@comp.compilers> <21-10-029@comp.compilers>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Injection-Info gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="80162"; mail-complaints-to="abuse@iecc.com"
Keywords history, practice, comment
Posted-Date 17 Oct 2021 18:10:54 EDT
X-submission-address compilers@iecc.com
X-moderator-address compilers-request@iecc.com
X-FAQ-and-archives http://compilers.iecc.com
In-Reply-To <21-10-029@comp.compilers>
Xref csiph.com comp.compilers:2739

Show key headers only | View raw


On Sunday, October 17, 2021 at 11:27:23 AM UTC-7, Hans-Peter Diettrich wrote:

(snip on compilers generating assembly source code.)

> I meant the final executable result is (can be) generated from source
> code by a single C compiler invocation. How this result is obtained in
> detail, in how many passes, by how many related tools, is not so obvious
> and of less interest to the user.

Unix tradition, and still supported by gcc, is to stop after generating the
assembly source file, with the -S option.

Some compilers allow mixing assembly code in with the source language.
Seeing the combined result makes it easier to debug.  (Or edit the
generated file before sending it to the assembler.)

Many compilers that don't write an assemblable output file, will generate
a pseudo-assembly listing.  Enough to figure out what the generated code
does, but usually nowhere close to input to an assembler.

I mostly learned OS/360 assembly language reading the generated
code listings from the Fortran compilers.
[The code from Fortran G was putrid, but from Fortran H and its successors pretty impressive. -John]

Back to comp.compilers | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Are transpiling techniques different than compiling techniques? Roger L Costello <costello@mitre.org> - 2021-10-11 13:26 +0000
  Re: Are transpiling techniques different than compiling techniques? Kartik Agaram <ak@akkartik.com> - 2021-10-11 11:23 -0700
    Re: Are transpiling techniques different than compiling techniques? Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2021-10-12 20:05 +0200
    Re: Are transpiling techniques different than compiling techniques? Kaz Kylheku <480-992-1380@kylheku.com> - 2021-10-16 17:16 +0000
      Re: Are transpiling techniques different than compiling techniques? Thomas Koenig <tkoenig@netcologne.de> - 2021-10-16 20:22 +0000
      Re: Are transpiling techniques different than compiling techniques? Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2021-10-16 23:55 +0200
        Re: Are transpiling techniques different than compiling techniques? Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2021-10-17 07:02 +0200
          Re: Are transpiling techniques different than compiling techniques? gah4 <gah4@u.washington.edu> - 2021-10-17 15:01 -0700
  Re: Are transpiling techniques different than compiling techniques? "Detlef Meyer-Eltz" <Meyer-Eltz@t-online.de> - 2021-10-12 11:34 +0200
    Re: Are transpiling techniques different than compiling techniques? jan van katwijk <j.vankatwijk@gmail.com> - 2021-10-12 17:59 +0200
    Re: Are transpiling techniques different than compiling techniques? Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2021-10-12 20:19 +0200
    Re: Are transpiling techniques different than compiling techniques? Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2021-10-14 00:33 +0300
    Re: Are transpiling techniques different than compiling techniques? Kaz Kylheku <480-992-1380@kylheku.com> - 2021-10-16 17:26 +0000
      Re: Are transpiling techniques different than compiling techniques? gah4 <gah4@u.washington.edu> - 2021-10-17 08:37 -0700

csiph-web