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


Groups > comp.lang.forth > #30280

Re: Can gforth make excutibles for linux that don't need gforth interpeter?

From "Rod Pemberton" <dont_use_email@xnothavet.cqm>
Newsgroups comp.lang.forth
Subject Re: Can gforth make excutibles for linux that don't need gforth interpeter?
Date 2014-05-10 21:15 -0400
Organization Aioe.org NNTP Server
Message-ID <op.xfn8gvyg6zenlw@localhost> (permalink)
References <3b90f0c4-024f-4e70-8644-a468de36be91@googlegroups.com>

Show all headers | View raw


On Sat, 10 May 2014 17:47:53 -0400, the_gavino_himself  
<visphatesjava@gmail.com> wrote:

> [...]
> does gforth let you compile to machine code?

In theory, it's possible to emit C code for Forth.  And, gforth
would be an ideal candidate for that since it uses C.  Does it
let you compile to machine code?

In 2009, Anton said that gforth couldn't produce standalone
Forth executable applications.

One source claims the relative speed of gforth is six times
slower than C.  Another source provides data that gforth-fast
is 8.5 times slower than GCC -O3 compiled C code.  You also
need to take into account that GCC is not known for producing
especially fast compiled C code, as compared to other C
compilers, like OpenWatcom.

So, if all that's true, the real question is why would want
GCC compiled gforth code in C?  I.e., slow.


Rod Pemberton

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can gforth make excutibles for linux that don't need gforth interpeter? the_gavino_himself <visphatesjava@gmail.com> - 2014-05-10 14:47 -0700
  Re: Can gforth make excutibles for linux that don't need gforth interpeter? "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-10 21:15 -0400
    Re: Can gforth make excutibles for linux that don't need gforth interpeter? Melzzzzz <mel@zzzzz.com> - 2014-05-11 07:24 +0200
      Re: Can gforth make excutibles for linux that don't need gforth interpeter? "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-11 11:32 -0400
        Re: Can gforth make excutibles for linux that don't need gforth interpeter? Melzzzzz <mel@zzzzz.com> - 2014-05-11 18:03 +0200
        Re: Can gforth make excutibles for linux that don't need gforth interpeter? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-05-12 03:27 -0500
    Re: Can gforth make excutibles for linux that don't need gforth interpeter? the_gavino_himself <visphatesjava@gmail.com> - 2014-05-11 16:46 -0700

csiph-web