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.

A crash course in compilers (2018)

480 pointsby cristoperbabout 5 years ago

11 comments

clircleabout 5 years ago
&gt; The decision to adopt or avoid a language is always a mix of their perceived formal power (“Does this language even have this particular feature?”), employability (“Will this language get me a job?”), and popularity (“Does anyone important use this language anymore?”).<p>I&#x27;m a statistician. I&#x27;ve always wondered what it&#x27;s like to grapple with the question of what programming language to use. In statistics, the choice is very obvious: use R. If that&#x27;s not fast enough, use Rcpp. This is definitely a good thing, because all academic statisticians in a certain age range speak R, so interfacing work is not so painful, but maybe a bad thing because statisticians don&#x27;t really understand the pros and cons of many languages? If Julia blows up, maybe we will have to get smart on these differences.<p>Granted the workflow is probably the same in any language: clean data, model data, graph data.
评论 #22766335 未加载
评论 #22766277 未加载
pansa2about 5 years ago
This article’s introduction includes:<p>&gt; Diving deeper into program language theory is a great way to grow as a developer.<p>But does anything in this article really count as programming language theory? I’ve always considered PLT to mean things like type theory and formal semantics, which are quite separate from the practical implementation of compilers.<p>I’ve been put off designing a programming language, even a dynamically-typed scripting language, because I’m just not that interested in PLT. I’m much more interested in the subject of this article (the implementation of compilers and interpreters) than in the math behind type systems.<p>Do you think it’s possible to design a successful language without knowledge of PLT? Or should I stick to working on compilers for existing languages?
评论 #22768269 未加载
评论 #22769087 未加载
评论 #22768279 未加载
评论 #22768820 未加载
评论 #22768708 未加载
评论 #22768321 未加载
chrisseatonabout 5 years ago
I had no idea Stripe had this sort of technical journal - in print as well? Extraordinary.
评论 #22765820 未加载
评论 #22765011 未加载
评论 #22782779 未加载
评论 #22765218 未加载
Yhippaabout 5 years ago
This is the first time I&#x27;ve heard of Increment. Is there a way to financially support them without having dead trees sent to me? Really impressed by the quality and thought that&#x27;s gone into these articles.
评论 #22786860 未加载
评论 #22766049 未加载
spinlock_about 5 years ago
I&#x27;m almost done with &quot;Writing an interpreter in Go&quot;[0] which I highly recommend. Even though it&#x27;s less theoretical than the usual books in this area I learned a ton of practical stuff and a lot of things I &quot;knew&quot; from more theoretical sources make now much more sense. Looking forward to work through the second book of the series [1] which is aimed at compilers.<p>[0]:<a href="https:&#x2F;&#x2F;interpreterbook.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;interpreterbook.com&#x2F;</a><p>[1]: <a href="https:&#x2F;&#x2F;compilerbook.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;compilerbook.com&#x2F;</a>
评论 #22767662 未加载
saagarjhaabout 5 years ago
Good stuff. One minor issue I had was that the GitHub links don&#x27;t point to specific commits, so they&#x27;ve decayed: either they point at different code now, or the files they referred to are gone now :(
OwnsEabout 5 years ago
I think this is exactly what people need. That is, something quick and a bit humorous yet informative; something that gives you a high-level overview, so that you don&#x27;t get baffled by the 1000-page thick Dragon book or whatnot.
评论 #22768013 未加载
joatmon-snooabout 5 years ago
I&#x27;m thoroughly entertained by seeing &quot;ALSO IN THIS ISSUE: It doesn’t have to be Turing complete to be useful&quot; right next to &quot;The decisive factor in what makes something a programming language (or not) is known as Turing completeness.&quot;
person_of_colorabout 5 years ago
Has anyone taken the Stanford Compilers MOOC? Worth it?
评论 #22767480 未加载
评论 #22765767 未加载
评论 #22765342 未加载
bogomipzabout 5 years ago
These covers look great and fun. I would love to buy PDF version of these. Is this an option? I&#x27;m jus totally out book space at the moment.
jishiav042about 5 years ago
This is such a great website.