TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What I wished I knew when learning C

3 pointsby smartis28126 months ago

1 comment

taylodl6 months ago
One of the things people nowadays overlook is back in the 70s and 80s when people were first learning C and C ascended to being a dominant language we know today, the people learning C were coming from a background of assembler programming. The original promise of C was being able to be <i>almost as fast</i> of an execution as assembler. I still remember the day I was able to write an OS driver in C instead of assembly and it executed just fine on a 25 MHz 486. I don&#x27;t think I ever wrote any more assembly after that.<p>A few years after that, C++ became the new hotness. The shop I was working at adopted C++ immediately - even though we weren&#x27;t doing any object-oriented programming and had no intention of doing so anytime in the near future. It was simply a better C. I wrote very little pure C after that.<p>As far as learning C&#x2F;C++ today? Only for systems programming, embedded systems, and maybe games. I wouldn&#x27;t write an application in either language. The goal is, and has always been, to use the highest-level language you can that still has the performance you need.