K-Tec

What's the equivalent of 32KB?

More
17 years 1 month ago #53754 by jhoare
Replied by jhoare on topic Re: What's the equivalent of 32KB?

32Kbytes is 32 * 1024 * characters (Characters in the Ascii standard are representable as a byte )
So that is 32768 characters and given that most lines of text are about 80 characters, that represents 410 lines of text.
Walter Scott Houston's book Deep Sky Wonders has approximately 44 lines per page, so 32 Kbytes would present about 9 pages of text in his book


Except that UTF-8 and just about every modern character encoding scheme uses two bytes rather than 1 .... so half that :)

Most modern tools like Java will use single byte representation where possible.
Go check it out with this sample:
[code:1]
Byte byteStr[] = "a".getBytes();
System.out.println("Length of byte representation: "+byteStr.length);
[/code:1]


Modern? It was released in 1995, 4 years after its initial conception. That's positively ancient by IT standards :)

I've been complaining about 'Java performance' for almost as long, but I must confess the truth - what I've really been complaining about is probably the poor quality of code in the Java apps I've had to use. Java's biggest weakness is that so many Java 'programmers' learned the craft in certification sweatshops and have no real appreciation of the need for explicit memory management, overflow checks, explicit size limits, and other useful features that are included in good code. I gave up programming before Java and never even learned it, yet even I have immediately spotted flaws in some of the hokiest code examples I've been shown.

John

Better that old people should die of talk than to have young people die in war.

Please Log in or Create an account to join the conversation.

  • DaveGrennan
  • Offline
  • IFAS Astronomer of the Year 2010
  • IFAS Astronomer of the Year 2010
More
17 years 1 month ago #53765 by DaveGrennan
Replied by DaveGrennan on topic Re: What's the equivalent of 32KB?

When you go back to the early 80's then the ZX Spectrum had 48kb of memory and was capable of keeping us all amused for hours of computer games.


Ha pure luxury! I used to dream of 48K back in the days when I used a 1K Sinclair ZX81! Boy did you learn to write tight code back in the good ol days.

Wasn't it Bill Gates who once famously said, '640K ought to be enough for anyone'?

:)

Regards and Clear Skies,

Dave.
J41 - Raheny Observatory.
www.webtreatz.com
Equipment List here

Please Log in or Create an account to join the conversation.

More
17 years 1 month ago #53766 by voyager
Replied by voyager on topic Re: What's the equivalent of 32KB?

Wasn't it Bill Gates who once famously said, '640K ought to be enough for anyone'?

:)


It was indeed ... makes the big ball of bloat that is Vista even funnier :)

Bart.

My Home Page - www.bartbusschots.ie

Please Log in or Create an account to join the conversation.

More
17 years 1 month ago #53770 by jhoare
Replied by jhoare on topic Re: What's the equivalent of 32KB?
That's nothing compared to the IBM President who thought that the world might need 3(?) computers...

John

Better that old people should die of talk than to have young people die in war.

Please Log in or Create an account to join the conversation.

More
17 years 1 month ago #53778 by voyager
Replied by voyager on topic Re: What's the equivalent of 32KB?

That's nothing compared to the IBM President who thought that the world might need 3(?) computers...


The quote is "maybe 5". Yea, pretty short-sighted :)

My Home Page - www.bartbusschots.ie

Please Log in or Create an account to join the conversation.

More
17 years 1 month ago #53783 by Seanie_Morris
Replied by Seanie_Morris on topic Re: What's the equivalent of 32KB?
A world market for maybe 5 computers, 640k base should be enough for anyone... and today, my keyboard driver alone is bigger in 'bits' that the whole drive console of the Apollo 11 Lunar Command Module! :D

Midlands Astronomy Club.
Radio Presenter (Midlands 103), Space Enthusiast, Astronomy Outreach Co-ordinator.
Former IFAS Chairperson and Secretary.

Please Log in or Create an account to join the conversation.

Time to create page: 0.118 seconds
Powered by Kunena Forum