librelist archives

« back to archive

Actual requirements

Actual requirements

From:
Paolo Redaelli
Date:
2012-03-06 @ 14:13
We used to say that SmartEiffel needs an ANSI C compiler, usually on a 
32bit machine.

I was investigating briefly the man pages related to numerical issues - 
Not A Number, Infinity and so on.
Since C99 oand POSIX.1 have some nice implementations dealing with them 
I think we may decide to move on "more recent" standards...

What do you think?

Re: [libertyeiffel] Actual requirements

From:
Cyril Adrian
Date:
2012-03-07 @ 10:26
Hi,

2012/3/6 Paolo Redaelli <paolo.redaelli@gmail.com>

> We used to say that SmartEiffel needs an ANSI C compiler, usually on a
> 32bit machine.
>

Yes. That's a nice property.


> I was investigating briefly the man pages related to numerical issues -
> Not A Number, Infinity and so on.
> Since C99 oand POSIX.1 have some nice implementations dealing with them
> I think we may decide to move on "more recent" standards...
>
> What do you think?
>

Maybe for specific domains (such as calculus),  but not as a general rule.
Being able to give a C-generated source to people without having to worry
about compatibilities is really great.

Cheers,

*Cyril ADRIAN* *(from office)*
http://www.cadrian.net/cyril
[image: Twitter] <http://twitter.com/cadbart> [image:
LinkedIn]<http://fr.linkedin.com/in/cadrian> [image:
Google Plus] <https://plus.google.com/u/0/100388810006463519079/> [image:
Google 
Calendar]<https://www.google.com/calendar/embed?src=1t93vvvrdc26ee0f83p0cunj60%40group.calendar.google.com&ctz=Europe/Paris>
Contact me: [image: Google Talk] cyril.adrian@gmail.com
 [image: Twitter] <http://twitter.com/cadbart> Latest tweet: [Liberty]
