Re: [9fans] C question on struct Biobuf in bio.h

2014-10-08 Thread Charles Forsyth
On 7 October 2014 18:27, Álvaro Jurado wrote: > > , and ld could not assign right the values if declarations are not > specified ansi style (variable initialization it's made by ld, not by the > compiler): you will get some dragons in some cases. Initialisations of externals is done by the comp

Re: [9fans] C question on struct Biobuf in bio.h

2014-10-07 Thread Álvaro Jurado
I'm using gcc to compile plan9 code from some time (4.7/4.8) and that option are masking real behaviour. Do not warns or put out an error about "anonymous structs", but you will have a conflict if to structs in the same source are including a, for example, "Lock;" element, and ld could not assign r

Re: [9fans] C question on struct Biobuf in bio.h

2014-10-07 Thread Carsten Kunze
> Otherwise, your change is fine, but "hdr" would probably be > a better name than "Biobufhdr". Also, don't forget to update > your code to use b->hdr.fid instead of b->fid, and so on. Thanks for all answers! (They also helped to find a short documentation in /sys/doc/compiler) Carsten

Re: [9fans] C question on struct Biobuf in bio.h

2014-10-07 Thread David du Colombier
> in bio.h there is a > > struct Biobuf > { > Biobufhdr; > uchar b[Bungetsize+Bsize]; > }; > > where Biobufhdr is declared as > > typedef struct Biobufhdr Biobufhdr; This is an unnamed structure. Recent versions of GCC should be able to handle them when setting the -fplan

Re: [9fans] C question on struct Biobuf in bio.h

2014-10-07 Thread Bence Fábián
hi, no, it is an anonym field. and it is used in a way that is not part of ansi c. there is an extension in newer versions of gcc which supports it, but if you wan't to port plan 9 c to unix you can use the libs from plan9port. that's far more easier. bence 2014-10-07 17:24 GMT+02:00 Carsten

[9fans] C question on struct Biobuf in bio.h

2014-10-07 Thread Carsten Kunze
Hello, in bio.h there is a struct Biobuf { Biobufhdr; uchar b[Bungetsize+Bsize]; }; where Biobufhdr is declared as typedef struct Biobufhdr Biobufhdr; To make it compile with gcc under UNIX I changed the struct to struct Biobuf { Biobufhdr Biobufhdr;

Re: [9fans] c compiler bug

2013-02-21 Thread steve
no, but drawterm will (i believe). On 21 Feb 2013, at 20:27, David Leimbach wrote: > Can I run it on my iPhone? > > Sent from my iPhone > > On Feb 21, 2013, at 11:58 AM, andrey mirtchovski > wrote: > >> good day. is this the p9p on osx help forum? >>

Re: [9fans] c compiler bug

2013-02-21 Thread David Leimbach
Can I run it on my iPhone? Sent from my iPhone On Feb 21, 2013, at 11:58 AM, andrey mirtchovski wrote: > good day. is this the p9p on osx help forum? >

Re: [9fans] c compiler bug

2013-02-21 Thread Matthew Veety
No. On Feb 21, 2013, at 14:58, andrey mirtchovski wrote: > good day. is this the p9p on osx help forum? >

Re: [9fans] c compiler bug

2013-02-21 Thread hiro
Sorry, google's inconsistent mail interface made me post to the list instead of private. I didn't mean to make this a discussion of google's web technolgy, I just want to promote the sending of certain compatible formats that everyone can read without problems. My gmail only sends Content-Type: t

Re: [9fans] c compiler bug

2013-02-21 Thread John Floren
On Thu, Feb 21, 2013 at 10:46 AM, Comeau At9Fans wrote: > On Thu, Feb 21, 2013 at 1:39 PM, erik quanstrom > wrote: >> >> On Thu Feb 21 13:23:26 EST 2013, j...@jfloren.net wrote: >> > I think his mail client is just too world-class, breathtaking, >> > amazing, and fabulous--have you tried it? >>

Re: [9fans] c compiler bug

2013-02-21 Thread Kurt H Maier
On Thu, Feb 21, 2013 at 01:39:14PM -0500, erik quanstrom wrote: > On Thu Feb 21 13:23:26 EST 2013, j...@jfloren.net wrote: > > I think his mail client is just too world-class, breathtaking, > > amazing, and fabulous--have you tried it? > > > > On Thu, Feb 21, 2013 at 10:13 AM, hiro <23h...@gmail.

Re: [9fans] c compiler bug

2013-02-21 Thread Comeau At9Fans
On Thu, Feb 21, 2013 at 1:39 PM, erik quanstrom wrote: > On Thu Feb 21 13:23:26 EST 2013, j...@jfloren.net wrote: > > I think his mail client is just too world-class, breathtaking, > > amazing, and fabulous--have you tried it? > > > > On Thu, Feb 21, 2013 at 10:13 AM, hiro <23h...@gmail.com> wrot

Re: [9fans] c compiler bug

2013-02-21 Thread erik quanstrom
On Thu Feb 21 13:23:26 EST 2013, j...@jfloren.net wrote: > I think his mail client is just too world-class, breathtaking, > amazing, and fabulous--have you tried it? > > On Thu, Feb 21, 2013 at 10:13 AM, hiro <23h...@gmail.com> wrote: > > can you please stop sending html mails? thanks why does t

Re: [9fans] c compiler bug

2013-02-21 Thread John Floren
I think his mail client is just too world-class, breathtaking, amazing, and fabulous--have you tried it? On Thu, Feb 21, 2013 at 10:13 AM, hiro <23h...@gmail.com> wrote: > can you please stop sending html mails? thanks > > On 2/21/13, Comeau At9Fans wrote: >> On Mon, Feb 18, 2013 at 9:38 AM, Cha

Re: [9fans] c compiler bug

2013-02-21 Thread hiro
can you please stop sending html mails? thanks On 2/21/13, Comeau At9Fans wrote: > On Mon, Feb 18, 2013 at 9:38 AM, Charles Forsyth > wrote: > >> On 18 February 2013 13:02, Comeau At9Fans >> wrote: >> >>> seems to be doing is setting up allowing the call to compile and once >>> that is satisfied

Re: [9fans] c compiler bug

2013-02-21 Thread Comeau At9Fans
On Mon, Feb 18, 2013 at 10:02 AM, erik quanstrom wrote: > > No, the compiler is simply applying scope rules. Without that inner > > declaration explicitly overriding the outer declaration--whether > > static or extern is used-- it will not compile (eg, if you put "static > > void fn(Outer*);" or

Re: [9fans] c compiler bug

2013-02-21 Thread Comeau At9Fans
On Mon, Feb 18, 2013 at 9:38 AM, Charles Forsyth wrote: > On 18 February 2013 13:02, Comeau At9Fans wrote: > >> seems to be doing is setting up allowing the call to compile and once >> that is satisfied then the subsequent definition "has" to match it, as >> perhaps a way to do type punning. > >

Re: [9fans] c compiler bug

2013-02-18 Thread Charles Forsyth
On 18 February 2013 15:02, erik quanstrom wrote: > since nested functions are not allowed, applying nested scope seems > a bit odd. > Nevertheless, that is what it is.

Re: [9fans] c compiler bug

2013-02-18 Thread erik quanstrom
> No, the compiler is simply applying scope rules. Without that inner > declaration explicitly overriding the outer declaration--whether > static or extern is used-- it will not compile (eg, if you put "static > void fn(Outer*);" or "extern void fn(Outer*);" and remove static from > fn in the file

Re: [9fans] c compiler bug

2013-02-18 Thread Charles Forsyth
On 18 February 2013 13:02, Comeau At9Fans wrote: > seems to be doing is setting up allowing the call to compile and once that > is satisfied then the subsequent definition "has" to match it, as perhaps a > way to do type punning. No, the compiler is simply applying scope rules. Without that inn

Re: [9fans] c compiler bug

2013-02-18 Thread Comeau At9Fans
On Sat, Feb 16, 2013 at 9:38 PM, erik quanstrom wrote: > i don't think this should link, since wrongaddr calls > fn with an Outer* not an Inner*. > ... Normally in more mainstream C the nested "static void fn(Outer*);" declaration would produce a diagnostic and instead what it (the compiler and

[9fans] c compiler bug

2013-02-16 Thread erik quanstrom
i don't think this should link, since wrongaddr calls fn with an Outer* not an Inner*. #include #include typedef struct Inner Inner; typedef struct Outer Outer; struct Inner { int x; }; struct Outer { charbuf[0x1000]; Inner; }; void wrongaddr(Outer *o) {

Re: [9fans] c++

2012-12-04 Thread hiro
On Mon, Dec 3, 2012 at 4:29 PM, Kurt H Maier wrote: > If you ask around, you'll find tons of stories from people who took > entry-level programming courses, taught in C++, who got in trouble for > submitting C-compliant or similar code. Many schools teach design > patterns and top-down object cru

Re: [9fans] c++

2012-12-03 Thread Kurt H Maier
On Mon, Dec 03, 2012 at 03:21:37PM +, Charles Forsyth wrote: > I see. That might be tedious. > If you ask around, you'll find tons of stories from people who took entry-level programming courses, taught in C++, who got in trouble for submitting C-compliant or similar code. Many schools teach

Re: [9fans] c++

2012-12-03 Thread Charles Forsyth
I see. That might be tedious. On 3 December 2012 14:58, Kurt H Maier wrote: > This may be true, but this is not what is being taught at the university > level.

Re: [9fans] c++

2012-12-03 Thread Kurt H Maier
On Mon, Dec 03, 2012 at 02:13:53PM +, Charles Forsyth wrote: > >> C++ and java feel highly inconsistent and are full of stupid busywork > >> and strange programming philosophies that you have to "learn" about, > > I've written programs in both languages and you don't really have to > worry abo

Re: [9fans] c++

2012-12-03 Thread Charles Forsyth
>> C++ and java feel highly inconsistent and are full of stupid busywork >> and strange programming philosophies that you have to "learn" about, I've written programs in both languages and you don't really have to worry about the philosophies, if by that is meant things like the Pattern stuff, whe

Re: [9fans] c++

2012-12-03 Thread Ethan Grammatikidis
On Thu, 22 Nov 2012 15:54:11 +0100 Hugo Rivera wrote: > > the fact that there are bigger problems in the world does not imply > > that we ourselves are in a position to do anything about them. heck, > > i see problems very close to home that i can't do much about. i can > > try to make argument

Re: [9fans] C++

2012-12-03 Thread faif
IMHO Go as a system programming language would be a step forward, but C++, obviously not... It's a beast and there are no good compact books about it.

Re: [9fans] C++

2012-11-27 Thread Kurt H Maier
On Tue, Nov 27, 2012 at 11:57:43AM -0800, David Leimbach wrote: > Haskell No.

Re: [9fans] C++

2012-11-27 Thread David Leimbach
Haskell On Tue, Nov 27, 2012 at 9:09 AM, Eugene Gorodinsky wrote: > Yay! A "C++ vs the world" flamewar! Again. > > Let me just point out that writing a game engine consists of a little bit > more than just calls to opengl. Game engine programmers tend to embed > scripting languages in their engi

Re: [9fans] C++

2012-11-27 Thread Eugene Gorodinsky
Yay! A "C++ vs the world" flamewar! Again. Let me just point out that writing a game engine consists of a little bit more than just calls to opengl. Game engine programmers tend to embed scripting languages in their engines as opposed to writing the engines in Java, C#, Python or Lua. P.S. Coinci

Re: [9fans] c++

2012-11-24 Thread David Leimbach
On Nov 22, 2012 8:31 AM, wrote: > > > it's an Xbox game. and yes, you > > need it ;) > > Xbox-360? Surely it runs IBM code? > Yes. IBM power pc > :-) > > ++L > >

Re: [9fans] C++

2012-11-24 Thread David Leimbach
On Nov 23, 2012 6:03 AM, wrote: > > > Are operating systems written in C for it's technical merits or because > > it is industry standard practice? > > Neither: pragmatism. The language and Unix grew up together, teaching > each other many tricks. > > ++L > And they are not all written in C. >

[9fans] C++

2012-11-23 Thread Winston Kodogo
> Been trying to read through this thread through the day and well I think > the absurdity of your claim pretty much sums up a large portion of the > thread, unfortunately. Ay Caramba indeed :( > Hey, I haven't really been following this thread either. I have a day job, and was just channeling my

Re: [9fans] C++

2012-11-23 Thread lucio
> Are operating systems written in C for it's technical merits or because > it is industry standard practice? Neither: pragmatism. The language and Unix grew up together, teaching each other many tricks. ++L

Re: [9fans] C++

2012-11-23 Thread Pedro Lamarão
Em 23/11/2012 08:21, dexen deVries escreveu: > C++ for the assembly-line-style game development [1] is choosen as PHB's safe > bet -- a.k.a. ``industry's stadard practice'' -- and not on technical > merits. > cue picture of Scott Adams (of Dilbert fame). Are operating systems written in C for

Re: [9fans] C++

2012-11-23 Thread dexen deVries
On Friday 23 of November 2012 10:47:09 Gorka Guardiola wrote: > On Thu, Nov 22, 2012 at 11:32 PM, Winston Kodogo wrote: > > But, let the record show, C++ has been scientifically shown to be an > > unbelievably crap and monstrously complex language, even though I earn > > my daily bread by using it

Re: [9fans] C++

2012-11-23 Thread Gorka Guardiola
On Thu, Nov 22, 2012 at 11:32 PM, Winston Kodogo wrote: > > But, let the record show, C++ has been scientifically shown to be an > unbelievably crap and monstrously complex language, even though I earn > my daily bread by using it. I was a contemporary of Dr Stroustrup when > he was spending his t

Re: [9fans] c++

2012-11-23 Thread Balwinder S Dheeman
On 11/22/2012 10:52 PM, tlaro...@polynum.com wrote: On Thu, Nov 22, 2012 at 05:18:03PM +, Charles Forsyth wrote: Yes, that would be silly. You need only the screwdriver, provided it's sonic, but I suppose that just emphasises your point about tools. You did not get the big picture: the sc

Re: [9fans] c++

2012-11-22 Thread Kurt H Maier
On Fri, Nov 23, 2012 at 05:31:52AM +0200, lu...@proxima.alt.za wrote: > > On Thu, Nov 22, 2012 at 07:47:07PM +0200, lu...@proxima.alt.za wrote: > >> > a computer is a multiple purpose device, not an education. > >> > >> Prove it. > >> > > > > Have you even contacted IAEP or one of the dozens of

Re: [9fans] c++

2012-11-22 Thread lucio
> On Thu, Nov 22, 2012 at 07:47:07PM +0200, lu...@proxima.alt.za wrote: >> > a computer is a multiple purpose device, not an education. >> >> Prove it. >> > > Have you even contacted IAEP or one of the dozens of OLPC working groups > in your area? Sounds more like an accusation than a response

[9fans] C++

2012-11-22 Thread Winston Kodogo
Ay, Curamba! This discussion is exactly why we need Boyd. But, let the record show, C++ has been scientifically shown to be an unbelievably crap and monstrously complex language, even though I earn my daily bread by using it. I was a contemporary of Dr Stroustrup when he was spending his time dra

Re: [9fans] c++

2012-11-22 Thread erik quanstrom
> To put it another way, I consider emotional arguments about programming > languages so unimportant that they pale in comparison to encouraging my > daughter to eat a healthy breakfast; starving kids in other countries > didn't even enter my mind. emotional areguments are poor arguments, regardle

Re: [9fans] c++

2012-11-22 Thread Bakul Shah
On Nov 22, 2012, at 10:12 AM, lu...@proxima.alt.za wrote: >> I remembering finding Iverson's book "A Programming Language" quite >> interesting. > > I don't remember the book any more, but I did read the library copy in > its entirety, maybe even more than once and was thrilled when the > unive

Re: [9fans] c++

2012-11-22 Thread Bakul Shah
On Nov 22, 2012, at 10:02 AM, Charles Forsyth wrote: > I remembering finding Iverson's book "A Programming Language" quite > interesting. I highly recommended Iverson's Turing Award lecture "Notation as a tool of thought". http://www.jsoftware.com/papers/tot.htm http://awards.acm.org/images/

Re: [9fans] c++

2012-11-22 Thread Matthew Veety
Only if she give me free healthcare and hookers. -- Veety

Re: [9fans] c++

2012-11-22 Thread Matthew Veety
On Thu, 22 Nov 2012, Richard Miller wrote: 9th grade is usually 1st year "high school" in the us. DeutschlandUSA - - Hochschule college Gymnasium high school Sporthalle gymnasium I thought that Uni was equal to college here in

Re: [9fans] c++

2012-11-22 Thread Kurt H Maier
On Thu, Nov 22, 2012 at 12:45:51PM -0500, Dan Cross wrote: > Thanks for making my point for me. Someone had to. It sure wasn't you.

Re: [9fans] c++

2012-11-22 Thread Kurt H Maier
On Thu, Nov 22, 2012 at 07:47:07PM +0200, lu...@proxima.alt.za wrote: > > a computer is a multiple purpose device, not an education. > > Prove it. > Have you even contacted IAEP or one of the dozens of OLPC working groups in your area?

Re: [9fans] c++

2012-11-22 Thread Richard Miller
>> I remembering finding Iverson's book "A Programming Language" quite >> interesting. > ... > Today it is just a topic for nostalgic conversation, What Iverson did next: http://9fans.net/archive/2009/07/265

Re: [9fans] c++

2012-11-22 Thread lucio
> Books do still get printed btw. I'm still looking for a copy of Hollindale and Toothill's "Digital Computers" (from memory, of course), which I remember being another of the formative books I was privileged to read. ++L

Re: [9fans] c++

2012-11-22 Thread lucio
> I remembering finding Iverson's book "A Programming Language" quite > interesting. I don't remember the book any more, but I did read the library copy in its entirety, maybe even more than once and was thrilled when the university almost accidentally got an APL interpreter from Univac for their

Re: [9fans] c++

2012-11-22 Thread tlaronde
On Thu, Nov 22, 2012 at 05:40:25PM +, Pavel Klinkovsky wrote: > > and even that aside, can you cite studies that show that the choice of > > programming > > language is the dominant term in determining the error rate of the resulting > > code? > > Could it help? > http://archive.adaic.com/int

Re: [9fans] c++

2012-11-22 Thread lucio
> PS2 development is generally too expensive for the cost model of education > games, sadly. Thanks, that helps. If anyone knows something that contradicts the above, I'd be keen to hear it. ++L

Re: [9fans] c++

2012-11-22 Thread lucio
> No doubt. As a learning exercise, such things are great. But I don't know > that the brand of brevity engendered by APL really leads to fewer defects. No, although you don't have to look as far to find the errors :-) ++L

Re: [9fans] c++

2012-11-22 Thread lucio
> In the big scheme of things, absolutely none of this matters. Whether one > programs in Java, C, Go, COBOL or 370 assembler doesn't really make any > difference; one could die tomorrow, and would anyone care what language > s/he programmed in? really? This world has bigger problems than that.

Re: [9fans] c++

2012-11-22 Thread Paul Lalonde
PS2 development is generally too expensive for the cost model of education games, sadly. On Thu, Nov 22, 2012 at 9:39 AM, wrote: > > A friend is developing such > > web/tablet based lessons for similar kids in India (India has as big a > > problem of poor ed. as the whole of Africa). > > The BB

Re: [9fans] c++

2012-11-22 Thread Dan Cross
On Nov 22, 2012 12:43 PM, wrote: > > Ha! Ever programmed in APL? > > Don't knock it, to learn APL I had to "shift paradigm" and it was a > very important lesson in my programming education. No doubt. As a learning exercise, such things are great. But I don't know that the brand of brevity engend

Re: [9fans] c++

2012-11-22 Thread lucio
> a computer is a multiple purpose device, not an education. Prove it. ++L

Re: [9fans] c++

2012-11-22 Thread Dan Cross
Thanks for making my point for me. On Nov 22, 2012 12:13 PM, "Kurt H Maier" wrote: > On Thu, Nov 22, 2012 at 09:38:06AM -0500, Dan Cross wrote: > > Personally, I think that all of this language posturing is > > "geekier-than-thou" nonsense. > > And the rest of this email is "wiser-than-thou" bull

Re: [9fans] c++

2012-11-22 Thread Dan Cross
Nor should you. What she eats is my problem not yours, and it's an incredibly minor problem. Like, only a little more important than worrying about C++ and Java. On Nov 22, 2012 12:33 PM, "hiro" <23h...@gmail.com> wrote: > dan, I don't care about your children. > >

Re: [9fans] c++

2012-11-22 Thread lucio
> dan, I don't care about your children. You may sing a different tune if/when Dan's daughter becomes the President of the USA. ++L

Re: [9fans] c++

2012-11-22 Thread Pavel Klinkovsky
> and even that aside, can you cite studies that show that the choice of > programming > language is the dominant term in determining the error rate of the resulting > code? Could it help? http://archive.adaic.com/intro/ada-vs-c/cada_art.html Pavel

Re: [9fans] c++

2012-11-22 Thread lucio
> Ha! Ever programmed in APL? Don't knock it, to learn APL I had to "shift paradigm" and it was a very important lesson in my programming education. ++L

Re: [9fans] c++

2012-11-22 Thread hiro
On Thu, Nov 22, 2012 at 5:32 PM, Richard Miller <9f...@hamnavoe.com> wrote: >> 9th grade is usually 1st year "high school" in the us. > > DeutschlandUSA > - - > Hochschule college > Gymnasium high school > Sporthalle gymnasium > > It's

Re: [9fans] c++

2012-11-22 Thread lucio
> A friend is developing such > web/tablet based lessons for similar kids in India (India has as big a > problem of poor ed. as the whole of Africa). The BBC reports exceptional success by some NGOs introducing tablets in rural (central) Africa amongst children. But the price is wrong. Scrappy,

Re: [9fans] c++

2012-11-22 Thread lucio
> so that's just an anecdote. i'd like to know more about the subject. It's not going to be a popular subject, I don't think your curiosity will be rewarded. I do agree that culture is very important. I also think that I was extremely lucky to learn computing at the time when there were many di

Re: [9fans] c++

2012-11-22 Thread Bakul Shah
On Thu, 22 Nov 2012 18:22:33 +0100 tlaro...@polynum.com wrote: > On Thu, Nov 22, 2012 at 05:18:03PM +, Charles Forsyth wrote: > > Yes, that would be silly. You need only the screwdriver, provided it's soni > c, > > but I suppose that just emphasises your point about tools. > > > > You did no

Re: [9fans] c++

2012-11-22 Thread tlaronde
On Thu, Nov 22, 2012 at 05:18:03PM +, Charles Forsyth wrote: > Yes, that would be silly. You need only the screwdriver, provided it's sonic, > but I suppose that just emphasises your point about tools. > You did not get the big picture: the screwdriver is for the engine; the hammer is to deal

Re: [9fans] c++

2012-11-22 Thread Kurt H Maier
On Thu, Nov 22, 2012 at 09:38:06AM -0500, Dan Cross wrote: > Personally, I think that all of this language posturing is > "geekier-than-thou" nonsense. And the rest of this email is "wiser-than-thou" bullshit. Programming languages ARE tools. If you enjoy using shitty tools to earn your living,

Re: [9fans] c++

2012-11-22 Thread Dan Cross
On Nov 22, 2012 9:56 AM, "dexen deVries" wrote: > > On Thursday 22 of November 2012 09:38:06 Dan Cross wrote: > > In the big scheme of things, absolutely none of this matters. Whether one > > programs in Java, C, Go, COBOL or 370 assembler doesn't really make any > > difference; one could die tom

Re: [9fans] c++

2012-11-22 Thread Dan Cross
On Nov 22, 2012 9:50 AM, "erik quanstrom" wrote: > > i agree with your point. but i think that you the statments you point > out are hyperbole. That is fair to an extent. > > In the big scheme of things, absolutely none of this matters. Whether one > > programs in Java, C, Go, COBOL or 370 ass

Re: [9fans] c++

2012-11-22 Thread Bakul Shah
On Nov 22, 2012, at 8:06 AM, lu...@proxima.alt.za wrote: >> Of course, it depends on the problem considered. But I think the big >> problems in the world have little to do with programming languages, >> particularly c++, which is the topic at hand. > > Well, in the unequal world of long-post-apar

Re: [9fans] c++

2012-11-22 Thread Richard Miller
> 9th grade is usually 1st year "high school" in the us. DeutschlandUSA - - Hochschule college Gymnasium high school Sporthalle gymnasium

Re: [9fans] c++

2012-11-22 Thread erik quanstrom
On Thu Nov 22 11:15:36 EST 2012, lu...@proxima.alt.za wrote: > > and even that aside, can you cite studies that show that the choice of > > programming > > language is the dominant term in determining the error rate of the resulting > > code? > > Come on, Erik, are you suggesting that because the

Re: [9fans] c++

2012-11-22 Thread lucio
> it's an Xbox game. and yes, you > need it ;) Xbox-360? Surely it runs IBM code? :-) ++L

Re: [9fans] c++

2012-11-22 Thread lucio
> Great, you have my admiration, for what's worth. I truly mean that, no > sarcasm or anything alike. It would be much better if I could offer my > support instead, and maybe some day I could try to do something > similar as you are. Nice as it is to receive support, I must warn you that I have no

Re: [9fans] c++

2012-11-22 Thread Nemo
it's an Xbox game. and yes, you need it ;) On Nov 22, 2012, at 4:37 PM, lu...@proxima.alt.za wrote: >> Halo 4 > > Whatever it is, I haven't needed it in the past 38 years, should I > have? > > ++L >

Re: [9fans] c++

2012-11-22 Thread tlaronde
On Thu, Nov 22, 2012 at 11:00:51AM -0500, erik quanstrom wrote: > > putting aside that i don't believe that the big problems like war and hunger > have anything to do with programming errors, There have been already numerous hundreds of millions if not billions of money losses by financial t

Re: [9fans] c++

2012-11-22 Thread lucio
> and even that aside, can you cite studies that show that the choice of > programming > language is the dominant term in determining the error rate of the resulting > code? Come on, Erik, are you suggesting that because there are no studies, the situation could not exist? It is only my opinion,

Re: [9fans] c++

2012-11-22 Thread Christopher Nielsen
Exactly this, Dan. Thanks. On Thu, Nov 22, 2012 at 6:38 AM, Dan Cross wrote: > Personally, I think that all of this language posturing is > "geekier-than-thou" nonsense. > > Calling C++ or Java a disease? Really? > Suggesting that if you use one of those languages you're somehow mentally > defic

Re: [9fans] c++

2012-11-22 Thread Hugo Rivera
Great, you have my admiration, for what's worth. I truly mean that, no sarcasm or anything alike. It would be much better if I could offer my support instead, and maybe some day I could try to do something similar as you are. 2012/11/22 : >> Of course, it depends on the problem considered. But I

Re: [9fans] c++

2012-11-22 Thread Bakul Shah
On Nov 22, 2012, at 8:00 AM, erik quanstrom wrote: > and even that aside, can you cite studies that show that the choice of > programming > language is the dominant term in determining the error rate of the resulting > code? Buffer overflow exploits.

Re: [9fans] c++

2012-11-22 Thread erik quanstrom
> Well, in the unequal world of long-post-apartheid rural South Africa > where I live, my hope is to teach unspoilt, but also uneducated kids > programming using Go on a Plan 9 platform (the teaching, mostly). > Doing the same in C++ or Java would demand much more effort on my part > and much more

Re: [9fans] c++

2012-11-22 Thread lucio
> Of course, it depends on the problem considered. But I think the big > problems in the world have little to do with programming languages, > particularly c++, which is the topic at hand. Well, in the unequal world of long-post-apartheid rural South Africa where I live, my hope is to teach unspoi

Re: [9fans] c++

2012-11-22 Thread erik quanstrom
On Thu Nov 22 10:48:35 EST 2012, tlaro...@polynum.com wrote: > On Thu, Nov 22, 2012 at 03:54:11PM +0100, Hugo Rivera wrote: > > > > Of course, it depends on the problem considered. But I think the big > > problems in the world have little to do with programming languages, > > particularly c++, whi

Re: [9fans] c++

2012-11-22 Thread lucio
> C++ and java feel highly inconsistent and are full of stupid busywork > and strange programming philosophies that you have to "learn" about, Chances are Go would not be what it is, if it was anything at all, without the mistakes of C++ and Java (the latter are a mystery to me I am not even remot

Re: [9fans] c++

2012-11-22 Thread tlaronde
On Thu, Nov 22, 2012 at 03:54:11PM +0100, Hugo Rivera wrote: > > Of course, it depends on the problem considered. But I think the big > problems in the world have little to do with programming languages, > particularly c++, which is the topic at hand. But you are wrong... There are numerous big a

Re: [9fans] c++

2012-11-22 Thread lucio
> Halo 4 Whatever it is, I haven't needed it in the past 38 years, should I have? ++L

Re: [9fans] c++

2012-11-22 Thread dexen deVries
On Thursday 22 of November 2012 09:38:06 Dan Cross wrote: > In the big scheme of things, absolutely none of this matters. Whether one > programs in Java, C, Go, COBOL or 370 assembler doesn't really make any > difference; one could die tomorrow, and would anyone care what language > s/he programme

Re: [9fans] c++

2012-11-22 Thread Bakul Shah
On Nov 22, 2012, at 9:54 AM, Balwinder S Dheeman wrote: > >> > Me, OTOH, would like see Go go out of fashion ASAP; What's so special a C/C++ > programmer can't do what she/he can do with Go? Is this opinion born out of experience with Go or due to a lack of experience? They are all Turing c

Re: [9fans] c++

2012-11-22 Thread erik quanstrom
i agree with your point. but i think that you the statments you point out are hyperbole. > In the big scheme of things, absolutely none of this matters. Whether one > programs in Java, C, Go, COBOL or 370 assembler doesn't really make any > difference; one could die tomorrow, and would anyone ca

Re: [9fans] c++

2012-11-22 Thread Dan Cross
Personally, I think that all of this language posturing is "geekier-than-thou" nonsense. Calling C++ or Java a disease? Really? Suggesting that if you use one of those languages you're somehow mentally deficient? Really? Suggesting someone change jobs because they're asked to program in C++? Re

Re: [9fans] c++

2012-11-22 Thread Dan Cross
VisitorFactoryBuilderFactorySingletonDecoratorFactory. On Thu, Nov 22, 2012 at 6:57 AM, Charles Forsyth wrote: > I'm writing Java now, after a long gap, and it's ok. > It has its share of annoying aspects, but it's not too bad. > Java is a bit like a high-level assembler for the JVM, > and there

Re: [9fans] c++

2012-11-22 Thread erik quanstrom
On Thu Nov 22 08:50:13 EST 2012, 23h...@gmail.com wrote: > Java was not in high school, but in 9th grade in a normal German school. i think you're trying to make a subtile distinction about the german educational system using american terms. if so, it would be much less confusing with untranslate

Re: [9fans] c++

2012-11-22 Thread David Leimbach
My advice. Read Scott Meyer's books on Effective C++. He's probably the most sane of the authors out there. Also Exceptional C++ isn't too bad by Herb Sutter. It's a bunch of "puzzles" which are kind of fun to work out but will reveal ignorance at the same time. C++ Gotchas is kind of a fun bo

Re: [9fans] c++

2012-11-22 Thread David Leimbach
On Mon, Nov 19, 2012 at 7:10 AM, Kurt H Maier wrote: > On Mon, Nov 19, 2012 at 09:56:33AM -0500, Calvin Morrison wrote: > > On 19 November 2012 04:59, Steve Simon wrote: > > > > Isn't all C code valid C++? problem solved. > > > As of c99, they have diverged. > > They weren't the same in 1998 eit

Re: [9fans] c++

2012-11-22 Thread hiro
Java was not in high school, but in 9th grade in a normal German school. On Thu, Nov 22, 2012 at 2:13 PM, Hugo Rivera wrote: > Wow, C++ and Java in high school... > We had nothing like that. Probably because I come from an > underdeveloped country; but I don't know, maybe having nothing to > lear

  1   2   3   >