> For the complete documentation index, see [llms.txt](https://docs.blynk.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blynk.io/en/legacy-platform/legacy-articles/node.js-vs.-c++-library.md).

# Node.js vs. C++ library

{% hint style="warning" %}
This documentation is for the LEGACY version of Blynk platform which is no longer supported and will be shut down.

You can sign up for the current version of Blynk platform [here](http://blynk.cloud/dashboard/register).

The new mobile apps can be downloaded from [App Store](https://apps.apple.com/us/app/blynk-iot/id1559317868) and [Google Play](https://play.google.com/store/apps/details?id=cloud.blynk\&hl=en\&gl=US).

The actual Blynk documentation is [here](https://docs.blynk.io/).
{% endhint %}

### Use Blynk with Node.js <a href="#use-blynk-with-nodejs" id="use-blynk-with-nodejs"></a>

Node.js is easy to write scripts, update, and prototype. It also supports secure SSL connection out-of-the-box.

Node.js has lots of modules for Raspberry Pi, BeagleBone, Desktop Ubuntu etc - which makes integration very easy.

Node.js has timers, asynchronous operations, etc - this is important when you start building more complex applications.

#### [How to install Node.js library on Linux](http://help.blynk.cc/hardware-and-libraries/node-js/how-to-install-nodejs-library-on-linux) <a href="#how-to-install-nodejs-library-on-linux" id="how-to-install-nodejs-library-on-linux"></a>

### Use Blynk with C++ <a href="#use-blynk-with-c" id="use-blynk-with-c"></a>

If you want just to toggle a pin, it will simply work out-of-the-box.\
But if you want to add more functionality, it **will** require some Linux, threading, sockets knowledge, modifying Makefile, etc.\
So, C++ is generally **for advanced developers**.

#### [How to install C++ library on Linux \[community forum\]](http://community.blynk.cc/t/using-c-on-a-raspberry-pi-with-blynk/11864) <a href="#how-to-install-c-library-on-linux-community-forum" id="how-to-install-c-library-on-linux-community-forum"></a>

**---**\
**If you have questions or something is not working, visit our 👥** [**community**](http://community.blynk.cc/) **page.**

Also, full 📗 documentation is [here](http://docs.blynk.cc/).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.blynk.io/en/legacy-platform/legacy-articles/node.js-vs.-c++-library.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
