Re: What would a modern LispOS look like?



Pascal Bourguignon wrote:
"goose" <ruse@xxxxxxxxxxxxx> writes:

[1] unless that language is C. Writing your spiffy tic-tac-toe-solving
library in plain std C means that it can be used on any platform that
has a conforming C compiler i.e. 99% of platforms. Those platforms that
don't have a C compiler most certainly won't have any other HLL
compiler
either and will be typically programmed in assembler or similar.

Writing that same logic into a library in most other languages limits
you to the platforms that have a compiler and/or environment for that
language.

But given that most other programming languages have at least one
implementation written in C, they're actually available on 98.999% of
the platforms too!


You're possibly confusing hosted c platforms with
freestanding ones. AFAIK (corrections welcome:-), it's not
possible to have this distinction in a conforming common
lisp implementation, hence "other programming languages
implemented in C" rules out those that are implemented
only in a hosted c environment.

tic-tac-toe written in C can target freestanding
C implementations (all the worlds machines?) while
tic-tac-toe written in another HLL which has an
implementation in hosted C will only run on a small
subset of the computers in the world.

This is all conjecture that assumes that common lisp (the
standard) does indeed have no equivalent of a C freestanding
environment.

FWIW, I don't know of any languages implemented within
a freestanding c environment, but like I said above,
correct me if I'm wrong.

goose,

.



Relevant Pages

  • Re: "Sorting" assignment
    ... issue on some ancient compiler doesn't make a lot of sense. ... to his on a few commonly used platforms and compilers, ...  Be sure and call the swap ... reason to find algorithms which operate independent of it. ...
    (comp.programming)
  • Re: Death of Kylix and migrating towards Java
    ... But it can't beat Delphi's compiler speed! ... app developers on non-Windows platforms. ... It is NOT Delphi. ... > I do agree that Kylix was a very good promise and concept, that Borland ...
    (borland.public.delphi.non-technical)
  • Re: Need help with REDEFINES (I think)....
    ... preclude the compiler optimizing it. ... (a compiler generated subroutine) ... generated subroutine) because it uses a simple compare (or series of ... would be fairly consistent across platforms, but even if I'm wrong and there ...
    (comp.lang.cobol)
  • Re: Is Assembler Language essential in compiler construction?
    ... emulator or compiler with a *restrictive* license ... for use on multiple platforms. ... for sandbox and general purpose applications. ... the development or runtime system doesn't support future versions of the ...
    (comp.compilers)
  • Re: Using C to program the 8051 family
    ... C may be fine for larger platforms but it's ... > you forget to turn the optimizer off. ... You must either trust the compiler or learn to use a ... > language to debug by. ...
    (comp.arch.embedded)