Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
prestonbriggs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
prestonbriggs
9y ago
At Tera, we were able to issue 1 instruction/cycle/CPU. The hardware could measure the number of missed opportunities (we called them phantoms) over a period of time, so we could report percent utilization accurately. Indeed, we c
62.
▲
by
prestonbriggs
9y ago
It does seem rather a shabby article. Out of all the ways we can imagine exercising, they compare 3 very mild approaches (plus not exercising) and someone proclaims one of them "the best"!? If you want to find an "optimal&quo
63.
▲
by
prestonbriggs
10y ago
When I buy books, I intend to read them; I expect Eco does too. I think the point is the library of as-yet-unread books is more interesting than the library of already-read books. And it differs from Wikipedia or the Amazon catalog; it'
64.
▲
by
prestonbriggs
10y ago
A friend wondered how they can make their improvements to SAXPY and claim they're correct w/o using the restrict keyword.
65.
▲
by
prestonbriggs
10y ago
Grrr. None of this (article or most of the comments) has much to do with Haskell. It applies to all languages, right? You implement an abstraction using an appropriate data structure, accounting for the frequency of various operation you pl
66.
▲
by
prestonbriggs
10y ago
Maybe. I think it'd be an interesting thing to study. When I was young and running a lot, I could beat (recreational) cyclists uphill, but they would smoke me on downhills. So there might be the kernel of a fun study there. I guess my
67.
▲
by
prestonbriggs
10y ago
For 100 meters from a standing start? He'd crush you. Time yourself someday.
68.
▲
by
prestonbriggs
10y ago
It's easy to beat a compiler in the small - just takes time & patience. But such an approach doesn't scale. We don't write tiny routines and throw them away; instead, we write big programs made of lots of routines & c
69.
▲
by
prestonbriggs
10y ago
Tediously! See: http://ultrasparky.org/school/pdf/Rhatigan_Monotype_4-line_m... This thesis actually describes a scheme Monotype developed to replace the older hand-setting approach (used through WWII). Nice intr
70.
▲
by
prestonbriggs
10y ago
But consider Buffon's Needle https://en.wikipedia.org/wiki/Buffon%27s_needle
71.
▲
Provenence for wikileaks material
2 points
by
prestonbriggs
10y ago
|
1 comments
72.
▲
by
prestonbriggs
10y ago
My favorite is "Tlön, Uqbar, Orbis Tertius". Still makes me smile to read it.
73.
▲
by
prestonbriggs
10y ago
A lot of the fun of the Plan 9 compiler and source organization is that it doesn't optimize; instead, it compiles fast. Like the whole OS in about a minute (on a Raspberry PI). Or maybe it's 2 minutes, I don't recall. The Go
74.
▲
by
prestonbriggs
10y ago
Of course not. But when you finish implementing Forth, you'll know how to implement forth, but not much else. But once you build a parser, you'll know how to build a parser for most any language. You don't have to learn every
75.
▲
by
prestonbriggs
10y ago
Sure he does... Anyone advocating for assembly language necessarily cares about registers.
76.
▲
by
prestonbriggs
10y ago
I disagree. Forth is cute and you'll learn some stuff, but you won't become a compiler wizard. You _need_ to learn how to do parsers and run-time systems and all the rest. Besides, it's fun!
77.
▲
by
prestonbriggs
10y ago
List seems inadequate. I guess it's enough to get you going working on compilers, but there's not much wizardly on that list. Read papers. Learn about data-flow analysis and optimization. Learn code generation (instruction selecti
78.
▲
by
prestonbriggs
11y ago
My wife cooks entirely w/o oil. Lots of vegetable broth. As a bonus, makes washing up a lot easier.
79.
▲
by
prestonbriggs
11y ago
Tweets, schmeets. He can ignore 'em all the doo-dah day. Send him a letter.
80.
▲
by
prestonbriggs
11y ago
Looking at Shutt's thesis (I've just started), he makes the point that Scheme is pretty 1st class, but not entirely: It has a few reserved forms, e.g., if, lambda, quote. This never particularly bothered me, but errhaps this is wh
81.
▲
by
prestonbriggs
11y ago
One of Shutt's advisors (on his thesis) was Shriram Krishnamurthi who certainly understands Scheme deeply. Makes me curious to read the thesis in an effort to understand what's new and interesting here.
82.
▲
by
prestonbriggs
11y ago
Chaitin published his stuff in the early 80s. Presumably the implementation is a bit older. But the idea of doing register allocation via graph coloring goes back to the late 60s and the idea of using graph coloring to minimize storage requ
83.
▲
by
prestonbriggs
11y ago
I've always liked Beta's approach to assignment, calls, and returns (whilst disliking most of the rest of its syntax, sigh). Assignments work left to right, approximately like this: (x, y) => (y, x) which swaps x and y
84.
▲
by
prestonbriggs
11y ago
Reminds me of Steele's Rabbit compiler (as noted by Appel and probably others). Always made a lot of sense to me, though I never worked out the details. I thought in terms of every basic block taking arguments (in registers), and every
85.
▲
by
prestonbriggs
11y ago
Cdr-coding is a fine way to take advantage of locality with linked lists, especially when the garbage collector is doing it for you, transparently. https://en.wikipedia.org/wiki/CDR_coding
86.
▲
by
prestonbriggs
11y ago
Knuth is posting source and you want the assembly?
87.
▲
by
prestonbriggs
11y ago
Using LP, comments can be arbitrarily formatted, with TeX equation handling, beautiful figures, tables, cross references, indices, table of contents, etc. Code can be presented in a way that best suits the reader (versus the writer or the c
88.
▲
by
prestonbriggs
11y ago
Stress is the point. You apply stress to your body and it adapts. Antifragile and all that...
89.
▲
by
prestonbriggs
11y ago
It's "Chomsky" of course, but I _really_ like "Chompsky"!
90.
▲
Chinese bidding for Micron Technology
(wsj.com)
1 points
by
prestonbriggs
11y ago
|
0 comments
More ›