A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » Processors » Intel
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

AMD "long mode" deficiencies ( Of what use 64-bit "General Purpose" registers?)



 
 
Thread Tools Display Modes
  #2  
Old June 23rd 03, 10:41 PM
Forrest Gump
external usenet poster
 
Posts: n/a
Default

On Mon, 23 Jun 2003 16:56:20 -0400, Eric Smith wrote:

I still maintain that C and C++ are terrible languages for constructing
large scale software systems.



My Momma told me to never take any toys from eunuchs.

She said to me I can basically do whatever I visualize,
so I program in Microsoft Visual Basic for $10 an hour.

Spanked me so hard she did when I spilled java-flavored coffee
on her keyboard as I danced while watching the Sun go down.
  #3  
Old June 23rd 03, 11:05 PM
Greg Lindahl
external usenet poster
 
Posts: n/a
Default

In article ,
Eric Smith wrote:

How is the compiler (or linker, or run time system) going to perform
automatic bounds checking to solve this problem?


You turn pointers into triples: (ptr, base, bound). Purify did this
ages ago, and gcc has a patch available to do it. It would be nice if
every C/C++ project had this kind of debugging used. At least we can
dream...

greg


  #5  
Old June 24th 03, 12:33 AM
Greg Lindahl
external usenet poster
 
Posts: n/a
Default

In article k.net,
Kojak wrote:

That gcc patch hasnt been updated in 3 years :-(


See:

http://web.inter.nl.net/hcc/Haj.Ten.Brugge/

For a patch relative to gcc-3.3, the latest version.

-- greg

  #6  
Old June 24th 03, 01:44 AM
Tom Thornhill
external usenet poster
 
Posts: n/a
Default

"Forrest Gump" wrote in message thlink.net...
On Mon, 23 Jun 2003 16:56:20 -0400, Eric Smith wrote:

I still maintain that C and C++ are terrible languages for constructing
large scale software systems.



My Momma told me to never take any toys from eunuchs.

She said to me I can basically do whatever I visualize,
so I program in Microsoft Visual Basic for $10 an hour.

Spanked me so hard she did when I spilled java-flavored coffee
on her keyboard as I danced while watching the Sun go down.


Java is to C what Ebonics is to English.



  #7  
Old June 24th 03, 11:54 PM
bill davidsen
external usenet poster
 
Posts: n/a
Default

In article ,
Carlo Razzeto wrote:

| --
| Eric
|
| The more I ponder the principles of language design, and the techniques
| which put them into practice, the more is my amazement and admiration of
| ALGOL 60. Here is a language so far ahead of its time, that it was not
| only an improvement on its predecessors, but also on nearly all its
| successors.
| -- C.A.R. Hoare, "Hints on Programming Language Design", 1974
|
|

Having done large (20k lines of code or more) projects in Ada and PL/I,
I'll take PL/I thanks. I agree with Hoare on Algol-60, my first language
after FORTRAN-II.

--
Bill Davidsen CTO, TMR Associates
As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and
this we should do freely and generously.
-Benjamin Franklin (who would have liked open source)
  #9  
Old June 25th 03, 02:31 AM
Eric Smith
external usenet poster
 
Posts: n/a
Default

Bernd Paysan writes:
It would be a lot easier to have a fool-proof buffer overflow exploit
preventer if you have two stacks: One for known fixed size data (and if you
can't know anything: a stack for return addresses only), and one for
possibly overflowing buffers.


Standard practice on the AMD 29000. Because an entire stack frame for
the main stack had to fit within the 128 local registers.
  #10  
Old June 25th 03, 04:40 AM
Carlo Razzeto
external usenet poster
 
Posts: n/a
Default

Biggest project I've done in C was 4000+ lines, which doesn't quite compare
to your 200K+ Ada project... But I still don't see what the problem with
C/C++ and dirivitive languages are... I honestly like them.

Carlo

"Eric Smith" wrote in message
...
(bill davidsen) writes:
Having done large (20k lines of code or more) projects in Ada and PL/I,
I'll take PL/I thanks. I agree with Hoare on Algol-60, my first language
after FORTRAN-II.


Having done large (200k lines of code or more) projects in Ada, and small
projects in PL/I, I'll take Ada any day. What problem did you have with
Ada?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie: OC Advice: AMDXP2200 CPU Donald Bock Overclocking AMD Processors 2 March 12th 05 12:14 AM
Promise PDC20276 in ATA133 mode: High CPU usage? Will Dormann Gigabyte Motherboards 2 May 18th 04 02:52 AM
Finding a fast matrix printer in graphics mode Andrew Mayo Printers 0 April 15th 04 02:35 PM
only certain Linux distros can use AMD 64 bit processor Daeron General 33 February 11th 04 02:52 PM
Get the Serial Number with Visual Basic Michael Wittmann Storage (alternative) 15 November 15th 03 06:03 PM


All times are GMT +1. The time now is 12:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.