~/talk

Rsense Knows Your Code

Talkat RubyConf 2014 · 2014-11-17..11-19· [ruby]
slides:none on file

Rsense provides static analysis for Ruby to enable accurate type inference, code completion, and finding definitions, aiming to support refactorings and static bug-finding without running code. The talk explains how Rsense implements these features, how to use it in daily Ruby development, planned future capabilities, and opportunities to contribute to the project.

AI-written summary · about

  1. 0:00Intro
  2. 1:14Rsense is a static-analysis, type- inference tool for Ruby code.
  3. 1:52I wanted Ruby code completion in Sublime Text.
  4. 3:21CHALLENGE ACCEPTED
  5. 3:48Difficult to install, only works on 1.8 syntax.
  6. 5:30Use the source!
  7. 6:40The Cartesian Product Algorithm: Simple and precise Type Inference Of Parametric Polymorphism
  8. 8:41The line of communication
  9. 9:02Rsense is implemented with a variation on the Cartesian Product Algorithm (CPA).
  10. 10:00Abstract Syntax Tree
  11. 13:48Abstract Interpreter
  12. 14:12Constraint Propagation
  13. 15:24This would be almost enough, however, Ruby's dynamic metaprogramming feature does mean that a small subset of valid Ruby expressions cannot be type
  14. 17:48Where does Rsense stand today?
  15. 18:03Sense support for TextMate 2
  16. 20:20RSense needs YOU!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.