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.

First C compiler ported to GCC

137 pointsby vegesmabout 4 years ago

5 comments

ggmabout 4 years ago
The<p><pre><code> a[b] implemented as *(a+b) </code></pre> Thing, is how we were taught to think about array indexing in the CS lectures of the 70s
评论 #26722154 未加载
评论 #26721723 未加载
评论 #26722788 未加载
评论 #26723185 未加载
评论 #26721975 未加载
burstmodeabout 4 years ago
Did this compiler really support &quot;auto&quot; as a variable type, as seen in example fizzbuzz ?
评论 #26721250 未加载
评论 #26721232 未加载
评论 #26721244 未加载
评论 #26721238 未加载
评论 #26725272 未加载
评论 #26721243 未加载
Taniwhaabout 4 years ago
&quot;The compiler runs only in 32 bit mode as the original code assumes that the pointer size and word size are the same.&quot; ... which was um, 16-bits
评论 #26721393 未加载
评论 #26721389 未加载
29athrowawayabout 4 years ago
If the first C compiler was written in C... how could it be first C compiler? How could you compile the first C compiler?
评论 #26721344 未加载
评论 #26721729 未加载
评论 #26721386 未加载
评论 #26725283 未加载
评论 #26735447 未加载
评论 #26721427 未加载
评论 #26721374 未加载
polskaabout 4 years ago
I do not understand why we should create a C compiler ported to GCC.
评论 #26722985 未加载