Re: [fpc-pascal] "Hello world" syscalls

2020-01-09 Thread Andreas Schneider
Am 2020-01-09 00:30, schrieb Graeme Geldenhuys: So the resulting Java.class is 16 MByte in size!!! How? No it's not. I quote: The size of all files which must be present at runtime (interpreters, stdlib, libraries, loader, etc) are included. So 16mb is pretty generous. I wouldn't immediatel

Re: [fpc-pascal] "Hello world" syscalls

2020-01-08 Thread Vincent Snijders via fpc-pascal
Op do 9 jan. 2020 om 00:47 schreef Graeme Geldenhuys < mailingli...@geldenhuys.co.uk>: > On 07/01/2020 1:28 am, Vojtěch Čihák via fpc-pascal wrote: > > I found this article: https://drewdevault.com/2020/01/04/Slow.html > > but FPC is missing, so I wrote simple: > > On a side note, and for comparis

Re: [fpc-pascal] "Hello world" syscalls

2020-01-08 Thread Graeme Geldenhuys
On 07/01/2020 1:28 am, Vojtěch Čihák via fpc-pascal wrote: > I found this article: https://drewdevault.com/2020/01/04/Slow.html > but FPC is missing, so I wrote simple: On a side note, and for comparison... According to that website, he/she tested Java and got the following: Lang Exec time To

Re: [fpc-pascal] "Hello world" syscalls

2020-01-07 Thread Marco van de Voort
Op 2020-01-07 om 14:29 schreef James Richters: How can 0% + 0%+ 0%+ 0%+ 0%+ 0% = 100% ? looks like it just prints 100% all the time and doesn't really add any total. All those zeros seem strange unless your computer is so fast that every call takes so much less than a microsecond that I can't

Re: [fpc-pascal] "Hello world" syscalls

2020-01-07 Thread Marco van de Voort
Op 2020-01-07 om 02:28 schreef Vojtěch Čihák via fpc-pascal: I found this article: https://drewdevault.com/2020/01/04/Slow.html but FPC is missing, so Iwrote simple: program Project1; begin   writeln('Hello world!'); end. $ fpc -O3 -XX Project1.pas Add -Xm and look at the generated map f

Re: [fpc-pascal] "Hello world" syscalls

2020-01-07 Thread James Richters
al Message- From: fpc-pascal On Behalf Of Michael Van Canneyt Sent: Monday, January 6, 2020 11:44 PM To: Vojtěch Čihák via fpc-pascal Subject: Re: [fpc-pascal] "Hello world" syscalls On Tue, 7 Jan 2020, Vojtěch Čihák via fpc-pascal wrote: > Hi, >   > I found this article: ht

Re: [fpc-pascal] "Hello world" syscalls

2020-01-06 Thread Michael Van Canneyt
On Tue, 7 Jan 2020, Vojtěch Čihák via fpc-pascal wrote: Hi,   I found this article: https://drewdevault.com/2020/01/04/Slow.html but FPC is missing, so I wrote simple:   program Project1; begin   writeln('Hello world!'); end.    $ fpc -O3 -XX Project1.pas   $ strace -C ./Project1   % time