Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(328)

Issue 124690043: code review 124690043: go.tools/go/rta: implement Rapid Type Analysis for Go. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by adonovan
Modified:
10 years, 5 months ago
Reviewers:
Sameer Ajmani
CC:
gri, crawshaw, Sameer Ajmani, bwkster, golang-codereviews
Visibility:
Public.

Description

go.tools/go/rta: implement Rapid Type Analysis for Go. This is an algorithm for callgraph construction that is faster but much less precise than pointer analysis. (I evaluated this for the Go Oracle last year but shelved it, but it's a natural fit for the work Brian is doing on automatic program minimization.)

Patch Set 1 #

Patch Set 2 : diff -r 5afb64d377a3f87db455c30a61c9592192a2a8da https://code.google.com/p/go.tools #

Patch Set 3 : diff -r 5afb64d377a3f87db455c30a61c9592192a2a8da https://code.google.com/p/go.tools #

Total comments: 1

Patch Set 4 : diff -r 5afb64d377a3f87db455c30a61c9592192a2a8da https://code.google.com/p/go.tools #

Total comments: 17

Patch Set 5 : diff -r 99ba754ccda058670c32c43ca1506d3b6029b0f7 https://code.google.com/p/go.tools #

Patch Set 6 : diff -r 99ba754ccda058670c32c43ca1506d3b6029b0f7 https://code.google.com/p/go.tools #

Patch Set 7 : diff -r 6fc790e5bfa623b690e2ca62c1f64370d86a874e https://code.google.com/p/go.tools #

Patch Set 8 : diff -r 6fc790e5bfa623b690e2ca62c1f64370d86a874e https://code.google.com/p/go.tools #

Total comments: 14

Patch Set 9 : diff -r 61cfbf49daaf59a4bb022d70b7ba3c616445b9fa https://code.google.com/p/go.tools #

Patch Set 10 : diff -r 8db7e8150259e5f638e33c63758df0896ab5c4d3 https://code.google.com/p/go.tools #

Unified diffs Side-by-side diffs Delta from patch set Stats (+745 lines, -0 lines) Patch
A go/rta/rta.go View 1 2 3 4 5 6 7 8 1 chunk +459 lines, -0 lines 0 comments Download
A go/rta/rta_test.go View 1 2 3 4 5 6 7 8 1 chunk +135 lines, -0 lines 0 comments Download
A go/rta/testdata/func.go View 1 1 chunk +37 lines, -0 lines 0 comments Download
A go/rta/testdata/iface.go View 1 1 chunk +79 lines, -0 lines 0 comments Download
A go/rta/testdata/rtype.go View 1 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 8
adonovan
Hello gri@golang.org, crawshaw@golang.org (cc: bwkster@gmail.com, golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.tools
10 years, 8 months ago (2014-08-21 01:24:49 UTC) #1
gri
some preliminary comments - will take some more time next week https://codereview.appspot.com/124690043/diff/60001/go/rta/rta.go File go/rta/rta.go (right): ...
10 years, 8 months ago (2014-08-23 00:35:29 UTC) #2
adonovan
https://codereview.appspot.com/124690043/diff/40001/go/rta/testdata/func.go File go/rta/testdata/func.go (right): https://codereview.appspot.com/124690043/diff/40001/go/rta/testdata/func.go#newcode17 go/rta/testdata/func.go:17: C = func(int) {} make C standalone https://codereview.appspot.com/124690043/diff/60001/go/rta/rta.go File ...
10 years, 8 months ago (2014-08-25 15:27:20 UTC) #3
adonovan
https://codereview.appspot.com/124690043/diff/40001/go/rta/rta.go File go/rta/rta.go (right): https://codereview.appspot.com/124690043/diff/40001/go/rta/rta.go#newcode27 go/rta/rta.go:27: // discovered, call graph edges are added from to ...
10 years, 8 months ago (2014-08-25 15:27:21 UTC) #4
Sameer Ajmani
https://codereview.appspot.com/124690043/diff/140001/go/rta/rta.go File go/rta/rta.go (right): https://codereview.appspot.com/124690043/diff/140001/go/rta/rta.go#newcode39 go/rta/rta.go:39: // analysis, but the algorithm is much faster. Worth ...
10 years, 5 months ago (2014-11-12 18:40:16 UTC) #5
adonovan
https://codereview.appspot.com/124690043/diff/140001/go/rta/rta.go File go/rta/rta.go (right): https://codereview.appspot.com/124690043/diff/140001/go/rta/rta.go#newcode39 go/rta/rta.go:39: // analysis, but the algorithm is much faster. On ...
10 years, 5 months ago (2014-11-12 19:01:29 UTC) #6
Sameer Ajmani
On 2014/11/12 19:01:29, adonovan wrote: > https://codereview.appspot.com/124690043/diff/140001/go/rta/rta.go > File go/rta/rta.go (right): > > https://codereview.appspot.com/124690043/diff/140001/go/rta/rta.go#newcode39 > ...
10 years, 5 months ago (2014-11-12 20:03:57 UTC) #7
adonovan
10 years, 5 months ago (2014-11-12 22:34:18 UTC) #8
*** Submitted as
https://code.google.com/p/go/source/detail?r=f4e9f40e70d8&repo=tools ***

go.tools/go/rta: implement Rapid Type Analysis for Go.

This is an algorithm for callgraph construction that is faster
but much less precise than pointer analysis.
(I evaluated this for the Go Oracle last year but shelved it,
but it's a natural fit for the work Brian is doing on
automatic program minimization.)

LGTM=sameer
R=gri, crawshaw, sameer
CC=bwkster, golang-codereviews
https://codereview.appspot.com/124690043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b