TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Can We Identify Patterns in Source Code?

5 pointsby mukguptaabout 10 years ago
I am a new to Artificial Intelligence and was studying how convolutional neural networks are used for image recognition. Can a similar technique be employed to identify patterns in source code. If yes, we can use such a technique for suggesting the code snippets from the existing code. Now given the amount of open source code we have it would be fair to assume that we can find patterns in code. I understand the complexity of such a system would be huge but I just want to understand if its possible from an AI perspective.

1 comment

galapagoabout 10 years ago
I believe you can. I know at least one work [1] using a machine learning approach (not really a deep neural work) to unconver vulnerabilities in C code. Btw, maybe a submition to &#x2F;r&#x2F;MachineLearning could be better to start such specific discussion.<p>[1] <a href="https:&#x2F;&#x2F;www.usenix.org&#x2F;conference&#x2F;woot11&#x2F;vulnerability-extrapolation-assisted-discovery-vulnerabilities-using-machine" rel="nofollow">https:&#x2F;&#x2F;www.usenix.org&#x2F;conference&#x2F;woot11&#x2F;vulnerability-extra...</a>