Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by hackyhacky

24 days ago

To avoid confusion, I always use "kilobyte" to refer to exactly 512 bytes.

3 comments

hackyhacky

Reply

1718627440  22 days ago

Why don't you use sectors for that?

  • hackyhacky  21 days ago

    Because sectors refer to disk storage. It sounds weird to say "I need to malloc 300 sectors."

cperciva  24 days ago

Not to be confused with a kilonibble, which is 500 bytes.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities