this post was submitted on 15 May 2024
163 points (94.5% liked)

Technology

55702 readers
4337 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 1 month ago* (last edited 1 month ago) (10 children)

Wonder what the reason was for so much being in raw assembly when C existed. A basic library/API would be one of the first things I'd tackle in an OS. Move on to a higher level as soon as you're able.

[–] bandwidthcrisis 11 points 1 month ago (3 children)

Not everyone knew C.

Lack of trust: what was it doing behind the scenes? What's if it just went and ..... allocated memory all by itself!!

Optimization wasn't so good back then. People believed that they could write better assembly. For speed and size.

Memory was tight. C would include big libraries even if only one function was needed. If "hello world" was several k in size, that added to the suspicion (even though that was a fixed overhead in practice).

[–] [email protected] 4 points 1 month ago (2 children)

People believed that they could write better assembly. For speed and size.

Now we know we can't write better C.

Though my teacher in tech school a few years ago ran an entire OS, where everything is written in assembler. What was it?

[–] [email protected] 4 points 1 month ago (1 children)

Maybe Kolibri OS?

Its an amazing project, booting from a single floppy disk into a full graphical OS with multiple tools. And that on PCs with almost no RAM.

I sometimes use it to backup ancient PCs.

[–] [email protected] 3 points 1 month ago

Yeah, sounds like this, thanks!

Makes me wonder why the suckless guys don't hook in there.

load more comments (6 replies)