[fpc-other] Re: [fpc-pascal] Re: Porting linux to pascal,
would it be possible ?
Marco van de Voort
marcov at stack.nl
Sat Dec 6 12:32:54 CET 2008
In our previous episode, Micha Nelissen said:
> > I disagree. C is better for write operating systems *by definition*:
> > C was created to write UNIX, Pascal was created to learn good
> > programming techniques. C is low/mid-level language, Pascal is
> > high-level (and Object Pascal is even higher): OS are the lowest
> > software level.
>
> That only proves the first versions of Pascal (in the 80s) were not
> suitable. Not whether the current-day FPC can't do it successfully.
And even if you accept that, it only means we really have to add that
Modula2 mode, since M2 _was_ developed for system programming.
> Also note that Linux depends so heavily on GCC that I can't see it being
> compiled even by another C compiler. There are so many gcc (part of
> those are also C99) specific constructs being used to do some things
> more easily, efficiently (in space and time), and to add more type
> checking to what C natively has.
To be honest, I doubt it would be that different if we did it with FPC,
seeing how much problems Delphi already has to compile FPC code.
Trivialities often, sure, but quite a lot.
More information about the fpc-other
mailing list