Marc Profile Banner
Marc Profile
Marc

@mrousavy

Followers
13,728
Following
526
Media
468
Statuses
5,040

CEO of @margelo_io • Iron Man of the "React Native Avengers" • DM for consultancy and projects • I mostly tweet about React Native or cars

Vienna, Austria
Joined September 2014
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
Pinned Tweet
@mrousavy
Marc
1 month
Finally got something to show - we're working on a new 3D library for React Native! 👀🧊 👉 Powered by native Graphics APIs (Metal/Vulkan) 👉 Full control over rendering in JS 👉 120 FPS rendering on a Worklet Thread (no lags!) 👉 Supports hotswapping .glb/.gltf models
53
74
688
@mrousavy
Marc
8 months
@JeffTutorials gear shifter, because it's easier to find than to aim for a 4cm wide area on a fully flat surface.
12
32
7K
@mrousavy
Marc
1 month
React Performance Tip #12 : Since modern CPUs are square, format your code to exact squares to make sure it fits on the CPU as efficiently as possible. This ensures that the CPU can directly execute the optimized format and will execute code much faster! 🤯
Tweet media one
35
119
2K
@mrousavy
Marc
3 years
@Mattoid2k @eshita pretty sure it is, sounds very sarcastic to me
1
2
1K
@mrousavy
Marc
5 months
yooooo the @discord mobile app uses my library!! 😍😍
Tweet media one
29
20
1K
@mrousavy
Marc
1 year
Built with VisionCamera. All the drawing and blurring is happening with JavaScript code, and it runs in realtime. No post-processing. This is going to change the entire mobile camera game. Get ready.
47
143
1K
@mrousavy
Marc
2 years
React Native made my dreams come true - I bought my dream car! I want to thank everyone who put their trust in me and my skills. ❤️ See y'all on the race track!
Tweet media one
64
56
1K
@mrousavy
Marc
8 months
@KevinNaughtonJr -releases updates (why not just write it perfect first try?)
8
20
1K
@mrousavy
Marc
5 months
This is a React Native app running on my Mac, which uses my iPhone as a remote Camera over the air. 🤯 All made possible by react-native-vision-camera!
27
74
1K
@mrousavy
Marc
10 months
yooooo the @SpaceX @Starlink app uses my library 😍😍
Tweet media one
28
47
971
@mrousavy
Marc
5 months
@t3dotgg "wait wdym we can't use Wix to build our platform"
8
8
924
@mrousavy
Marc
1 year
my hands look like this so her hands can look like that
Tweet media one
Tweet media two
14
36
783
@mrousavy
Marc
28 days
@josef__wilhelm flutter for web? thanks i'd rather shoot myself in the foot
10
5
736
@mrousavy
Marc
10 months
This is an object detector model running in React Native VisionCamera. I am looping through all the output data and drawing red boxes using simple JavaScript - even the model can be hotswapped! All of this while still running at more than 60 FPS 🤯 - no more native code!!
30
65
706
@mrousavy
Marc
2 years
🧵 #ReactNative Performance Pro Tip 🔥💡: If you are building a #ReactNative app that works with Crypto, Big Numbers or Buffers make sure you are using the right libraries - otherwise your app will be slow asf! 😷 (a thread) (1/5)
6
71
590
@mrousavy
Marc
2 months
me working on iOS vs working on Android
Tweet media one
Tweet media two
21
52
563
@mrousavy
Marc
5 months
Nobody is more impatient than someone who uses your open source library for free.
Tweet media one
10
6
554
@mrousavy
Marc
3 years
twitch is open source now
12
40
536
@mrousavy
Marc
7 months
VisionCamera V3 is up to 𝟳𝘅 faster than V2 because of performance improvements like: - New CameraDevice selection API (no await) 🚀 - Rewritten native codebase (cleaner & faster) 🧹 - Single-hardware-locking for configuration batches (instant updates) 🔒 - ..and more!
14
43
516
@mrousavy
Marc
1 year
The power of VisionCamera's write-back Frame Processors: I detect all faces in a Frame, then immediately censor them out using a simple frame.drawRect(..) call - all in JavaScript! 🤯 This is running in real-time, and with a faster model (like BlazeFace) it can run at 200+ FPS 🔥
8
40
503
@mrousavy
Marc
5 months
Is React Native easy? yes yes yesyes yesyes yes yes yes yes yes yes yes yes yes yesyes yes yes yes yesye yes yes yes yes yesyes
21
29
479
@mrousavy
Marc
2 years
⚠️ react-native-camera has now been deprecated in favor of react-native-vision-camera 🎉
14
57
479
@mrousavy
Marc
17 days
I just released VisionCamera V4!!!!!! 🥳🚀💪🤯🔥👏 This one's a big release. With V4 you can draw directly onto a Camera Frame using Skia!!! ..and also, I fixed pretty much all Android issues from V3. 😉
17
46
484
@mrousavy
Marc
1 year
react-native-graph v1 is out! Tons of performance improvements and rewritten drawing logic to make it more flexible 🔥
13
34
471
@mrousavy
Marc
9 months
ah yes, a youtube link. let me just open the in app browser, then safari, then youtube to watch it
12
17
419
@mrousavy
Marc
9 months
I just built an app to detect humans and draw them as stick figures using VisionCamera V3 + TFLite + Skia! 🕺 Check out the blog post here:
12
42
409
@mrousavy
Marc
8 months
@yt_8Pit my bad 1,57 inches in freedom units
3
0
393
@mrousavy
Marc
9 months
I just released react-native-fast-tflite!!! 🥳 🔥 Powered by JSI/C++ 💨 Zero-copy ArrayBuffers 🔧 Uses the low-level C/C++ TFLite core API 🔄 Supports fast-refresh for swapping out .tflite models at runtime 🖥️ Supports GPU-acceleration
16
48
393
@mrousavy
Marc
7 months
imo this is why this approach is wrong and makes it insanely difficult to find something in a project. same for 'index.js'.
@Hacksore
Hacksore
7 months
📄📄📄📄📄📄📄📄📄📄📄📄📄📄📄📄📄📄
Tweet media one
24
30
446
45
23
375
@mrousavy
Marc
3 months
Use react-native-mmkv, it is the fastest key/value storage solution for React Native! 🔥
@alireza_hadjar
Alireza
3 months
Offline mode using react query and rn mmkv is INCREDIBLE! My app's speed is doubled – when I open the app, everything loads instantly. And the beautiful part is that you just need to add a few lines of code and it WORKS! Awesome job @mrousavy @TkDodo 🙌
12
15
206
8
35
352
@mrousavy
Marc
6 months
React Native + native-vision-camera is pretty much as fast as a fully native Camera app.
13
20
321
@mrousavy
Marc
2 years
should I do react native youtube videos?
Tweet media one
59
5
320
@mrousavy
Marc
3 years
• TurboModules, Fabric and faster bundlers coming soon • Camera Frame Processing, 2D Skia Graphics drawing and 60 FPS Animations straight from JS • Easy Swift/Kotlin Native Modules abstraction coming soon ( @expo ) #ReactNative is about to become a whole lot more interesting
8
38
309
@mrousavy
Marc
2 years
don't wanna build up too much hype but I'll post a video soon that'll make every single one of you go: 😳😍😲 #ReactNative
18
18
310
@mrousavy
Marc
2 years
Good news! My PR to react-native core for smooth, interactive keyboard dismissal in ScrollViews now landed on master again! 🎉🎉 Can't wait to see my change in the next #ReactNative release 🤩
12
14
308
@mrousavy
Marc
1 year
Update: We got it running at 60 FPS now ;)
11
14
308
@mrousavy
Marc
3 years
You're probably having a lot of unnecessary re-renders in your #ReactNative app 🥶🥶🥶 There's a simple flip you can switch to greatly improve the overall performance and responsiveness of your app and here's how you can switch it on. 🚀💨 (1/4)
4
52
306
@mrousavy
Marc
3 years
JSI is amazing - I'm passing the whole audio sample buffer to JavaScript and then run an algorithm that determines the average "loudness" of the audio in realtime (in JS!) 🤩 can anyone guess what song this is? #ReactNative #javascript @expo
13
32
304
@mrousavy
Marc
9 months
Just released VisionCamera 3.0.0-rc.4! 🎉 - Full rewrite of the C++ codebases 😅 - New hook: useSkiaFrameProcessor 🔗 - Frame Processor Plugins are now object-oriented 💪 - Android now works! 🤖 - Frame Processors are now fully optional! ⛓️
4
26
300
@mrousavy
Marc
2 years
I'm excited to announce that we just published react-native-quick-crypto - a new library for #ReactNative that implements NodeJS' crypto library in native C++/JSI! 🥳🎉🚀 We measured up to 58x speedups in certain cryptography functions, check it out:
12
46
297
@mrousavy
Marc
3 months
Shopify, a billion dollar company bets on React Native - and you should too.
@mustafa01ali
Mustafa Ali
3 months
It’s been a while since we’ve done an update on @shopifyeng + mobile + @reactnative , so let’s do it. A thread 🧵
5
80
401
0
32
299
@mrousavy
Marc
23 days
now it's running at 60 FPS 😍
19
7
299
@mrousavy
Marc
3 years
My `automaticallyAdjustKeyboardInsets` PR has landed in React Native core!! Y'all excited to finally have smooth interactive keyboard swipe-down in #ReactNative lists?
Tweet media one
Tweet media two
18
13
297
@mrousavy
Marc
5 months
These Reanimated gestures are just so damn smooth 😍 @swmansion
8
11
284
@mrousavy
Marc
3 years
I'm working for @expo now 🚀🚀🤩 exciting things coming soon
37
3
280
@mrousavy
Marc
3 years
JSI allows JavaScript to directly call native C++ code. #ReactNative 's new UI Manager "Fabric" uses JSI to render views even faster - it's powered by the native C++ Layout Engine "Yoga". Yoga layouts views ~7 times faster than AutoLayout, the layout engine for native iOS apps.
7
36
278
@mrousavy
Marc
4 months
VisionCamera now has an @expo config-plugin to easily enable the fully native QR/Barcode scanner! 🔍 Simply set 𝚎𝚗𝚊𝚋𝚕𝚎𝙲𝚘𝚍𝚎𝚂𝚌𝚊𝚗𝚗𝚎𝚛 to 𝚝𝚛𝚞𝚎, and you're all set! ✅
Tweet media one
4
23
265
@mrousavy
Marc
1 year
gotcha @openai
Tweet media one
7
17
258
@mrousavy
Marc
6 months
this is an absolute game changer for the entire JavaScript industry. get ready
@tmikov
Tzvetan Mikov
6 months
We wanted to show the performance and the insane power of the Static Hermes native FFI. But we don't yet support the all language features needed to compile React Native (soon though!), so we improvised. We imported the bindings for DearImGui (a popular C++ imperative game UI…
68
325
2K
9
16
250
@mrousavy
Marc
2 years
gm, here's a smooth rounded graph with 200 data points running at 60 FPS with React Native Skia 👏 (built for @PinkPandaDefi at @margelo_io ) @ShopifyEng
9
23
247
@mrousavy
Marc
2 years
A pro tip: Read "Effective Modern C++". Even if you're not a C++ developer, this book will help you understand how memory management works and believe it or not this affects how you think about React (Native). In fact that's the only programming book I ever read
5
28
249
@mrousavy
Marc
10 months
VisionCamera 3.0.0-rc.3 is out! 🥳🎉 It contains the TensorFlow Lite JS Plugin for everyone to try now! 📸 Also some stability improvements and Skia is now on latest version with the new Ganesh rendering pipeline 😎
9
22
248
@mrousavy
Marc
1 year
As a React Native developer you at least need to understand how to read Logcat/Xcode logs. Nothing ever crashes silently.
10
19
244
@mrousavy
Marc
1 year
remember to print your screen to get better at coding
Tweet media one
10
24
237
@mrousavy
Marc
7 months
VisionCamera now has an integrated, blazingly fast QR-code/Barcode scanner! 🤯
14
18
239
@mrousavy
Marc
2 years
I created some Benchmarks to compare the speed of popular storage libraries for React Native. 👀 MMKV is 20x faster than AsyncStorage, and 4x faster than WatermelonDB! 🤯 (only testing simple string get speed, in debug, with hermes) Check out the repo:
Tweet media one
13
24
236
@mrousavy
Marc
24 days
so uhm VisionCamera + Skia integration is looking pretty nice
7
8
237
@mrousavy
Marc
2 months
VisionCamera V4 can now automatically add GPS Location EXIF tags to captured photos and videos! Just set 𝚎𝚗𝚊𝚋𝚕𝚎𝙻𝚘𝚌𝚊𝚝𝚒𝚘𝚗={𝚝𝚛𝚞𝚎} - that's it!
Tweet media one
9
5
236
@mrousavy
Marc
2 months
If you're still confused about the new architecture, check out this amazing guide on the react native website by @lunaleaps - they even mention react-native-vision-camera 🥰
Tweet media one
3
15
233
@mrousavy
Marc
2 years
react-native-mmkv really is the best way to store local data in #ReactNative - it can't get simpler or faster than that! ⚡️ #crypto
Tweet media one
10
21
228
@mrousavy
Marc
5 months
Fixed all the memory leaks! I think 165MB RAM is fair when streaming and recording 4k frame buffers in a React Native app.
Tweet media one
9
9
228
@mrousavy
Marc
2 years
Made with #ReactNative 🔥
13
5
224
@mrousavy
Marc
3 years
I built a game changer. That's an Image-Labelling AI running inside of a VisionCamera Frame Processor. Zero bridge traffic, just pure power. It's fast asf. #ReactNative
12
30
223
@mrousavy
Marc
3 years
📢 I'm looking for companies willing to sponsor VisionCamera. VisionCamera is a library I created and constantly improve in my free time. It's a huge library containing more than 15 thousand lines of JS, TS, Swift, ObjC, Java, Kotlin and C++ code. Please RT for visibility 🙏
2
122
220
@mrousavy
Marc
2 years
I'm looking for a good React Native developer. You will be working alongside some of the best RN devs out there and focus on cool projects such as apps downloaded my millions of users or open source projects. DM me if interested 📥😄 #ReactNative
17
37
222
@mrousavy
Marc
5 months
My storage lib is in the state of react native survey 😍
Tweet media one
7
6
221
@mrousavy
Marc
1 year
VisionCamera hit 40k weekly downloads! 🎉
Tweet media one
10
6
221
@mrousavy
Marc
9 months
We just published react-native-worklets-core, a core library for integrating flexible Worklets functionality into your app! 🥳 This will be used by VisionCamera V3 (Frame Processors) and WishList (Rendering) as a peer dependency.
Tweet media one
7
19
217
@mrousavy
Marc
6 months
Tip: Change the background color of your App's Window/root ViewController to avoid the default white color from flashing through 💡 (see comments for code)
5
14
218
@mrousavy
Marc
9 days
react-native-mmkv V3 now supports the new architecture and is written as a pure C++ TurboModule - try it yourself by installing 𝚛𝚎𝚊𝚌𝚝-𝚗𝚊𝚝𝚒𝚟𝚎-𝚖𝚖𝚔𝚟@𝚋𝚎𝚝𝚊 from npm!
5
6
221
@mrousavy
Marc
1 year
🚨 New Blog Post Alert 🚨 Here's how you can use the new Reanimated V3 Shared Element Transitions in your app 📲🏇:
5
31
216
@mrousavy
Marc
3 years
I'm creating a Wallet app for one of our clients, @PinkPandaDefi . I use the ethers.js library to interact with the Ethereum Blockchain The library is written purely in JavaScript, causing the App to take 33s to start! 🥶 Here's how I improved performance by 33000% ‼️ (1/4)
8
41
215
@mrousavy
Marc
8 months
VirtualizedList, FlatList, FlashList, RecyclerListView, ...
Tweet media one
5
10
214
@mrousavy
Marc
1 year
Here's a quick little VHS filter written in just 13 lines of code using Skia in a VisionCamera write-back Frame Processor 🎥🎞️
8
13
211
@mrousavy
Marc
8 months
Before ✨After ✨
Tweet media one
Tweet media two
9
5
213
@mrousavy
Marc
8 months
The new banners for Margelo repos have dark-mode support! 😍🤯🌉
8
7
210
@mrousavy
Marc
1 month
Managed to run Skia at up to 120 FPS, even though I currently perform one extra GPU -> CPU copy 🔥 Left: VisionCamera native preview Right: Skia Canvas rendering the 4k Camera Frame in JS
3
6
210
@mrousavy
Marc
3 years
I built something useless - an app that generates a color palette for what you're looking at in realtime! This is actually built with React Native & runs on iOS and Android, but it's as smooth as a native app because of VisionCamera and Reanimated 🤩🚀 (original idea by @Simek )
10
13
208
@mrousavy
Marc
10 months
Wanted to delete ~/Xcode/DerivedData but accidentally ran rm -rf ~ because of my Terminal's autocomplete which deleted the entire home folder. How's your day going?
32
4
205
@mrousavy
Marc
3 months
Just rewrote the vision-camera-resize-plugin from Kotlin to C++, this is now almost 5x faster due to ARM NEON SIMD instructions (via libyuv) 🔥
Tweet media one
4
3
205
@mrousavy
Marc
1 year
I got something incredible to share. We got RN Skia running in a VisionCamera Frame Processor - in other words; we draw directly on a Frame, in realtime! 🤯 And the best part is; you can use any RN Skia code that you are used to today, whether it's paint, a line, or a shader!
10
27
203
@mrousavy
Marc
2 years
JSI just got so much faster in RN 0.70..... 🏎💨
8
10
200
@mrousavy
Marc
8 months
@useABUSE420 i mean daily-driving a car that has a digital gear shifter on a screen lil bro
2
0
192
@mrousavy
Marc
3 years
🎉 react-native-mmkv 1.3.0 is finally here!! 🎉 I completely redesigned the API so now it has support for: • 🚀 Creating multiple instances, e.g. to separate a logged in user's data from the global app data • 🚀 Encryption/Decryption • 🚀 Custom paths
10
20
200
@mrousavy
Marc
2 years
So hyped for this project!! 🚀🚀 DM me if you/your company is having issues with FlatList/RecyclerListViewer, we're working on something great and need your support to build it! 📥 #ReactNative
@margelo_io
Margelo
2 years
Here's a quick sneak-peek on what we're working on at Margelo 👀 WishList is a new native List component built from scratch! 💪 👉 Fully native virtualization/recycling in C++/Fabric 👉 Synchronous measuring/rendering (UI Thread) 👉 60 FPS scrolling 👉 No more blank spots 🎉
52
78
513
6
26
196
@mrousavy
Marc
1 month
in opensource, negative feedback usually outweighs positive feedback. that's not the case today though - VisionCamera V4 is going really well, and people like Tyler are already noticing the improvements 😄
Tweet media one
7
1
195
@mrousavy
Marc
11 months
damn typo
Tweet media one
13
7
191
@mrousavy
Marc
21 days
Swift is the best language I've ever worked with.
24
14
192
@mrousavy
Marc
9 months
Built with React Native + VisionCamera V3 + TFLite + Skia - without a single line of native code! 🤯
5
15
190
@mrousavy
Marc
2 years
React Native's `fetch` could be so much faster.... 👀
21
2
192
@mrousavy
Marc
9 months
WOOOHOOO I finally got Skia + OpenGL set up on Android! 🥳 Now I'll just need to call the JS function to draw the Camera Frame and Skia Frame Processors are implemented in VisionCamera!
7
4
191