Better HN
topnewbestaskshowjobs
Log inSign up

antimetropic

11 karma · joined Mar 18, 2020 (6y ago) · 6 submissions

Submissions

comment 6y ago · link · parent

There may be other languages that have taken a similar approach—I’m not up to speed on that—but simplifying elements of the language design to enable fast compilation was definitely a conscious design choice for Go.

See Rob Pike’s 2012 talk “Go at Google: Language Design in the Service of Software Engineering”

video + slides: https://www.infoq.com/presentations/Go-Google/

transcript: https://talks.golang.org/2012/splash.article#TOC_5.

Some of the things it calls out:

  - unused dependencies are a compile-time error

  - dependency graph has no cycles

  - importing a package only looks at object files, not source files, so template/macro stuff is generally out

  - declaration order is reverse from that of C so that parsing code is faster and easier

comment 6y ago · link · parent

Thanks, I’ll take a look!

comment 6y ago · link · parent

I recently read Gleick’s biography of Newton and highly recommend it. It’s pretty short, quotes part of this article by Keynes with a lot more context, and paints a portrait both fascinating and disturbing: to come from nothing, to start with nothing, not even having the concepts of velocity or force; to invent them, and calculus, and to develop such a deep understanding of nature to successfully compute the shape of the earth as an oblate spheroid, all from first principles, in the 1600s; to conceal nearly all of these discoveries; and then pursue things that “should all seem a crass and empty ambition once you have written a Principia.”

4.

Compiling HTML to Markdown with TypeScript: How 2md Works(2md.ca ↗)

2 points · by antimetropic · 6y ago · discuss

comment 6y ago · link · parent

Click through to the codepen links at the end. They’re rendering in Firefox and Chrome for me, though slightly differently, and with Safari I don’t see the lines at all.

comment 6y ago · link · parent

Any software recommendations for this? I really like my iPad Pro for all sorts of other reasons, but until seeing your comment I didn’t realize that 3d scanning with the depth camera was a thing, and am now interested in trying it out.