SPRINTER (about the compiler)
ZXNet echo conference «zx.spectrum»
From Andrew Savichev → To All 17 February 1998
Hi,All!
>
> VM>> ...but increases the encoder’s performance by 5-10 times.
> VM> ...reducing the computer’s performance by exactly the same amount ;)
>
TY>Nonsense. It is very difficult to overtake a modern optimizing compiler.
What are you arguing about here? About the ABSTRACT compiler? ;)
Let's take C as an example. Everyone knows that one of its main advantages is
good portability between platforms. It pays off at the high price
that for it any processor costs 2 - 16 rubles. register (main and auxiliary),
memory and stack. Of course, I’m not a big expert in C, but I read about this in the book
D. Hendrix “C language compiler for microcomputers” M. “Radio and Communication”, 1989
Porportability... in addition to the portability of your software, it also gives you access to
someone else’s software, the source codes of which are publicly available.
If we are talking about the optimal compiler for a specific z80 processor,
and moreover for a Spectrum computer, then it must take into account the features of
architecture!
This will be the best optimization! But the price for this is non-portability anywhere and
lack of ability to use the software from other platforms.
True, I came across a Pascal code to C code converter :)
I'm going to make a one-pass simple compiler of a very simple hybrid
language (a cross between C, PL/M and Pascal :) ) high level, SML, for
"internaluse." At the output, it should give code for the assembler
V.Mednonogova. You will first have to write it in C, but then you can remake
the source code in its own code, as was done with SMALL C.
This will make it easy to move from a cross-version to a resident one for any operating system:
CP/M,TR-DOS,IS-DOS or some new one.
If anyone is interested to collaborate on a project of a specialized
YAV for Spectrum, please write to mas...@satan.spb.su or FIDO-equivalent
under which this message is visible.
>
>With respect, Tim [Team Aries - Rulez Forever]
Regards, Andrey Savichev/CGS
From Marat Fayzullin → To All 18 February 1998
Niche on Vam ne dolzhen. Special arxitektury dolzhny uchityvat' Vashi
biblioteki. Da eshe v optimizatore koda dolzhna byt' fenechka
raspoznayushaya klyuchevye slova "_remote" (to what mozhet byt' pomesheno
na stranicu pamyati) i "_local" (to what dolzhno byt' vsegda v adresnom
prostranstve). Dlya "_remote" generyatsya special'nye zaglushki v adresnom
porstranstve tipa
FunctionStub:
LD IX,Mapper
LD (IX),PageNumber
JMP Function
i potom dlya vyzova primenyaetsya
CALL FunctionStub
Dlya "_local" zhe delaetsya prosto
CALL Function
: This will be the best optimization! But the price for this is intolerance to anywhere and
From Vyacheslav Mednonogov → To All 18 February 1998
Get Msg, Andrew!
17 Feb 98 03:19, Andrew Savichev communicated All about {SPRINTER (about the compiler)}:
AS> connection", 1989 Portability... in addition to the portability of your software, it gives you
AS> also access to someone else’s source code, the source code of which is publicly available.
As a rule, no one has seen C in its pure form - everywhere there are platform-specific libraries. Therefore, nothing serious can be transferred.
Warm greetings, Slava!
From Marat Fayzullin → To All 18 February 1998
Vyacheslav Mednonogov (Vyacheslav...@p4.f362.n5030.z2.fidonet.org)
wrote:
: As a rule, no one has seen C in its pure form - it is present everywhere
: platform-specific libraries.
Paaaavtaaryaem: Est' takaya shtuka. Nazyvaetsya ona POSIX. Est' ona
(v bol'shei ili men'shei mere) vezde. Specificheskix dlya platformy
bibliotek ne ispol'zuite - i vse u Vas budet xorosho.
: Therefore, nothing serious will be transferred.
Well, what, "nichego"? Here you go zadumyvalsya osobo, prosto pomyanul to chto ispol'zoval za
poslednii mesyac i chto vpolne podlezhit portirovaniyu.
From Tim Yunaev → To All 18 February 1998
AS> What are you arguing about here? About the ABSTRACT compiler? ;)
About the specific Watcom C++ compiler, for example.
AS> Let's take C as an example. So everyone knows that one of its main
AS> advantages is good portability between platforms. It pays off with the high price that for it any processor costs 2 - 16 rubles. register
AS> (main and auxiliary), memory and stack.
As for any high-level language.
AS> I’m certainly not a big expert in C, but I read about it in the book by D. Hendrix
AS> “C language compiler for microcomputers” M. “Radio and Communication”, 1989
AS> Portability... in addition to the portability of your software, it also gives you
AS> access to the okiyan of someone else, the sources of which are publicly available.
Yeah.
AS> If we are talking about the optimal compiler for a specific
AS> z80 processor, and moreover for a Spectrum computer, then it must
AS> take into account the architectural features! This will be the best optimization!
AS> But the price for this is non-portability anywhere and the inability
AS> to use software from other platforms.
And the absence of such a compiler (optimizing for Spectrum).
AS> True, I came across a Pascal code to C code converter :)
Sucks.
AS> I'm going to make a one-pass simple compiler for a very simple
AS> hybrid language (a cross between C, PL/M and Pascal :) )high level, SML
AS>, for "internal use". At the output, it should give code for
AS> assembler V.Mednonogov.
What's the point?
C (not C++) on the Spectrum is not difficult to implement. There are not many operators in it. A
libraries may not be implemented.
From Nickolay Zabrodotsky → To All 19 February 1998
Long life and prosperity to you Marat!
MF> Nethack
^^^^^^^^^^^^^^This is the most exorbitant rulez I have ever seen. This is the only game I've been playing for DAYS. Not a single quack, diabla, etc. don't
nail, compared to THIS. It doesn't get any cooler, but just a bunch of text
symbols on the screen...
Sincerely, Nickolay Zabrodotsky AKA ProfeSSor F0lken
■Unsubscribed at 11:12.
... There will be beer and there will be everything else.
From Vyacheslav Mednonogov → To All 20 February 1998
Get Msg, Marat!
18 Feb 98 17:54, Marat Fayzullin reported All about {Re: SPRINTER (about the compiler)}:
MF> : Therefore, nothing serious will be transferred.
MF> Well what, "nichego"? Vot, ot fonarya, spisok veshei kotorye
MF> mozhno perenesti:
MF> Pine
MF> TIN
MF> GCC
MF> GNAT
MF> Emacs
MF> GIMP
MF> Mesa
MF> mulyatory [mnogo]
MF> XKobo
MF> Battalion
MF> Angband
MF> Nethack
Move.
Warm greetings, Slava!