Ammar Ahmed Profile
Ammar Ahmed

@ammarahm_ed

Followers
830
Following
9K
Media
90
Statuses
2K

A simple guy who loves to write, code and take photos.

Soon Valley, Pakistan
Joined January 2018
Don't wanna be here? Send us removal request.
@notesnook
Notesnook
3 days
$14.99/mo for: - zero privacy - only 1000 notes - only 3 devices Vs $0.00/mo for: - 100% private, e2e encrypted notes - unlimited notes - unlimited devices Your choice.
@Louis__Meyer
Louis Meyer
3 days
Incredible ... when Italian "Bending Spoons" acquires a product you use or love like Evernote, you'll have a hard time🤣
28
51
748
@ammarahm_ed
Ammar Ahmed
2 days
These are my observations. Some might be incorrect. For example I am doubtful it is multi threaded like RN but it seems so!
3
0
2
@ammarahm_ed
Ammar Ahmed
2 days
it also supports all style properties as direct attributes on the views.
1
0
2
@ammarahm_ed
Ammar Ahmed
2 days
6. It uses djinni to generate cross platform bindings for modules and native code. Still unsure how this works but you can look here: https://t.co/QGANLCHuf3 7. JS Debugging is only possible when using Hermes Engine 8. No CSS Support. styling is done like RN but
1
0
4
@ammarahm_ed
Ammar Ahmed
2 days
sort of bridge involved 4. It does not "compile" to native views, there is lots of js <-> native marshalling involved. 5. It seems it is multi threaded. Layout changes are queued and dispatched to UI Thread when appropriate much like batching calls and then flushing.
1
0
6
@ammarahm_ed
Ammar Ahmed
2 days
Some initial observations from going through the Valdi Repo: 1. It supports multiple JavaScript engines, i.e Hermes, QuickJS, V8, JSC. 2. It uses Yoga (Same as RN) for it's layout 3. It does have a IJavaScriptContext that is basically something like JSI in RN so there is some
@FernandoTheRojo
Fernando Rojo
3 days
Wait...Snapchat was built with Typescript? Snap just open sourced Valdi, the TypeScript framework that has powered their native apps in production for 8 years. "It compiles directly to native views on iOS, Android, and macOS—no web views, no JavaScript bridges."
3
6
80
@_trish_xD
trish
7 days
C is NOT a hard language. Most people just don’t have the patience to learn pointers properly.
351
186
4K
@GuoaiZ11355
ponzS
7 days
@NativeScript for web v0.1.3 All basic components have been completed, followed by cross-platform native plug-ins and default css. Only : ns-web dev If you want to support ns-web, please submit PR and we will make it better together. Enjoy guys🙏 https://t.co/CLOR6fqGxs
1
5
32
@ammarahm_ed
Ammar Ahmed
7 days
I will run the benchmarks on the same phone again but for today: V8 (Jitless): 1660 Hermes V1: 2116 (27.5% than V8) I ran the benchmarks on OnePlus 9.
0
0
6
@ammarahm_ed
Ammar Ahmed
7 days
To achieve these results I had to add a new `napi_run_bytecode` function to Hermes Node-API bindings. If you have ever wonder how hermes executes bytecode.
2
0
7
@ammarahm_ed
Ammar Ahmed
7 days
Hermes is insanely fast. The benchmarks I shared earlier showed it was slower than V8 jitless. But I needed to compile the source to Hermes Bytecode to get accurate results as @tmikov had pointed out. The difference is massive! 53% FASTER.
@ammarahm_ed
Ammar Ahmed
8 days
@tmikov i think that is probably why I am seeing different results than yours! Will try to run compiled bytecode.
4
6
60
@jamonholmgren
Jamon
8 days
I’m making a hand-curated list of the best React Native content creators on 𝕏. Why: I’ve been doing React Native for 10 years and I’ve been deeply involved in the community. There are some really great RN content creators out there who don’t get enough credit for the work they
15
23
287
@csaba_kissi
Csaba Kissi
9 days
With JavaScript, you can build: âś… Frontend (React, Vue, Svelte, Angular) âś… Backend (Node.js, Express, NestJS, Fastify) âś… Mobile apps (React Native, Ionic, NativeScript) âś… Desktop apps (Electron, Tauri) âś… Game development (Phaser, Babylon.js, Three.js) âś… IoT (Johnny-Five,
72
111
982
@s8n
Satan
10 days
138
5K
57K
@ammarahm_ed
Ammar Ahmed
9 days
You should be able to install whatever the heck you want on a phone you paid for.
@ReclaimTheNetHQ
Reclaim The Net
9 days
F-Droid says Google’s new developer verification rules will quietly end real sideloading on Android. Under the plan, every app maker must verify with government ID, and unapproved apps could soon be impossible to install even outside the Play Store. F-Droid calls Google’s claim
0
1
0
@ammarahm_ed
Ammar Ahmed
9 days
Thanks for reading the long thread. I hope you found this read interesting!
0
0
2
@ammarahm_ed
Ammar Ahmed
9 days
For example, If we compare NativeScript (V8) with React Native (Hermes) as of today, both perform fast and in some cases React Native performs much better and faster than NativeScript. Native apps, even hybrid ones are much more than the JavaScript engine that runs them.
1
0
3
@ammarahm_ed
Ammar Ahmed
9 days
almost as good performance on a very small JS Engine. One thing is clear though. it's not 2019 and smaller JS Engines have changed the game with what is possible today. Now imagine these small 1-2mb sized engines having a good fast JIT in there.
1
0
1
@ammarahm_ed
Ammar Ahmed
9 days
V8 as always is on top but not that impressive. It's magnitudes larger in size compared to these smaller 1-2mb sized engines designed for smaller devices and doesn't perform as good as I was expecting. Remember that on iOS you cannot enable V8's JIT meaning you could get
1
0
2