Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Newsgroups | comp.lang.c |
|---|---|
| From | Heikki Kallasjoki <fis+usenet@zem.fi> |
| Subject | Re: A question for this group... |
| References | (3 earlier) <24bb4002-32ec-4fe5-9971-7d9683ad5029@googlegroups.com> <a50hapFhpkU2@mid.individual.net> <4fec041d$0$1390$4fafbaef@reader2.news.tin.it> <1df54e49-511e-4dc7-bb7a-ed23cf6a7d25@googlegroups.com> <256600e3-2255-44e2-a535-3d29dd9f40e5@googlegroups.com> |
| Organization | nonexistent |
| Message-ID | <slrnjuoika.eq8.fis@iris.zem.fi> (permalink) |
| Date | 2012-06-28 12:14 +0000 |
On 2012-06-28, Malcolm McLean <malcolm.mclean5@btinternet.com> wrote: > בתאריך יום חמישי, 28 ביוני 2012 09:59:51 UTC+1, מאת nick_keigh...@hotmail.com: >> On Thursday, June 28, 2012 8:19:21 AM UTC+1, io_x wrote: >> >> > for me, i prefer a language without UBs >> >> name one. C is actually pretty good. >> > Java has no UBs. A Java program is guaranteed to produce the same > output on any Java Virtual machine. The guarantee has now been > weakened to accomodate different floating point processors. There is no actual "undefined behaviour" that I know of, but that does not mean there would not be a certain amount of platform-specific or plain unspecified behaviour, making the "same output on any Java Virtual machine" statement an obviously false one, even disregarding the mentioned exception. For example, System.out.println(java.io.File.separator); is definitely not guaranteed to produce the same output on all Java systems. Other examples of unspecified things include exactly when, or in which thread finalize() methods are called, exactly how threads will be scheduled, or whether methods such as Float.valueOf(float f) (that are specified to "cache frequently requested values") will return a new instance or not in some particular case. These are all observable behaviour. -- Heikki Kallasjoki
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A question for this group... gazelle@shell.xmission.com (Kenny McCormack) - 2012-05-15 17:41 +0000
Re: A question for this group... "Chine Bleu, Russie Blanche, et Khmer Rouge" <chine.bleu@yahoo.com> - 2012-05-15 10:44 -0700
Re: A question for this group... James Kuyper <jameskuyper@verizon.net> - 2012-05-15 14:06 -0400
Re: A question for this group... William Ahern <william@wilbur.25thandClement.com> - 2012-05-15 13:24 -0700
Re: A question for this group... Quentin Pope <qp19433@hotmail.NOSPAM.com> - 2012-05-15 20:56 +0000
Re: A question for this group... nick_keighley_nospam@hotmail.com - 2012-05-16 03:41 -0700
Re: A question for this group... Old Wolf <oldwolf@inspire.net.nz> - 2012-05-16 02:31 -0700
Re: A question for this group... nick_keighley_nospam@hotmail.com - 2012-05-16 03:53 -0700
Re: A question for this group... gazelle@shell.xmission.com (Kenny McCormack) - 2012-05-16 14:08 +0000
Re: A question for this group... Martin Shobe <martin.shobe@yahoo.com> - 2012-05-16 14:49 +0000
Re: A question for this group... Martin Shobe <martin.shobe@yahoo.com> - 2012-05-16 14:59 +0000
Re: A question for this group... Kaz Kylheku <kaz@kylheku.com> - 2012-05-16 16:05 +0000
Re: A question for this group... Old Wolf <oldwolf@inspire.net.nz> - 2012-05-16 14:29 -0700
Re: A question for this group... Stephen Sprunk <stephen@sprunk.org> - 2012-05-16 18:18 -0500
Re: A question for this group... Robert Miles <milesrf@Usenet-News.net> - 2012-06-23 23:22 -0500
Re: A question for this group... Malcolm McLean <malcolm.mclean5@btinternet.com> - 2012-06-25 02:41 -0700
Re: A question for this group... gazelle@shell.xmission.com (Kenny McCormack) - 2012-06-25 16:29 +0000
Re: A question for this group... nick_keighley_nospam@hotmail.com - 2012-06-26 08:27 -0700
Re: A question for this group... gazelle@shell.xmission.com (Kenny McCormack) - 2012-06-27 09:05 +0000
Re: A question for this group... nick_keighley_nospam@hotmail.com - 2012-06-27 03:57 -0700
Re: A question for this group... Neil Cerutti <neilc@norwich.edu> - 2012-06-27 13:49 +0000
Re: A question for this group... "io_x" <a@b.c.invalid> - 2012-06-28 09:19 +0200
Re: A question for this group... nick_keighley_nospam@hotmail.com - 2012-06-28 01:59 -0700
Re: A question for this group... Malcolm McLean <malcolm.mclean5@btinternet.com> - 2012-06-28 04:18 -0700
Re: A question for this group... Heikki Kallasjoki <fis+usenet@zem.fi> - 2012-06-28 12:14 +0000
Re: A question for this group... James Kuyper <jameskuyper@verizon.net> - 2012-06-28 08:28 -0400
Re: A question for this group... James Kuyper <jameskuyper@verizon.net> - 2012-06-28 08:33 -0400
Re: A question for this group... Malcolm McLean <malcolm.mclean5@btinternet.com> - 2012-06-28 13:07 -0700
Re: A question for this group... David Thompson <dave.thompson2@verizon.net> - 2012-07-19 02:40 -0400
Re: A question for this group... "io_x" <a@b.c.invalid> - 2012-06-28 18:58 +0200
Re: A question for this group... Andrew Cooper <amc96@cam.ac.uk> - 2012-06-29 01:11 +0100
Re: A question for this group... Philip Lantz <prl@canterey.us> - 2012-07-05 00:21 -0700
Re: A question for this group... nick_keighley_nospam@hotmail.com - 2012-07-06 00:24 -0700
Re: A question for this group... Tim Rentsch <txr@alumni.caltech.edu> - 2012-07-06 17:43 -0700
csiph-web