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

Diese Geschichte stammt aus der September 2024-Ausgabe von Circuit Cellar.

Starten Sie Ihre 7-tägige kostenlose Testversion von Magzter GOLD, um auf Tausende kuratierte Premium-Storys sowie über 8.000 Zeitschriften und Zeitungen zuzugreifen.

Diese Geschichte stammt aus der September 2024-Ausgabe von Circuit Cellar.

Starten Sie Ihre 7-tägige kostenlose Testversion von Magzter GOLD, um auf Tausende kuratierte Premium-Storys sowie über 8.000 Zeitschriften und Zeitungen zuzugreifen.

WEITERE ARTIKEL AUS CIRCUIT CELLARAlle anzeigen
New TI MCUs Enable Edge AI and Industry-Leading Real-Time Control to Advance Efficiency, Safety, and Sustainability
Circuit Cellar

New TI MCUs Enable Edge AI and Industry-Leading Real-Time Control to Advance Efficiency, Safety, and Sustainability

Texas Instruments (TI) introduced two new series of real-time microcontrollers that deliver advancements to help engineers achieve more intelligent and secure processing in automotive and industrial applications.

time-read
1 min  |
January 2025
Using Amazon Alexa to Control Custom IoT Gadgets
Circuit Cellar

Using Amazon Alexa to Control Custom IoT Gadgets

In part two of his article, Brian describes integrating custom IoT gadgets with Amazon Echo using emulation to receive spoken alarms. In part one, he used emulation and Arduino Cloud services as a middleman.

time-read
10+ Minuten  |
January 2025
Holiday Hangover Hardware Hacking
Circuit Cellar

Holiday Hangover Hardware Hacking

Having too much cheer during the holidays? In this month's article, Colin offers a diversion from the jolly season by urging developers to retreat to the basement to brush up on hardware hacking skills. He shows how a low-cost Raspberry Pi Pico and a TP-Link Tapo C200 smart IP camera could become the next automated bird deterrent or a home automation server.

time-read
8 Minuten  |
January 2025
Datasheet: Microamps Per Megahertz Ultra-Low Power MCUs Minimize Current Consumption
Circuit Cellar

Datasheet: Microamps Per Megahertz Ultra-Low Power MCUs Minimize Current Consumption

How do chip makers differentiate if many ultra-low power MCUs on the market feature the same processor core? The peripherals and different power states offer various ways to manage current consumption down to microamps per megahertz.

time-read
2 Minuten  |
January 2025
Smart Home Lock Down Matter Provides Security Blanket
Circuit Cellar

Smart Home Lock Down Matter Provides Security Blanket

As more devices in the smart home connect to the Internet, they become increasingly vulnerable to outside attacks. Developers can now add the latest security measures to their Smart Home devices through Matter.

time-read
10+ Minuten  |
January 2025
Basic Pulse Circuits
Circuit Cellar

Basic Pulse Circuits

In part one of a three-part series, Wolfgang wrote how basic pulse circuits help digital circuits, such as embedded boards with ARM processors, deal with pulse trains or bursts of pulses from the outside. In Part 2, he dives into enabling flip-flops, timing parameters, and synchronization, design tasks needed to capture, detect, and filter pulses.

time-read
10+ Minuten  |
January 2025
Building a Wi-Fi Router Watchdog
Circuit Cellar

Building a Wi-Fi Router Watchdog

Dev created a watchdog for a Wi-Fi extender using a Raspberry Pi Pico. This monitors Wi-Fi connectivity for his smart home lighting system, which would require a reset twice a year due to rapid power interruptions.

time-read
8 Minuten  |
January 2025
Create Your Own PCBs with a CNC Milling Machine
Circuit Cellar

Create Your Own PCBs with a CNC Milling Machine

Using KiCad, CopperCAM, and Candle Software

time-read
10+ Minuten  |
January 2025
Performance Bottlenecks in Embedded Linux Solutions Analysis, Identification, and Mitigation
Circuit Cellar

Performance Bottlenecks in Embedded Linux Solutions Analysis, Identification, and Mitigation

Good performance is a requirement for every technology, and system designers rely on operating systems to ensure fast and smooth transitions in critical applications. Fortunately, Pedro writes, the embedded Linux OS offers ways for finding, analyzing and mitigating performance bottlenecks so embedded systems can deliver the speed and efficiency that end users expect.

time-read
10+ Minuten  |
January 2025
Renesas New RA8 Entry-Line MCU Groups Brings High Performance of Arm Cortex-M85 Processor to Cost-Sensitive Applications with Market-Leading CoreMark Performance
Circuit Cellar

Renesas New RA8 Entry-Line MCU Groups Brings High Performance of Arm Cortex-M85 Processor to Cost-Sensitive Applications with Market-Leading CoreMark Performance

Renesas Electronics Corp., a premier supplier of advanced semiconductor solutions, introduced the RA8E1 and RA8E2 microcontroller (MCU) groups, extending the industry's most powerful series of MCUs.

time-read
1 min  |
December 2024