Jonas Maebe schrieb:
On 14/01/16 17:45, Mathias wrote:
The code is machine generated.
I wanted to test which compiler is faster, the. Of FPC or C ++
C ++ could compile the code without errors.
Whether or not it can be compiled is unrelated to the language of
course, but to the compiler. We in
I've split the code, as you said.
With the factor 1000, it did not err in within about 75s compiled.
The source had it about 1,000,000 rows. rows.
program test;
procedure p0;
begin
WriteLn(0);
WriteLn(1);
WriteLn(2);
end;
procedure p1;
begin
WriteLn(2);
WriteLn(3);
WriteLn(4);
end;
On 14/01/16 17:45, Mathias wrote:
The code is machine generated.
I wanted to test which compiler is faster, the. Of FPC or C ++
C ++ could compile the code without errors.
Whether or not it can be compiled is unrelated to the language of
course, but to the compiler. We indeed only develop FPC
wkitt...@windstream.net wrote:
OTOH it's very easy to end up with enormous functions- or even an
enormous main
block- if machine-generating source by e.g. macro expansion.
now that you mention it, i do have a machine generated routine in one of
my apps... it was much easier to write code to
On 01/14/2016 11:22 AM, Mark Morgan Lloyd wrote:
wkitt...@windstream.net wrote:
On 01/13/2016 05:01 PM, Mathias wrote:
I wanted a test following compile 1'000'000x WriteLn.
Procedure too
complex, it requires too many registers Fatal: Compilation aborted Error:
/usr/bin/ppcx64 returned an err
The code is machine generated.
I wanted to test which compiler is faster, the. Of FPC or C ++
C ++ could compile the code without errors.
int main(){
std::cout << 0 << std::endl;
std::cout << 1 << std::endl;
mfg Mathias
Am 13.01.2016 um 23:19 schrieb Jonas Maebe:
On 13/01/16 23:01, M
wkitt...@windstream.net wrote:
On 01/13/2016 05:01 PM, Mathias wrote:
I wanted a test following compile 1'000'000x WriteLn.
Procedure too
complex, it requires too many registers Fatal: Compilation aborted Error:
/usr/bin/ppcx64 returned an error exitcode
wowowow... is there something wrong/
On 01/13/2016 05:01 PM, Mathias wrote:
I wanted a test following compile 1'000'000x WriteLn.
programProject1;
begin
WriteLn(1);
WriteLn(2);
// ...
WriteLn(100);
end.
Then breaks the compiler from the following error.
$ fpc pascaltes