Up until now, finding open source code has been a real hassle for professional developers and beginners alike – Cocycles is here to fix that issue with a simple solution.

Cocycles launched its very own code search engine specifically built to help developers find open source code sorted by functionality. Open source code is being sorted and neatly organized according to functionality – all you need to do is describe what you want the code to do and Ocycles will find it for you.

The vast sea of open source code

GitHub reports that the amount of open source code being written doubles itself yearly, with over 31 million different repositories currently in existence. Unfortunately enough, 98% of the code written becomes obsolete within a year from being written.

Until now it was impossible to know exactly what open source code was already written and where to find it. Developers had the arduous task of searching for packages of code and then looking through libraries to find the bits and pieces they needed for their projects. But what happens when a developer just needs a single piece of code that does something – a simple JavaScript function that swaps two elements in an array? It was impossible to search through and sort the vast sea of open source code.

Searching for open source code made easy

Cocycles is a search engine specifically designed for code. Not only text or libraries but code. Users need to describe the desired functionality and with just a click of the button matching bits and pieces from open source code will appear like magic. The code itself is stored and organized by functionality, so the search engine understands what every piece of code does. NLP algorithms enable Cocycles to understand the developers’ natural language and translate these queries into code functionality. After that, the described functionality is matched to the code pieces’ from across the open source.

For example, if you search for code that swaps two elements in an array, you just need to search for „swap elements” and you’ll find different open source code bits that do precisely that.

Cocycles does not only provide interactive views of the full code implementation but it will also provide the original documents plus real usage examples and meta-data.

Cocycles is able to generate a snippet containing all functions and dependencies within one line of code – this allows devs to use it as it is.

Another feature of this code search engine includes „Cocycles Immediate” which is similar to Google’s „I’m feeling lucky” – it will instantly provide a view of the data related to your search.

Cocycles currently supports JavaScript but the developers are planning to enable it to support other languages as well.

Cocycles is and always be free or all developers. We hope it will have a good influence in the world of open source development.


 

 

Recommended Stories

How to Integrate Alexa with Your Drupal 8 Website: A Step-by-Step Guide
Just imagine: a user asks Amazon Alexa to read out loud to him/her the headline of your latest blog post! Or maybe… (Read more)
RADU SIMILEANU / May 18 '2018
When Should You Not Consider Using Node.js? 3 Unsuitable Use Cases
It's undebatable: Node.js has practically laid the foundation of the real-time web! The real-time, two-way… (Read more)
RADU SIMILEANU / May 17 '2018
What Is Node.js Used for? What Projects Can You Build Using It? 7 Best Use Cases
Not exactly the “jumping on the latest trend" type? Therefore, you're still a bit hesitant to get on the Node.js… (Read more)
RADU SIMILEANU / May 10 '2018