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.

Driving Compilers (2023)

92 pointsby misonic14 days ago

3 comments

Timwi13 days ago
I share the frustration the author describes. When I started out programming as a child, I used Turbo Pascal, but I was aware of Turbo C and that more people used that than Pascal. Nevertheless, I couldn&#x27;t really wrap my head around C at the time, and it was partly due to linker errors that I couldn&#x27;t understand; and it seemed that Turbo Pascal just didn&#x27;t use a linker, so it was easier to understand and tinker with at age 9.<p>It&#x27;s intriguing to think how different my experience could have been if educational material at the time had focused as much on full explanations of the compiler+linker process, including example error conditions, as it did on teaching the language.<p>30 years later, I like to claim that I have a reasonably workable understanding of how compilers work, but I&#x27;m still nebulous on how linkers do what they do. I&#x27;m much more comfortable with higher-level compilers such as C# that compile to a VM bytecode (IL) and don&#x27;t worry about linkers.
评论 #43896256 未加载
评论 #43896155 未加载
评论 #43893984 未加载
评论 #43893689 未加载
评论 #43895814 未加载
lynx9713 days ago
Nitpick: Almost all Hello World C examples are wrong. printf is for when you need to use a format string. Hello World doesn&#x27;t. Besides:<p>&gt; puts() writes the string s and a trailing newline to stdout.<p>int main() { puts(&quot;Hello World!&quot;); }
评论 #43895373 未加载
评论 #43892747 未加载
评论 #43895559 未加载
评论 #43892543 未加载
评论 #43894243 未加载
评论 #43893986 未加载
评论 #43894958 未加载
stef-1301313 days ago
Really nice, thanks !!