Hacker News new | ask | show | jobs
by londons_explore 3383 days ago
github should try to compile code. Where that succeeds, it will give them full type information for every variable, and information on every function call, just like a good IDE has when doing code completion.

With that info, they would be able to build an awesome search system.

1 comments

That costs a LOT of money to do (infra is $$$) and you also have the issue of sandboxing code.

It would be hard and expensive with not much benefit to their bottom line.

Gitlab manages to do CI (partnering with DigitalOcean), which managed to get me at least partially switched, and has further potential for upsell (have more CI servers! with exotic configurations!)

Not all languages which could significantly benefit from pulling out type info even compile. Something significantly smaller scoped would be to have github's search aware of and consume some kind of intellisense-esque database or structured documentation format that any CI process could output. (Of course, someone needs to write the tools to generate said output in the first place...)