Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Advocacy > What happened t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 2408 of 2475
Post > Topic >>

What happened to Double Buffering?

by Roedy Green <see_website@[EMAIL PROTECTED] > Jun 23, 2008 at 01:54 AM

I put in  primitive sort of progress meter into a little Java program
that read a large CSV file [System.out.print(".")]  I was quite
surprised to discover I could easily see the pause when it read the
next buffer full -- synched with the disk light. (Maybe I err. Maybe I
was seeing GCs).

Way way back in the olden days when computers had about 16K and you
coded in assembler, we did double buffering.  In other words, when you
were reading a sequential file, you processed one buffer while the i/o
hardware was filling the other.  This was the NORMAL way of doing
things.  Later, double buffering was built in to COBOL. You got it by
default without writing any code.

Today, when we have RAM coming out our ears we have reverted back to
SINGLE buffering.  We alternate between processing and waiting for I/O
on the same buffer.

What is the matter with us? It is as though we imagine we still have a
single threaded DOS OS.

-- 

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
 




 10 Posts in Topic:
What happened to Double Buffering?
Roedy Green <see_websi  2008-06-23 01:54:08 
Re: What happened to Double Buffering?
Daniel Pitts <newsgrou  2008-06-22 21:50:13 
Re: What happened to Double Buffering?
Roedy Green <see_websi  2008-06-24 09:15:06 
Re: What happened to Double Buffering?
Roedy Green <see_websi  2008-06-24 09:53:25 
Re: What happened to Double Buffering?
The Ghost In The Machine   2008-06-24 11:30:45 
Re: What happened to Double Buffering?
Lew <lew@[EMAIL PROTEC  2008-06-26 08:07:21 
Re: What happened to Double Buffering?
Roedy Green <see_websi  2008-07-01 02:39:05 
Re: What happened to Double Buffering?
The Ghost In The Machine   2008-07-01 14:00:00 
Re: What happened to Double Buffering?
Daniel Pitts <newsgrou  2008-06-24 13:04:34 
Re: What happened to Double Buffering?
Tim Smith <reply_in_gr  2008-06-26 03:01:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 15:02:07 CST 2008.