So proud to see @triniwiz's hard work on NativeScript Canvas being shown here. So much passion and time has gone into this, all in OSS. Huge respect. ♥️
A quick comparison between @PixiJS and @threejs using either Capacitor or NativeScript (also added Unity and Bevy for some extra context). Pixijs is definitely doing something good! Interesting the difference between CPU and GPU power use. Pixi’s CPU saving exceeds its GPU increase. Combined CPU + GPU power was about 41% lower, while delivering almost twice the FPS.
This suggests Three spends more time preparing and submitting drawing work, leaving the GPU less occupied. Pixi keeps the GPU busier and gets more frames onto the screen.
A quick comparison between @PixiJS and @threejs using either Capacitor or NativeScript (also added Unity and Bevy for some extra context). Pixijs is definitely doing something good! Interesting the difference between CPU and GPU power use. Pixi’s CPU saving exceeds its GPU increase. Combined CPU + GPU power was about 41% lower, while delivering almost twice the FPS.
This suggests Three spends more time preparing and submitting drawing work, leaving the GPU less occupied. Pixi keeps the GPU busier and gets more frames onto the screen.
Prerelease NativeScript builds (a core PR, the next Android runtime, Mason), 20 timed runs after 3 warm-up runs, one Pixel 7, layout stress scenes and not apps.
Numbers based on the repo here: https://t.co/BUF0oVATIG
And Mason isn't some custom layout DSL. It's very nearly full web HTML + CSS on real native views: divs, flexbox, CSS grid with template areas, inline text.
Exact is fresh. Great job @ccheever
I couldn't resist pairing it with @NativeScript
Every iOS, macOS, Windows, Linux API from TypeScript, checked against the SDK, live on device half a second after I hit save.
No rebuilds.
Really like what Native Shell is doing with TSX @huacnlee
I was able to pair it with @NativeScript on the macOS tray which consumed 64% fewer tokens, and main-thread calls ran 11× faster than the usual Rust module route. Project below.
I’ve been building games with a few different stacks lately. TypeScript+Capacitor, TypeScript+NativeScript and Rust+Bevy.
I expected Rust to be the clear winner but I was surprised about the results.
At 32,768 moving sprites, Android’s frame counters showed about 58 FPS for Capacitor, 57.6 for NativeScript Canvas 3.0.0, and 52 for Bevy. Capacitor also used less app memory than Bevy.
I also kept adding textures and allocating memory until Android killed each build. Capacitor lasted 8 minutes and 29 seconds before Android killed its WebView renderer; better than the others.
What I find surprising is how well TypeScript+Capacitor held up in this test. I’ve attached the charts so you can see what each stack did. To note that the NativeScript team is working on a new version of the Canvas which might end up outperforming this results.
I’d be interested in hearing the results from anyone else that has done a similar comparison.
While the @NativeScript Windows Runtime is getting tested.
I resumed an old poc for the team a Linux Runtime for NativeScript which is built on a custom ios metadata-generator.
Anyway I manage to get a tiny GTK4 app going.... Yes using what the platform provides ...
In my last post, I mentioned spending 12–16 hours a day building and testing things with @NativeScript. There have been some sleepless nights too. I know it sounds a little crazy, but it’s true.
This used to be what I did after work. Now it’s what I do with my days. I’ve put everything else on hold to give this my time. I don’t know how long I can afford to keep this up, but right now, I’m having more fun building things than I ever have.
I already posted about my first merged PRs in @NativeScript 's core and @VueNativeScript, with four more still open in core to help make vue-router-ns better. And today, an article I wrote went up on the official @NativeScript 's blog.
Back in 2019, I was already giving talks about it. @DaviAugustoMor1 , @Julio_Augusto_S , @deividmarques and @diegocarlosdev know how long I’ve been going on about NativeScript haha. So seeing my own writing on its official blog feels pretty special.
Jolt is one of the projects I’m proudest of. vue-router-ns is right behind it, because I love @vuejs haha. There’s also another project I’ve been working on quietly that has me just as excited. It uses Jolt too. I’m not ready to announce it yet, but I wanted to share some of that excitement with you.
In the demo video, you’ll see the same app running on three platforms: Web with Nuxt (Vue SPA works too) and SSR, and iOS and Android with @VueNativeScript. Sharing 100% of the code. Yes, 100%. No separate web and native files, no separate templates.
And of course, you’ll see me run into an Android bug in the video haha. That’ll be fixed by the time I announce the project.
More than anything, though, I wanted to thank @NativeScript and everyone in this community. It’s smaller than the RN or Flutter communities, but I’ve always loved how people here seem to look out for each other. People willing to help and share ideas, without much ego getting in the way. That makes a difference.
I’ll leave a video in the replies from an event in São Paulo I went to with @deividmarques . The speaker was talking about cross-platform frameworks, mentioned RN and Flutter, then said Vue didn’t have anything like that. I couldn’t let that one slide haha. It’s in Portuguese, but I’ll include a translation.
It’s hard to explain how much all of this has meant to me, especially right now. We never really know what someone else is going through.
Thank you, @NativeScript, and everyone in this community. I’m grateful for all of it. And yes, I’m going to keep bothering you with ideas, PRs, and things we can build together haha.
Saw @rit3zh 's demo and had to recreate it with @NativeScript + Jolt haha.
Added a few tweaks of my own. Pretty happy with how it turned out 👀
Props to the original creator for the inspiration!
@eyaadh@VueNativeScript@capacitorjs .@triniwiz has been working on bringing HTML to native too. It's still in beta - but there's a lot of cool stuff in the pipeline. Worth checking it out.
https://t.co/33gyJfxVac
@eyaadh@VueNativeScript@capacitorjs NativeScript could be compared to something like react native. It uses a javascript runtime (v8 and others) to enable code from js to communicate directly with native APIs. Native APIs, native views and anything the platform can do {N} can.