Groups | Search | Server Info | Login | Register


Groups > comp.lang.forth > #23707

Re: Foreign language interface (was: On the importance of standards)

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: Foreign language interface (was: On the importance of standards)
Date 2013-06-17 16:53 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2013Jun17.185339@mips.complang.tuwien.ac.at> (permalink)
References <2013Jun14.170508@mips.complang.tuwien.ac.at> <71611489978434@frunobulax.edu>

Show all headers | View raw


mhx@iae.nl (Marcel Hendrix) writes:
>I can't speak for VFX, but for iForth we have yet to see the first 
>type-related problem. When we encounter it, we'll fix the distributed headers 
>for all users. Users of non-standard libs that can't do such 'fixing' 
>themselves will get help on the devlist. This will be a lot less trouble
>then making sure there is a *recent* C compiler in the path on Linux/Windows/OSX,
>with *recent* development headers in a standard place, that are kept up-to-date 
>for all OS/C compiler/library/ versions.

Why the emphasis on recency?  Typically they don't change the ABI on a
platform, so an old compiler and old header files will do (as long as
the header files contain the interfaces you want to use).  And for the
"standard" libraries you can compile it for the users for the
platforms you support, so for that they don't need to install any C
compiler.

>BTW, how are you going to handle aberrations like C++, ActiveX, .NET, etc.
>on all platforms that gForth supports? 

For now I am happy when we solve the C problem (still not complete).
C++ should be similar.  I don't know much about ActiveX, but it seems
to be an interface standard, so it may be easier than C.  For .NET
Gerald Wodni has done some work.

The question is: why would we want to interface to any of that.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2013: http://www.euroforth.org/ef13/

Back to comp.lang.forth | Previous | NextPrevious in thread | Find similar


Thread

Re: Foreign language interface (was: On the importance of standards) mhx@iae.nl (Marcel Hendrix) - 2013-06-05 21:32 +0200
  Re: Foreign language interface (was: On the importance of standards) anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-06-14 15:05 +0000
    Re: Foreign language interface (was: On the importance of standards) mhx@iae.nl (Marcel Hendrix) - 2013-06-14 21:42 +0200
      Re: Foreign language interface (was: On the importance of standards) anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-06-17 16:53 +0000

csiph-web