Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Misc > Re: pascal equi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 38 Topic 791 of 811
Post > Topic >>

Re: pascal equivalent of python "sleep"

by Marco van de Voort <marcov@[EMAIL PROTECTED] > May 8, 2008 at 03:34 PM

On 2008-05-08, thomas.mertes@[EMAIL PROTECTED]
 <thomas.mertes@[EMAIL PROTECTED]
> wrote:
>> (snip)
>>
>> > With such tings as 'sleep' and many other functionality
>> > your program will depend on your Pascal compiler and
>> > become un****table. This is a sad story.
>>
>> (snip)
>>
>> > That I still admire Pascal's concepts can be seen
>> > when you look at Seed7.
>>
>> It is really fatigueing to plug seed7 as a resolution for
inter-compiler
>> compability if there is only one implementation of seed(n)
>
> I did not plug Seed7 as a solution for incompatible
> Pascal dialects

Then for what did you plug it?

> The beginning of the mail contains
> information about the 'sleep' function and the
> paragraph about Pascal and ****tability can also be
> helpful.

Was already posted.

> The last paragraph should just show that although I am a critic of
Pascal
> I do not hate it.

> IMHO the number of implementations does not play a role
> for ****tability

No but it is needed for standard purposes. Since there is no need for a
standards without. (ok, maybe for compat between versions, but that is
already a magnitude less im****tant)

> C has many implementations and the
> ****tability problems which exist in Pascal are simply
> not present.

Then find a sleep() in a strictly conforming C compiler! You won't find
it,
it is POSIX, not C. (not to forget that even then there are several, and
various implementations have varying units for the arguments, from ns to
seconds)

> The problem is that many of the early proponents of Pascal (and if you
> look at this discussion also current proponents) simply do not care
about
> ****tability.

That is IMHO revisionism. The early C code was a dirty as Pascal. Still to
this day, most of the C++ code is intrinsically tied to a certain VS
version.

And even for basic stuff Simply because only the more recent POSIX
standards unified this kind of
behaviour, and the non (Open Source) Unix state is still doubtful at best.

> This has to do with the areas where C and Pascal came from.
> BTW. There is some classic article about Pascal and C from Brian W.
> Kernighan: http://www.lysator.liu.se/c/bwk-on-pascal.html

Which is IMHO incorrect. And even if there ever was truth about it, it
ceased after the first half of the eighties.

Pascal was simply popular at an earlier state, while C was still tied to
Unix.

> You are right that there is currently only one
> implementation of Seed7, but this implementation
> runs on various operating systems (unix, bsd, linux
> windows) on different hardware and with several C
> compilers.

Windows= Windows 32/64/ce ? 

> Additionally this implementation is open
> source (GPL) and therefore can be used to ****t Seed7
> to even more places. I tried to reach that level of
> ****tability with Pascal (a predecessor of the current
> Seed7 interpreter was implemented in Pascal) and
> failed tatally because of the incompatible Pascal
> dialects.

Or , actually more a multitarget compiler. Strike out gcc, and see how far
you get with C.

Luckily there is now FPC (and even GPC would already target all those)
 




 38 Posts in Topic:
pascal equivalent of python "sleep"
Sean McIlroy <sean_mci  2008-05-07 16:42:05 
Re: pascal equivalent of python "sleep"
CBFalconer <cbfalconer  2008-05-07 20:38:32 
Re: pascal equivalent of python "sleep"
Sean McIlroy <sean_mci  2008-05-07 19:39:20 
Re: pascal equivalent of python "sleep"
Martin Liddle <news09@  2008-05-08 06:55:04 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 05:58:47 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-08 13:19:46 
Re: pascal equivalent of python "sleep"
Scott Moore <samiam@[E  2008-05-08 07:55:32 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 08:07:24 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-08 15:34:45 
Re: pascal equivalent of python "sleep"
Scott Moore <samiam@[E  2008-05-08 08:08:54 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-08 17:52:47 
Re: pascal equivalent of python "sleep"
Scott Moore <samiam@[E  2008-05-08 14:06:56 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-09 20:18:09 
Re: pascal equivalent of python "sleep"
Waldek Hebisch <hebisc  2008-05-09 21:34:21 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-10 19:08:38 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 10:05:23 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-08 18:09:24 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 10:33:23 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-08 18:11:21 
Re: pascal equivalent of python "sleep"
Scott Moore <samiam@[E  2008-05-08 13:40:02 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-12 12:18:59 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 10:36:35 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-09 19:58:23 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 11:51:40 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 12:17:12 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-08 20:06:32 
Re: pascal equivalent of python "sleep"
CBFalconer <cbfalconer  2008-05-08 18:22:22 
Re: pascal equivalent of python "sleep"
CBFalconer <cbfalconer  2008-05-08 18:29:11 
Re: pascal equivalent of python "sleep"
CBFalconer <cbfalconer  2008-05-08 19:23:17 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-09 08:24:33 
Re: pascal equivalent of python "sleep"
Scott Moore <samiam@[E  2008-05-09 10:47:57 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-09 19:55:35 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-09 20:08:19 
Re: pascal equivalent of python "sleep"
Florian.Klaempfl@[EMAIL P  2008-05-09 10:43:38 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-09 13:28:37 
Re: pascal equivalent of python "sleep"
Florian.Klaempfl@[EMAIL P  2008-05-09 13:45:58 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-09 13:52:25 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-09 14:11:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 6:14:00 CDT 2008.