# 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.&#x20;

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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
