react-native-multithreading
uniq
Our great sponsors
react-native-multithreading | uniq | |
---|---|---|
8 | 1 | |
1,102 | 48 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 1 year ago | |
C++ | C++ | |
MIT License | GNU General Public License v3.0 only |
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.
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.
uniq
-
Introducing UniQ
Of these, the most valuable was a small implementation of a lock-free circular buffered queue. Which is the reason of this writings and the base of UniQ multithreading libray. hence the name, uni-queue, a single unifying queue.
What are some alternatives?
react-native-reanimated - React Native's Animated library reimplemented
xenium - A C++ library providing various concurrent data structures and reclamation schemes.
react-native-mmkv - โก๏ธ The fastest key/value storage for React Native. ~30x faster than AsyncStorage!
libcds - A C++ library of Concurrent Data Structures
gpx-converter - python package for manipulating gpx files and easily converting gpx to other different formats
SPSCQueue.h - A bounded single-producer single-consumer wait-free and lock-free queue written in C++11
rn-ldk - Lightweight lightning node for React Native
Threadpool - Light, fast, threadpool for C++20
react-native-vision-camera - ๐ธ A powerful, high-performance React Native Camera library.
cachegrand - cachegrand - a modern data ingestion, processing and serving platform built for today's hardware
neutralinojs - Portable and lightweight cross-platform desktop application development framework
react-native-vision-camera - ๐ธ The Camera library that sees the vision. [Moved to: https://github.com/mrousavy/react-native-vision-camera]