Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #15611 > unrolled thread
| Started by | ArifulHossain tuhin <etothepowerpi@gmail.com> |
|---|---|
| First post | 2012-01-09 02:26 -0800 |
| Last post | 2012-01-18 07:58 +0000 |
| Articles | 10 on this page of 70 — 24 participants |
Back to article view | Back to comp.lang.c
Writing "absolutely" portable code ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-01-09 02:26 -0800
Re: Writing "absolutely" portable code ec429 <ec429@cam.ac.uk> - 2012-01-09 11:47 +0000
Re: Writing "absolutely" portable code Jens Gustedt <jens.gustedt@loria.fr> - 2012-01-09 13:56 +0100
Re: Writing "absolutely" portable code ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-01-09 05:45 -0800
Re: Writing "absolutely" portable code ec429 <ec429@cam.ac.uk> - 2012-01-09 14:46 +0000
Re: Writing "absolutely" portable code ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-01-10 01:11 -0800
Re: Writing "absolutely" portable code Rui Maciel <rui.maciel@gmail.com> - 2012-01-09 15:58 +0000
Re: Writing "absolutely" portable code falk@rahul.net (Edward A. Falk) - 2012-01-09 18:41 +0000
Re: Writing "absolutely" portable code Rui Maciel <rui.maciel@gmail.com> - 2012-01-09 12:23 +0000
Re: Writing "absolutely" portable code Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-01-09 08:45 -0500
Re: Writing "absolutely" portable code superpollo <superpollo@tznvy.pbz> - 2012-01-09 15:02 +0100
Re: Writing "absolutely" portable code Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-01-09 16:11 +0000
Re: Writing "absolutely" portable code ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-01-09 05:56 -0800
Re: Writing "absolutely" portable code Rui Maciel <rui.maciel@gmail.com> - 2012-01-09 15:07 +0000
Re: Writing "absolutely" portable code ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-01-10 01:21 -0800
Re: Writing "absolutely" portable code Stephen Sprunk <stephen@sprunk.org> - 2012-01-10 13:20 -0600
Re: Writing "absolutely" portable code ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-01-11 06:57 -0800
Re: Writing "absolutely" portable code Rui Maciel <rui.maciel@gmail.com> - 2012-01-11 09:23 +0000
Re: Writing "absolutely" portable code jacob navia <jacob@spamsink.net> - 2012-01-09 13:48 +0100
Re: Writing "absolutely" portable code ec429 <ec429@cam.ac.uk> - 2012-01-09 13:11 +0000
Re: Writing "absolutely" portable code Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-01-09 05:27 -0800
Re: Writing "absolutely" portable code ec429 <ec429@cam.ac.uk> - 2012-01-09 13:41 +0000
Re: Writing "absolutely" portable code ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-01-09 06:09 -0800
Re: Writing "absolutely" portable code jacob navia <jacob@spamsink.net> - 2012-01-09 14:35 +0100
Re: Writing "absolutely" portable code Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-01-09 13:44 +0000
Re: Writing "absolutely" portable code ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-01-09 06:18 -0800
Re: Writing "absolutely" portable code jacob navia <jacob@spamsink.net> - 2012-01-09 18:59 +0100
Re: Writing "absolutely" portable code jacob navia <jacob@spamsink.net> - 2012-01-09 19:01 +0100
Re: Writing "absolutely" portable code ec429 <ec429@cam.ac.uk> - 2012-01-09 19:21 +0000
Re: Writing "absolutely" portable code Richard <rgrdev_@gmail.com> - 2012-01-10 20:48 +0100
Re: Writing "absolutely" portable code David Dyer-Bennet <dd-b@dd-b.net> - 2012-01-10 14:26 -0600
Re: Writing "absolutely" portable code Richard <rgrdev_@gmail.com> - 2012-01-10 21:44 +0100
Re: Writing "absolutely" portable code David Dyer-Bennet <dd-b@dd-b.net> - 2012-01-10 15:45 -0600
Re: Writing "absolutely" portable code Rui Maciel <rui.maciel@gmail.com> - 2012-01-11 09:12 +0000
Re: Writing "absolutely" portable code ec429 <ec429@cam.ac.uk> - 2012-01-11 11:10 +0000
Re: Writing "absolutely" portable code James Kuyper <jameskuyper@verizon.net> - 2012-01-11 11:52 -0500
Re: Writing "absolutely" portable code ec429 <ec429@cam.ac.uk> - 2012-01-11 17:01 +0000
Re: Writing "absolutely" portable code James Kuyper <jameskuyper@verizon.net> - 2012-01-11 12:11 -0500
Re: Writing "absolutely" portable code Rui Maciel <rui.maciel@gmail.com> - 2012-01-11 09:08 +0000
Re: Writing "absolutely" portable code Rui Maciel <rui.maciel@gmail.com> - 2012-01-11 08:22 +0000
Re: Writing "absolutely" portable code Rui Maciel <rui.maciel@gmail.com> - 2012-01-11 08:54 +0000
Re: Writing "absolutely" portable code ec429 <ec429@cam.ac.uk> - 2012-01-09 13:57 +0000
Re: Writing "absolutely" portable code Seebs <usenet-nospam@seebs.net> - 2012-01-09 19:21 +0000
Re: Writing "absolutely" portable code ec429 <ec429@cam.ac.uk> - 2012-01-09 19:52 +0000
Re: Writing "absolutely" portable code Seebs <usenet-nospam@seebs.net> - 2012-01-09 20:20 +0000
Re: Writing "absolutely" portable code ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-01-09 06:16 -0800
Re: Writing "absolutely" portable code ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-01-09 06:02 -0800
Re: Writing "absolutely" portable code Keith Thompson <kst-u@mib.org> - 2012-01-09 14:50 -0800
Re: Writing "absolutely" portable code Kaz Kylheku <kaz@kylheku.com> - 2012-01-09 23:20 +0000
Re: Writing "absolutely" portable code Rui Maciel <rui.maciel@gmail.com> - 2012-01-10 00:23 +0000
Re: Writing "absolutely" portable code Dirk Zabel <zabel@riccius-sohn.eu> - 2012-01-10 17:44 +0100
Re: Writing "absolutely" portable code ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-01-11 07:13 -0800
Re: Writing "absolutely" portable code Nick Bowler <nbowler@draconx.ca> - 2012-01-17 20:36 +0000
Re: Writing "absolutely" portable code ec429 <ec429@cam.ac.uk> - 2012-01-17 23:06 +0000
Re: Writing "absolutely" portable code blp@cs.stanford.edu (Ben Pfaff) - 2012-01-17 15:32 -0800
Re: Writing "absolutely" portable code Kaz Kylheku <kaz@kylheku.com> - 2012-01-18 00:40 +0000
Re: Writing "absolutely" portable code Seebs <usenet-nospam@seebs.net> - 2012-01-18 18:35 +0000
Re: Writing "absolutely" portable code Kaz Kylheku <kaz@kylheku.com> - 2012-01-18 19:15 +0000
Re: Writing "absolutely" portable code Seebs <usenet-nospam@seebs.net> - 2012-01-21 21:32 +0000
Re: Writing "absolutely" portable code "io_x" <a@b.c.invalid> - 2012-01-18 07:26 +0100
Re: Writing "absolutely" portable code "Joachim Schmitz" <nospam.jojo@schmitz-digital.de> - 2012-01-18 11:07 +0100
Re: Writing "absolutely" portable code Seebs <usenet-nospam@seebs.net> - 2012-01-21 21:32 +0000
Re: Writing "absolutely" portable code Ian Collins <ian-news@hotmail.com> - 2012-01-22 10:42 +1300
Re: Writing "absolutely" portable code "io_x" <a@b.c.invalid> - 2012-01-22 18:53 +0100
Re: Writing "absolutely" portable code "io_x" <a@b.c.invalid> - 2012-01-22 19:00 +0100
Re: Writing "absolutely" portable code "io_x" <a@b.c.invalid> - 2012-01-23 19:28 +0100
Re: Writing "absolutely" portable code Stephen Sprunk <stephen@sprunk.org> - 2012-01-18 08:44 -0600
Re: Writing "absolutely" portable code James Dow Allen <jdallen2000@yahoo.com> - 2012-01-18 07:09 -0800
Re: Writing "absolutely" portable code "io_x" <a@b.c.invalid> - 2012-01-18 17:44 +0100
Re: Writing "absolutely" portable code Seebs <usenet-nospam@seebs.net> - 2012-01-18 07:58 +0000
Page 4 of 4 — ← Prev page 1 2 3 [4]
| From | "Joachim Schmitz" <nospam.jojo@schmitz-digital.de> |
|---|---|
| Date | 2012-01-18 11:07 +0100 |
| Message-ID | <jf65lq$pbt$1@online.de> |
| In reply to | #15899 |
io_x wrote: > "Ben Pfaff" <blp@cs.stanford.edu> ha scritto nel messaggio > news:87haztzyze.fsf@blp.benpfaff.org... <snip> > > afther say that, i kill file you and Ian Collins They will be deeply impressed.
[toc] | [prev] | [next] | [standalone]
| From | Seebs <usenet-nospam@seebs.net> |
|---|---|
| Date | 2012-01-21 21:32 +0000 |
| Message-ID | <slrnjhmb7e.1nnu.usenet-nospam@guild.seebs.net> |
| In reply to | #15903 |
On 2012-01-18, Joachim Schmitz <nospam.jojo@schmitz-digital.de> wrote: > io_x wrote: >> afther say that, i kill file you and Ian Collins > They will be deeply impressed. Man. Now I want to know what I have to say to get io_x to kill file me. -s -- Copyright 2011, all wrongs reversed. Peter Seebach / usenet-nospam@seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated! I am not speaking for my employer, although they do rent some of my opinions.
[toc] | [prev] | [next] | [standalone]
| From | Ian Collins <ian-news@hotmail.com> |
|---|---|
| Date | 2012-01-22 10:42 +1300 |
| Message-ID | <9o0ppmF524U14@mid.individual.net> |
| In reply to | #16022 |
On 01/22/12 10:32 AM, Seebs wrote: > On 2012-01-18, Joachim Schmitz<nospam.jojo@schmitz-digital.de> wrote: >> io_x wrote: >>> afther say that, i kill file you and Ian Collins > >> They will be deeply impressed. > > Man. Now I want to know what I have to say to get io_x to kill file me. The truth! -- Ian Collins
[toc] | [prev] | [next] | [standalone]
| From | "io_x" <a@b.c.invalid> |
|---|---|
| Date | 2012-01-22 18:53 +0100 |
| Message-ID | <4f1c4c42$0$1388$4fafbaef@reader2.news.tin.it> |
| In reply to | #16022 |
"Seebs" <usenet-nospam@seebs.net> ha scritto nel messaggio news:slrnjhmb7e.1nnu.usenet-nospam@guild.seebs.net... > On 2012-01-18, Joachim Schmitz <nospam.jojo@schmitz-digital.de> wrote: >> io_x wrote: >>> afther say that, i kill file you and Ian Collins > >> They will be deeply impressed. > > Man. Now I want to know what I have to say to get io_x to kill file me. ok
[toc] | [prev] | [next] | [standalone]
| From | "io_x" <a@b.c.invalid> |
|---|---|
| Date | 2012-01-22 19:00 +0100 |
| Message-ID | <4f1c4dbb$0$1388$4fafbaef@reader2.news.tin.it> |
| In reply to | #16042 |
"io_x" <a@b.c.invalid> ha scritto nel messaggio news:4f1c4c42$0$1388$4fafbaef@reader2.news.tin.it... > > "Seebs" <usenet-nospam@seebs.net> ha scritto nel messaggio > news:slrnjhmb7e.1nnu.usenet-nospam@guild.seebs.net... >> On 2012-01-18, Joachim Schmitz <nospam.jojo@schmitz-digital.de> wrote: >>> io_x wrote: >>>> afther say that, i kill file you and Ian Collins >> >>> They will be deeply impressed. >> >> Man. Now I want to know what I have to say to get io_x to kill file me. > > ok seebs addio
[toc] | [prev] | [next] | [standalone]
| From | "io_x" <a@b.c.invalid> |
|---|---|
| Date | 2012-01-23 19:28 +0100 |
| Message-ID | <4f1da5e6$0$1380$4fafbaef@reader2.news.tin.it> |
| In reply to | #16043 |
"io_x" <a@b.c.invalid> ha scritto nel messaggio news:4f1c4dbb$0$1388$4fafbaef@reader2.news.tin.it... > > "io_x" <a@b.c.invalid> ha scritto nel messaggio > news:4f1c4c42$0$1388$4fafbaef@reader2.news.tin.it... >> >> "Seebs" <usenet-nospam@seebs.net> ha scritto nel messaggio >> news:slrnjhmb7e.1nnu.usenet-nospam@guild.seebs.net... >>> On 2012-01-18, Joachim Schmitz <nospam.jojo@schmitz-digital.de> wrote: >>>> io_x wrote: >>>>> afther say that, i kill file you and Ian Collins >>> >>>> They will be deeply impressed. >>> >>> Man. Now I want to know what I have to say to get io_x to kill file me. >> >> ok > > seebs > addio caro seebs me lo spieghi perche' ci sono tutti questi cinesi in italia e questi africani? perche' non se ne vanno nel loro paese e risolvono i problemi del loro paese piuttosto che venire qui?
[toc] | [prev] | [next] | [standalone]
| From | Stephen Sprunk <stephen@sprunk.org> |
|---|---|
| Date | 2012-01-18 08:44 -0600 |
| Message-ID | <jf6lsr$b98$1@dont-email.me> |
| In reply to | #15899 |
On 18-Jan-12 00:26, io_x wrote: > "Ben Pfaff" <blp@cs.stanford.edu> ha scritto nel messaggio > news:87haztzyze.fsf@blp.benpfaff.org... >> ec429 <ec429@cam.ac.uk> writes: >> A competent C programmer knows how to write C programs correctly, >> a C expert knows enough to argue with Dan Pop, and a C expert >> expert knows not to bother. > > and where are the ones, the peoples claim nether > the expert expert can write a C programs correctly 100%? > [only assembly programmers could write them afther extensive test] > > do you call them not expert? right? That is the logical conclusion. If a competent programmer knows how to write programs correctly, then anyone who does not know how to write programs correctly cannot be a competent programmer. However, programmers are human and will make mistakes; the difference is that competent ones recognize and correct their mistakes, whereas incompetent ones often will not. In my experience, even when those mistakes are pointed out by a competent programmer, the incompetent programmer tends to defend his mistakes rather than correct them. S -- Stephen Sprunk "God does not play dice." --Albert Einstein CCIE #3723 "God is an inveterate gambler, and He throws the K5SSS dice at every possible opportunity." --Stephen Hawking
[toc] | [prev] | [next] | [standalone]
| From | James Dow Allen <jdallen2000@yahoo.com> |
|---|---|
| Date | 2012-01-18 07:09 -0800 |
| Message-ID | <a0299c8a-3a53-40ce-85c0-f332e21f2a0e@c9g2000pbh.googlegroups.com> |
| In reply to | #15899 |
Question is: Will you port the program to just 3 or 4 architectures, or to dozens of different architectures? Hand-steering the process 2 or 3 times is more reliable than a full-featured config setup (and probably easier to do bug-free). When I needed self-configured architecture-dependent code, I just used ordinary 'make' with dependent executables run to output tailored '.h' files. * * * * On another topic: Is there a thread to choose best c.l.c expert/poster ? My nominees are Eric Sosman and Ben Pfaff. This makes the following comment seem rather ... odd. > On Jan 18, 1:26 pm, "io_x" <a...@b.c.invalid> wrote: > "Ben Pfaff" <b...@cs.stanford.edu> ha scritto nel > > A competent C programmer knows how to write C programs correctly, > > a C expert knows enough to argue with Dan Pop, and a C expert > > expert knows not to bother. > > afther say that, i kill file you and Ian Collins > ... because not interested from wrong answers Jamesdowallen (c/o Gmail)
[toc] | [prev] | [next] | [standalone]
| From | "io_x" <a@b.c.invalid> |
|---|---|
| Date | 2012-01-18 17:44 +0100 |
| Message-ID | <4f16f603$0$1386$4fafbaef@reader1.news.tin.it> |
| In reply to | #15907 |
"James Dow Allen" <jdallen2000@yahoo.com> ha scritto nel messaggio news:a0299c8a-3a53-40ce-85c0-f332e21f2a0e@c9g2000pbh.googlegroups.com... Question is: Will you port the program to just 3 or 4 architectures, or to dozens of different architectures? #io_x [i'm a newbe] #all the 'architectures' #my way is this: out of C all UBs #use only uint32_t, int32_t uint16_t etc #the programmer has to know if write in some memory region #how many bit there are #and operations on integer unsigned or signed #has to be full definited Hand-steering the process 2 or 3 times is more reliable than a full-featured config setup (and probably easier to do bug-free). #no setup; all code When I needed self-configured architecture-dependent code, I just used ordinary 'make' with dependent executables run to output tailored '.h' files. #i not use make and i'm a newbe but in my way not see #where is the wrong * * * * On another topic: Is there a thread to choose best c.l.c expert/poster ? My nominees are Eric Sosman and Ben Pfaff. This makes the following comment seem rather ... odd. #Eric Sosman is ok, i think he miss too time in NGs #for Ben Pfaff i never seen his associed code > On Jan 18, 1:26 pm, "io_x" <a...@b.c.invalid> wrote: > "Ben Pfaff" <b...@cs.stanford.edu> ha scritto nel > > A competent C programmer knows how to write C programs correctly, > > a C expert knows enough to argue with Dan Pop, and a C expert > > expert knows not to bother. > > afther say that, i kill file you and Ian Collins > ... because not interested from wrong answers Jamesdowallen (c/o Gmail)
[toc] | [prev] | [next] | [standalone]
| From | Seebs <usenet-nospam@seebs.net> |
|---|---|
| Date | 2012-01-18 07:58 +0000 |
| Message-ID | <slrnjhc1af.fkh.usenet-nospam@guild.seebs.net> |
| In reply to | #15891 |
On 2012-01-17, Nick Bowler <nbowler@draconx.ca> wrote: > I cannot fathom why anyone would expect a from-scratch build system > written by such developers to feature better support for cross > compilation. Well, in practice: Autoconf can in theory support cross compilation, but you basically have to know you want to support that or else you will end up with a ton of stuff which doesn't work as expected. While the package as a whole has hooks, many specific tests don't, and users often end up writing their own tests which don't know about cross compilation. A well-written app with a config.h will usually have the right pieces exposed to let us write the correct values, generate a patch to create that config.h, and will then Just Work. So in practice my experience has been that, for a whole lot of packages, a developer completely unaware of the concept of cross-compilation will leave me with less hassle than an autoconf based app, even in some cases one which makes an effort to support cross-compilers. This is all subject to rapid change. Back when I first tried to use autoconf for cross-compilation, the built-in type size testing didn't work for cross compiles, because it depended on compiling and running test applications... A package which is being used by embedded developers, and whose maintainers are friendly to submitted patches, will usually be fine by now. :) To put it in perspective, I had less trouble porting pseudo from Linux to OS X than I have had getting some apps to cross-compile for a different CPU type. :) -s -- Copyright 2011, all wrongs reversed. Peter Seebach / usenet-nospam@seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated! I am not speaking for my employer, although they do rent some of my opinions.
[toc] | [prev] | [standalone]
Page 4 of 4 — ← Prev page 1 2 3 [4]
Back to top | Article view | comp.lang.c
csiph-web