For a language like C to have bounds checking, a compiler would have to insert code into the target object code file to check the bounds. Also, any arrays passed to a function as a pointer would also need to have the bounds passed in as well.
So that's two extra compare instructions per array index and an extra size_t per function call.
You can keep it.
By all means, make it an option. The C standard puts bounds breaking under a category called "Undefined behaviour", meaning that a compiler can do anything. Generate an error, core dump, make demons fly out of your nose.
I'd rather not have a bill of rights written by Tony Blair or Jack Straw thankyouverymuch.
Citizens have the right...... unless there are national security concerns, demands from tabloid newspapers or any other exception we happen to think of, no matter how stupid they may be.
Java requires a JVM interpreter, C does not require anything of the sort.
C is compiled for the target CPUs own machine code. Java needs an extra translation layer at run time.
The C integer types change with the CPU, so the "int" type is always the fastest integer about. Java integer types are fixed. (If you want integers of a certain size in C, use the new C99 types.)
I'm sceptical. I would doubt any review that puts Java even close to C in terms of raw performance of code.
Sure...
Java is (supposedly) easier.
Java code runs anywhere a JVM has been written. (BTW, my old 6502 driven 32k BBC micro had a C compiler. Could Java be run on this?)
The Java standard library includes a GUI.
Java is OO, but C can do OO with structs, pointers to functions and a bit of help from the pre-processor.
Certainly, I would advise any Brit wanting to start a website should seriously consider hiring a US based server, lest a competitor abuse the libel laws and have your web site pulled.
The English-and-Welsh libel laws put responsibility in the wrong place. Until the law is sorted, Britian will never be the place for e-commerce.
> What do you do propose to do when slashdot > joins the thousand other usenet topics that > are slammed with junk?
Really, both/. and usenet have our fair share of idiots.
Dispite the/. moderation. I still see articles by idiots shouting "First post!"
As for spam on usenet. I'm a regaular poster to many (15 ish) newsgroups, and yet I get no junk in email these days, and I post with a genuine email address. (In my reply-to field.)
Slashdot is great news site, but (IMO) it's forums are a bad usenet wannabe. I can choose my newsreader. I can even write my own (or find someone else to do it) if I can't find one I like. I can tailor a newsreader to my likes and set up the most complex filtering criteria. If slashdot breaks, no discussion. If one usenet server breaks, the rest of the world can continue. How about turning the slashdot discussion board programs into a news reader pointing at one particular thread in an appropiate newsgroup? (I'll help!) Bill, likes usenet, lots.
Bill, off down the patent office.
Give true usenet a try. You'll
wonder why you put up with Web forums for
so long.
Bill, likes usenet.
No need for a panel, I'll give you the technical details for nothing.
Is there any way Yahoo can detect if a client request came from France?
No.
International phone calls, proxies or anonymizers can handle the HTTP.
Mailbox services, post office redirection service or even just getting a friend to forward the stuff will handle delivery of items.
It won't take a French person much trouble to buy some Nazi history. He could move abroad without leaving France.
For a language like C to have bounds checking, a compiler would have to insert code into the target object code file to check the bounds. Also, any arrays passed to a function as a pointer would also need to have the bounds passed in as well.
So that's two extra compare instructions per array index and an extra size_t per function call.
You can keep it.
By all means, make it an option. The C standard puts bounds breaking under a category called "Undefined behaviour", meaning that a compiler can do anything. Generate an error, core dump, make demons fly out of your nose.
But require bounds checking. No thanks.
Bill, likes C.
I'd rather not have a bill of rights written by Tony Blair or Jack Straw thankyouverymuch.
Citizens have the right ...... unless there are national security concerns, demands from tabloid newspapers or any other exception we happen to think of, no matter how stupid they may be.
My old 1200 bps mpdem is obsolete. I replaced it.
Have a read...
Pete's a genius, and his artwork has improved over the years.
Bill, sluggy fan.
I'm sceptical. I would doubt any review that puts Java even close to C in terms of raw performance of code.
Sure...
Bill, embedded software developer.
Certainly, I would advise any Brit wanting to
start a website should seriously consider
hiring a US based server, lest a competitor
abuse the libel laws and have your web site
pulled.
The English-and-Welsh libel laws put
responsibility in the wrong place. Until
the law is sorted, Britian will never be
the place for e-commerce.
As a Brit myself, this is depressing.
Say I set up a shell script to mail a
notification for every single usenet article.
What's a news admin to do?
If it's reasonable to respond to one complaint,
but unreasonable to respond to all, where's
the line?
Dear Sir,
I am writing to inform you that all discussion
messages published on the slashdot.org web site
are libelous, except those written my myself.
Please pay me more money than I deserve or
remove said messages.
Thank you for your co-operation.
Bill, no relation.
> What do you do propose to do when slashdot
/. and usenet have our fair share
/. moderation. I still see articles
> joins the thousand other usenet topics that
> are slammed with junk?
Really, both
of idiots.
Dispite the
by idiots shouting "First post!"
As for spam on usenet. I'm a regaular poster to
many (15 ish) newsgroups, and yet I get no junk
in email these days, and I post with a genuine
email address. (In my reply-to field.)
Slashdot is great news site, but (IMO) it's forums are a bad usenet wannabe. I can choose my newsreader. I can even write my own (or find someone else to do it) if I can't find one I like. I can tailor a newsreader to my likes and set up the most complex filtering criteria. If slashdot breaks, no discussion. If one usenet server breaks, the rest of the world can continue. How about turning the slashdot discussion board programs into a news reader pointing at one particular thread in an appropiate newsgroup? (I'll help!) Bill, likes usenet, lots.