Mobile APP Development with React Native
Circuit Cellar|September 2024
This month, Bob continues his series on mobile app development from an embedded designer's perspective. He programs a React Native app and he offers guidelines for picking a tutorial for React Native. He further explores how it handles concurrency and asynchronous programming. Bob expected a few nuances during the process but to say there were more than a few would be an understatement.
Bob Japenga
Mobile APP Development with React Native

Learning C and the C stdlib library was something I did on my own. Brian Kernighan and Dennis Ritchie's The C Programming Language was something I read while in France on a project in 1981. It was simple, concise and easily digested. Plus, it kept my mind off French baguettes. Reading it did not turn me into a good C programmer, but it laid the foundation. Oh, did I just say that I was a good C programmer. My bad! To show my hubris and shallowness, a short while later a friend asked me to help him debug a C program he had written for the PC. He was brand new to C and I was just "new without the brand" to the language. I confidently told him that, with the debugger, we would find the problem in less than a half hour. Four hours later, I was stumped. The problem was that he allocated very large variables on the stack and blew his default stack away every time he used these variables. But like all stack problems, it was very non-deterministic. The debugger was worthless in debugging that. I had not quite mastered memory allocation.

Now, 45 years later, learning React Native is not done by reading one book. The number of components and the intricacies of JavaScript are significantly more complex than C and its standard library. Add to that the React Native components and I found that I needed a serious course. For example, there are less than 50 functions in most stdlib C libraries. Although there are only 24 core components for React Native, each one is probably 10-20 times more complex than each C library function. Add to that the thousands of community supported components and you will understand the complexity.

TUTORIALS ABOUND

هذه القصة مأخوذة من طبعة September 2024 من Circuit Cellar.

ابدأ النسخة التجريبية المجانية من Magzter GOLD لمدة 7 أيام للوصول إلى آلاف القصص المتميزة المنسقة وأكثر من 9,000 مجلة وصحيفة.

هذه القصة مأخوذة من طبعة September 2024 من Circuit Cellar.

ابدأ النسخة التجريبية المجانية من Magzter GOLD لمدة 7 أيام للوصول إلى آلاف القصص المتميزة المنسقة وأكثر من 9,000 مجلة وصحيفة.

المزيد من القصص من CIRCUIT CELLAR مشاهدة الكل
As a 'Matter of Fact
Circuit Cellar

As a 'Matter of Fact

Inside atest Home Control Consolidation Attempt via Google Home and Matter-over-Thread

time-read
10+ mins  |
November 2024
Industrial Computers Boost Machine Vision Systems
Circuit Cellar

Industrial Computers Boost Machine Vision Systems

GPU and CPU Performance Drive Rugged Industrial Platforms

time-read
6 mins  |
November 2024
Infineon Introduces Industry's First 20 Gbps Universal USB Peripheral Controller
Circuit Cellar

Infineon Introduces Industry's First 20 Gbps Universal USB Peripheral Controller

Infineon Technologies announced the addition of the EZUSBTM FX20 programmable USB peripheral controller to its EZ-USB product family.

time-read
1 min  |
November 2024
Microchip Makes it Easier to Build Sophisticated GUIs for MPLAB Harmony v3 and Linux Environments
Circuit Cellar

Microchip Makes it Easier to Build Sophisticated GUIs for MPLAB Harmony v3 and Linux Environments

Designers are incorporating Graphical User Interfaces, or GUIs, into more electronic devices to enhance the user experience by providing intuitive and visually appealing interactions with today's modern applications.

time-read
1 min  |
November 2024
Entertainment On Wheels
Circuit Cellar

Entertainment On Wheels

In-Dash Panels Control Head Units, Multiple Displays, Cameras and Sensors

time-read
10+ mins  |
November 2024
Using Amazon Alexa to Control Custom IoT Gadgets
Circuit Cellar

Using Amazon Alexa to Control Custom IoT Gadgets

Integrating Voice Recognition for Smart Home Projects

time-read
10+ mins  |
November 2024
Datasheet: Power Up With DC-DC Converters
Circuit Cellar

Datasheet: Power Up With DC-DC Converters

Application Types Drive Parameters Beyond Efficiency and Density

time-read
3 mins  |
November 2024
D&D Die Roller with Raspberry PI RP2040
Circuit Cellar

D&D Die Roller with Raspberry PI RP2040

Fantastical Project Built with MCU TFT Display and LVGL Graphics

time-read
10+ mins  |
November 2024
No Blues with Bluetooth!
Circuit Cellar

No Blues with Bluetooth!

Part 6: Bluetooth Cybersecurity Basics

time-read
10+ mins  |
November 2024
LoRaWAN Goes the Distance at Low Power
Circuit Cellar

LoRaWAN Goes the Distance at Low Power

IoT’s Versatile Protocol for Long-Range, Wide-Area Connectivity

time-read
10+ mins  |
November 2024