http://t.co/fJhPszSJ Cyril Adrian - Let the programmer decide what he wants
to do when an exception occurs (don't ignore so man...
Follow @cadbart <http://twitter.com/cadbart> Reply

<http://twitter.com/?status=@cadbart%20&in_reply_to_status_id=162264499590660100&in_reply_to=cadbart>
Retweet

<http://twitter.com/?status=RT%20%40cadbart%3A%20%5BLiberty%5D%20http%3A%2F%2Ft.co%2FfJhPszSJ%20Cyril%20Adrian%20-%20Let%20the%20programmer%20decide%20what%20he%20wants%20to%20do%20when%20an%20exception%20occurs%20(don't%20ignore%20so%20man...>
 21:04 Jan-25<http://twitter.com/cadbart/statuses/162264499590660097>
  Get this email app!

<http://www.wisestamp.com/apps/twitter?utm_source=extension&utm_medium=email&utm_term=twitter&utm_campaign=apps>

 [image: Google Plus] <http://plus.google.com/100388810006463519079> My
latest G+: Prochains concerts de Contraste : Victor Hugo et la Musiqueen
partenariat avec l'Orchestre Besançon-Montbéliard Franche-Comté - vendredi
10/02 (Kursaal, Besançon, 20h00) - samedi 11/02 (MA scène nationale,
Montbéliard, 20h00) - dimanche 12/02
(Sa...<http://plus.google.com/100388810006463519079/posts/Nozsd4fh2M4/>
My G+ <http://plus.google.com/100388810006463519079> -
Posts<http://plus.google.com/100388810006463519079/posts/>- Add
to Circles <http://plus.google.com/100388810006463519079/about/> - 13:31
Feb-09 <http://plus.google.com/100388810006463519079>
  Get this email app!

<http://www.wisestamp.com/apps/plus?utm_source=extension&utm_medium=email&utm_term=plus&utm_campaign=apps>

  <http://www.linkedin.com/in/cyril.adrian>
  Want a signature like mine?

<http://r1.wisestamp.com/r/landing?promo=22&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_22>
Click

here.<http://r1.wisestamp.com/r/landing?promo=22&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_22>

Re: [libertyeiffel] Actual requirements

From:
Hans Zwakenberg / Ocean Consulting GmbH
Date:
2012-03-07 @ 14:22
 Cyril,

 what domain do you have in mind that doesn't have access to C99 
 compilers?

 cheers
 Hans

 ---
 H. Zwakenberg
 ___________________
 Ocean Consulting GmbH
 http://www.ocean-consulting.de



 Am Mittwoch, den 07.03.2012, 11:26 +0100 schrieb Cyril ADRIAN 
 <cyril.adrian@gmail.com>:
> Hi,
>
> 2012/3/6 Paolo Redaelli 
>  We used to say that SmartEiffel needs an ANSI C compiler, usually on
> a
> 32bit machine.
>
> Yes. That's a nice property.
>   I was investigating briefly the man pages related to numerical
> issues -
> Not A Number, Infinity and so on.
> Since C99 oand POSIX.1 have some nice implementations dealing with
> them
> I think we may decide to move on "more recent" standards...
>
> What do you think?
>
> Maybe for specific domains (such as calculus),  but not as a general
> rule. Being able to give a C-generated source to people without 
> having
> to worry about compatibilities is really great.
>
> Cheers,
>
> CYRIL ADRIAN _(from office)_
>  http://www.cadrian.net/cyril [2]
>  [3]  [4]  [5]  [6]
>  Contact me:   cyril.adrian@gmail.com [7]
>
> 		 [8]
>  Latest tweet: [Liberty] http://t.co/fJhPszSJ [9] Cyril Adrian - Let
> the programmer decide what he wants to do when an exception occurs
> (don't ignore so man...
>  Follow @cadbart [10]  Reply  [11]  Retweet    21:04 Jan-25 [12]
>
>   Get this email app!  [13] 
>
> 		 [14]
>   My latest G+: Prochains concerts de Contraste : Victor Hugo et la
> Musiqueen partenariat avec l'Orchestre Besançon-Montbéliard
> Franche-Comté - vendredi 10/02 (Kursaal, Besançon, 20h00) - samedi
> 11/02 (MA scène nationale, Montbéliard, 20h00) - dimanche 12/02
> (Sa... [15]
>  My G+ [16] - Posts [17] - Add to Circles [18] - 13:31 Feb-09 [19]
>
>   Get this email app!  [20] 
>     [21]
>   Want a signature like mine?  [22] Click here. [23]   
>
>
>
> Links:
> ------
> [1] mailto:paolo.redaelli@gmail.com
> [2] http://www.cadrian.net/cyril
> [3] http://twitter.com/cadbart
> [4] http://fr.linkedin.com/in/cadrian
> [5] https://plus.google.com/u/0/100388810006463519079/
> [6]
> 
> 
https://www.google.com/calendar/embed?src=1t93vvvrdc26ee0f83p0cunj60%40group.calendar.google.com&ctz=Europe/Paris
> [7] mailto:cyril.adrian@gmail.com
> [8] http://twitter.com/cadbart
> [9] http://t.co/fJhPszSJ
> [10] http://twitter.com/cadbart
> [11]
> 
> 
http://twitter.com/?status=@cadbart%20&in_reply_to_status_id=162264499590660100&in_reply_to=cadbart
> [12] http://twitter.com/cadbart/statuses/162264499590660097
> [13]
> 
> 
http://www.wisestamp.com/apps/twitter?utm_source=extension&utm_medium=email&utm_term=twitter&utm_campaign=apps
> [14] http://plus.google.com/100388810006463519079
> [15] http://plus.google.com/100388810006463519079/posts/Nozsd4fh2M4/
> [16] http://plus.google.com/100388810006463519079
> [17] http://plus.google.com/100388810006463519079/posts/
> [18] http://plus.google.com/100388810006463519079/about/
> [19] http://plus.google.com/100388810006463519079
> [20]
> 
> 
http://www.wisestamp.com/apps/plus?utm_source=extension&utm_medium=email&utm_term=plus&utm_campaign=apps
> [21] http://www.linkedin.com/in/cyril.adrian
> [22]
> 
> 
http://r1.wisestamp.com/r/landing?promo=22&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_22
> [23]
> 
> 
http://r1.wisestamp.com/r/landing?promo=22&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_22

Re: [libertyeiffel] Actual requirements

From:
Cyril Adrian
Date:
2012-03-07 @ 15:39
2012/3/7 Hans Zwakenberg / Ocean Consulting GmbH <hz@ocean-consulting.de>

> what domain do you have in mind that doesn't have access to C99
>  compilers?
>

No one in particular. Maybe I am a bit too conservative?

Cheers

*Cyril ADRIAN* *(from office)*
http://www.cadrian.net/cyril
[image: Twitter] <http://twitter.com/cadbart> [image:
LinkedIn]<http://fr.linkedin.com/in/cadrian> [image:
Google Plus] <https://plus.google.com/u/0/100388810006463519079/> [image:
Google 
Calendar]<https://www.google.com/calendar/embed?src=1t93vvvrdc26ee0f83p0cunj60%40group.calendar.google.com&ctz=Europe/Paris>
Contact me: [image: Google Talk] cyril.adrian@gmail.com
 [image: Twitter] <http://twitter.com/cadbart> Latest tweet: [Liberty]
http://t.co/fJhPszSJ Cyril Adrian - Let the programmer decide what he wants
to do when an exception occurs (don't ignore so man...
Follow @cadbart <http://twitter.com/cadbart> Reply

<http://twitter.com/?status=@cadbart%20&in_reply_to_status_id=162264499590660100&in_reply_to=cadbart>
Retweet

<http://twitter.com/?status=RT%20%40cadbart%3A%20%5BLiberty%5D%20http%3A%2F%2Ft.co%2FfJhPszSJ%20Cyril%20Adrian%20-%20Let%20the%20programmer%20decide%20what%20he%20wants%20to%20do%20when%20an%20exception%20occurs%20(don't%20ignore%20so%20man...>
 21:04 Jan-25<http://twitter.com/cadbart/statuses/162264499590660097>
  Get this email app!

<http://www.wisestamp.com/apps/twitter?utm_source=extension&utm_medium=email&utm_term=twitter&utm_campaign=apps>

 [image: Google Plus] <http://plus.google.com/100388810006463519079> My
latest G+: Prochains concerts de Contraste : Victor Hugo et la Musiqueen
partenariat avec l'Orchestre Besançon-Montbéliard Franche-Comté - vendredi
10/02 (Kursaal, Besançon, 20h00) - samedi 11/02 (MA scène nationale,
Montbéliard, 20h00) - dimanche 12/02
(Sa...<http://plus.google.com/100388810006463519079/posts/Nozsd4fh2M4/>
My G+ <http://plus.google.com/100388810006463519079> -
Posts<http://plus.google.com/100388810006463519079/posts/>- Add
to Circles <http://plus.google.com/100388810006463519079/about/> - 13:31
Feb-09 <http://plus.google.com/100388810006463519079>
  Get this email app!

<http://www.wisestamp.com/apps/plus?utm_source=extension&utm_medium=email&utm_term=plus&utm_campaign=apps>

  <http://www.linkedin.com/in/cyril.adrian>
  Want a signature like mine?

<http://r1.wisestamp.com/r/landing?promo=22&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_22>
Click

here.<http://r1.wisestamp.com/r/landing?promo=22&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_22>

Re: [libertyeiffel] Actual requirements

From:
Paolo Redaelli
Date:
2012-03-07 @ 15:51
Il 07/03/2012 16:39, Cyril ADRIAN ha scritto:
>
> 2012/3/7 Hans Zwakenberg / Ocean Consulting GmbH 
> <hz@ocean-consulting.de <mailto:hz@ocean-consulting.de>>
>
>     what domain do you have in mind that doesn't have access to C99
>      compilers?
>
>
> No one in particular. Maybe I am a bit too conservative?
>
No, you want solid foundations.
See http://en.wikipedia.org/wiki/C99#Implementations : it seems there is 
no free-as-in-freedom C99-compliant compiler nowadays.
All the compiler we may use (gcc, tcc, clang) are "mostly" compliant. 
This usually means "headache-inducing" 8-)
So better to stick to ANSI and keep separate version for clusters that 
needs C99/Posix.1 - mainly numeric. It may be just a matter of changing 
a line in the proper loadpath.se

Re: [libertyeiffel] Actual requirements

From:
Paolo Redaelli
Date:
2012-03-07 @ 14:28
I was going to answer «Then the question is "how many people are stuck 
to an ANSI C compiler"?»
Yet Cyril opinion has some reasons, for exaple GCC and clang (LLVM) 
currently are *not* C99 compliant, but *mostly*.

My main/other field of interest (civil engineering) would actually 
benefit quite a lot from using C99... meanwhile we can provide two 
separate clusters for floating point arithmetic, the current one using 
plain old ANSI C, and a "futurible" one which uses all the nuts'n'bolts 
of C99/Posix.1 like NAN, HUGE_VAL, fpclassify and so on...



Il 07/03/2012 15:22, Hans Zwakenberg / Ocean Consulting GmbH wrote:
>   Cyril,
>
>   what domain do you have in mind that doesn't have access to C99
>   compilers?
>
>
>
>
>   Am Mittwoch, den 07.03.2012, 11:26 +0100 schrieb Cyril ADRIAN
>   <cyril.adrian@gmail.com>:
>> Hi,
>>
>> 2012/3/6 Paolo Redaelli 
>>   We used to say that SmartEiffel needs an ANSI C compiler, usually on
>> a
>> 32bit machine.
>>
>> Yes. That's a nice property.
>>    I was investigating briefly the man pages related to numerical
>> issues -
>> Not A Number, Infinity and so on.
>> Since C99 oand POSIX.1 have some nice implementations dealing with
>> them
>> I think we may decide to move on "more recent" standards...
>>
>> What do you think?
>>
>> Maybe for specific domains (such as calculus),  but not as a general
>> rule. Being able to give a C-generated source to people without
>> having
>> to worry about compatibilities is really great.
>>
>> Cheers,