is the Arduino language similar to / same as python3?

Hello,
is the Arduino language similar to / same as python3?
I am very new to both but wanted to know if there will be confusion learning them both over a period of time? Thanks :wink:
https://1080ppornlist.com

Arduino language is based on C++. Many of the fundamental concepts you will learn from Python apply to Arduino Language and vice versa, but there are significant differences in the syntax between the two languages. I always run into some annoyance when I switch from one of those languages to the other as I try to adjust to the different syntax.

You would find that much more of the specifics you learn from using C++, C or even one of the more C/C++ like languages will apply to programming with the Arduino Language. However, if you're going to get involved with programming, you'll inevitably end up learning multiple languages with significant differences. Some people love it, others just accept it, but nobody avoids it.

Arduino is actually C++ but much of the code/examples is plain C. You can use the CircuitPython (????) so something like that which does run a scaled down version of python on the microprocessor.

blh64:
You can use the CircuitPython (????)

This depends on which microcontroller you're using. Only specific microcontrollers are supported by CircuitPython and MicroPython. I see the Arduino SAMD boards (MKR, Nano 33 IoT, Zero) and Nano 33 BLE are supported by CircuitPython. I know the ESP8266 is supported by MicroPython, but haven't checked which others currently are. Arduino's upcoming Portenta H7 board is advertised as having MicroPython support.

For the classic AVR boards (Uno, Leonardo, Mega, etc.) and the megaAVR Boards (Uno WiFi Rev2, Nano Every) I don't think there is a chance of ever having any flavor of Python support due to the more limited resources (there is significant overhead for the Python interpreter).

Arduino language is based on C++.

It is not "based on C++", is IS C++! There is no "Arduino language". There is an Arduino IDE, and an Arduino build system, and Arduino libraries, but the language you program in is plain, vanilla c++, and the Arduino compiler is the plain vanilla gnu c++ compiler.

Regards,
Ray L.

RayLivingston:
It is not "based on C++", is IS C++!

I think that's a reasonable opinion, and one I shared until I was told by the head of Arduino's firmware and hardware development (my boss) last year that Arduino's official viewpoint is that .ino files are written in Arduino Language:

RayLivingston:
It is not "based on C++", is IS C++! There is no "Arduino language". There is an Arduino IDE, and an Arduino build system, and Arduino libraries, but the language you program in is plain, vanilla c++, and the Arduino compiler is the plain vanilla gnu c++ compiler.

Regards,
Ray L.

But pure C++ and the toolchain don't automatically combine .ino files, include .h files behind the scenes and sometimes break typedefs across multiple files, etc.

The compiler might be pure C++, but the entire environment and toolchain adds a lot of "magic" to C++

pert:
I think that's a reasonable opinion, and one I shared until I was told by the head of Arduino's firmware and hardware development (my boss) last year that Arduino's official viewpoint is that .ino files are written in Arduino Language:
Suggested improvements to the home page text · Issue #476 · arduino/reference-en · GitHub

IMHO, Arduino's position is self-serving nonsense. Using their definition, I could add a few words to the English language, define a couple of simple new syntax rules, and declare a new language. The build system, libraries, pre-processor, and make files are NOT part of the language. There are plenty of existing make tools that can auto-define prototypes.

Try doing something similar with a commercially owned language, like Java, then distribute as a "new language" without paying royalties, and see how far you get. By ANY reasonable definition there is NO Arduino language. If it is a language, where is it's language specification? Where can I find the BNF definition of the language syntax? Why is there no native Arduino language compiler?

Arduino has a development environment and APIs built on top of c/c++. Trying to pretend it is it's own language is nothing but FUD, and does nothing but confuse newbies.

Regards,
Ray L.

pert:
I think that’s a reasonable opinion, and one I shared until I was told by the head of Arduino’s firmware and hardware development (my boss) last year that Arduino’s official viewpoint is that .ino files are written in Arduino Language:
[

We’ve all been told BS by our boss.

It’s not a language, it’s a dialect or pidgin / creole.

My pin had 273.5 angels when I last counted.

The OP's question clearly shows that he is not yet ready for an in depth tutorial on the internal workings of the Arduino IDE which make programming in C++ easier.

...R