Parallel-And-Concurrent-Programming
react-native-multithreading
Parallel-And-Concurrent-Programming | react-native-multithreading | |
---|---|---|
1 | 8 | |
7 | 1,102 | |
- | - | |
8.2 | 0.0 | |
9 months ago | over 1 year ago | |
C++ | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Parallel-And-Concurrent-Programming
-
Sharing my notes on concurrency
I've explored concurrency in C++, Python, and Node.js, and kept notes and examples in a repository. I think it could be helpful to others, so I'm sharing it here: https://github.com/djeada/Parallel-And-Concurrent-Programming
react-native-multithreading
-
Not a good Time to Start with RN?
You can look at MMKV, Vision Camera and some other libs based on JSI which work pretty fast. https://github.com/mrousavy/react-native-mmkv https://github.com/mrousavy/react-native-vision-camera https://github.com/mrousavy/react-native-multithreading
- Have you guys tried multi threading or spawning a new process for expensive tasks ?
-
Why do people confuses async await with multithreading and how does it work in different language?
https://mobidev.biz/blog/how-react-native-app-development-works https://github.com/mrousavy/react-native-multithreading
-
React Native - when JS is too busy
โ๏ธ take advantage of the next coming React Native architecture JSI + Fabric Rendering + Turbo Modules
-
Sponsoring open source projects, share about your project
react-native-multithreading: A library for spawning a secondary JavaScript runtime to run code in there. Pretty experimental
-
Best way to upload large files (images) as a background task in React Native?
Have a look into react-native-multithreading.
-
Using Kotlin cross platform with react native
Have you seen https://github.com/mrousavy/react-native-multithreading? Reanimated2 opens the doors to spinning up new JS threads. So we could essentially have multi-threaded JavaScript and avoid dropping down to the native layer at all ๐.
-
I made a react native library that lets you run JS code on a separate thread, fully parallel, awaitable and performant.
Here's an example on how easy it is to use: const result = await spawnThread(() => { 'worklet' // expensive calculation return ... }) See mrousavy/react-native-multithreading (GitHub) for more details.
What are some alternatives?
YACLib - Yet Another Concurrency Library
react-native-reanimated - React Native's Animated library reimplemented
napajs - Napa.js: a multi-threaded JavaScript runtime
react-native-mmkv - โก๏ธ The fastest key/value storage for React Native. ~30x faster than AsyncStorage!
areg-sdk - AREG is an asynchronous Object RPC framework to simplify multitasking programming by blurring borders between processes and treating remote objects as if they coexist in the same thread.
gpx-converter - python package for manipulating gpx files and easily converting gpx to other different formats
parlaylib - A Toolkit for Programming Parallel Algorithms on Shared-Memory Multicore Machines
rn-ldk - Lightweight lightning node for React Native
thread-pool - BS::thread_pool: a fast, lightweight, and easy-to-use C++17 thread pool library
react-native-vision-camera - ๐ธ A powerful, high-performance React Native Camera library.
HPX - The C++ Standard Library for Parallelism and Concurrency
neutralinojs - Portable and lightweight cross-platform desktop application development framework