Live data from Hacker News

Valdi – A cross-platform UI framework that delivers native performance

github.com

181–190 of 230 posts

Re: Valdi – A cross-platform UI framework that delivers native performance

#181

Working at a company that uses react-native I wish nothing more than for the end of app stores and differing platform languages. We're heavily considering just having a website next year with a mobile app using webview, and then native code for the native notifications, GPS and healthkit / health connect. I feel like AI is changing the equation, its nearly better to write your business UI 3 times one for each platfor…

With the first iPhone Steve Jobs wanted a web based future. Then jailbreaking got us native apps and AppStores and the rest is history.

I still remember my Nexus One running flash!

Anyway, I wonder if the web path would’ve been the chosen one, how Apple would’ve played the web standards that are crippled today especially on Safari.

Re: Valdi – A cross-platform UI framework that delivers native performance

#182

Working at a company that uses react-native I wish nothing more than for the end of app stores and differing platform languages. We're heavily considering just having a website next year with a mobile app using webview, and then native code for the native notifications, GPS and healthkit / health connect. I feel like AI is changing the equation, its nearly better to write your business UI 3 times one for each platfor…

Would love to see it. Even Apple's support for PWAs has come a long way. Still can't list them on the app store though

Re: Valdi – A cross-platform UI framework that delivers native performance

#183
post #31

Earlier quoted context omitted.

I worked on the camera in Instagram iOS for a while. There at least, there could be a 5,000ms latency delta between the “screen preview” and the actual full quality image asset from the camera DSP in the SOC. I don’t know a thing about Android camera SDK but I can easily see how this choice was the right balance for performance and quality at the time on old hardware (I’m thinking 2013 or so). Users didn’t want the f…

> Users didn’t want the full quality at all, they’d never zoom. Dating apps use awful quality versions of the photos you upload too. Seems to be good enough for most people.

Must increase engagement, surely.

Re: Valdi – A cross-platform UI framework that delivers native performance

#184
post #77
post #53

Earlier quoted context omitted.

It’s a bad idea to put the fox (front-end developers) to guard the henhouse (great, consistent user experiences).

lol, yeah what do front ender devs know about UX. SMH…

In my experience? Very, very little.

Re: Valdi – A cross-platform UI framework that delivers native performance

#186

Earlier quoted context omitted.

> its nearly better to write your business UI 3 times one for each platform. Anyone have any experience of doing this for a complex and long-life app? Sounds like a nightmare that would increase friction and decrease development fun by x10 because of the huge overhead and tedium of having to keep your features and tests in sync across platform for every change you want to iterate on, and requiring developers be profi…

I can share a bit on this one. I’m doing hybrid apps for the last 8 years and stick to Cordova on my day job but also tried Flutter and RN for a bit. As I’ve seen some other comments about the iOS/Android look and feel (swiping gestures, etc.), Ionic (or the Cupertino package in Flutter) is the way to go. Without this, it would be a lot of trouble. However, as the recent iOS 26 update has shown, neither Ionic nor Flu…

As a corollary, working with RN quite a lot, we just built an app for a client that was end to end finished and fully approved to both apps in a month, including pretty deep feature work and redesigning multiple screens. It includes the latest liquid glass native UI as well.

RN is a mess to get into, but once you've found a good stack you can really fly. We are working on a starter kit based off our experience that I think should represent the best possible starting point once it's released sometime before the EOY.

Re: Valdi – A cross-platform UI framework that delivers native performance

#187

Working at a company that uses react-native I wish nothing more than for the end of app stores and differing platform languages. We're heavily considering just having a website next year with a mobile app using webview, and then native code for the native notifications, GPS and healthkit / health connect. I feel like AI is changing the equation, its nearly better to write your business UI 3 times one for each platfor…

I personally have a preference for Apple's native frameworks. From a purely engineering standpoint, they're very well thought out and have very clear separations of concerns. Spending my time with their libraries helped me write good, scalable code for platforms beyond their own. That said, platform lock-in is bad for business because it makes operations dependent on a single provider, but I have no delusions that a…

Their Cocoa based frameworks were good for their time, I'll grant you that. Swift & SwiftUI, at least in their current state, are a mess with some pretty fundamental issues.

Re: Valdi – A cross-platform UI framework that delivers native performance

#188
"A C++, Objective-C or Kotlin object or function exposed to TypeScript is called a Native Reference within the runtime. A TypeScript function exposed to C++, Objective-C or Kotlin is called a JS Value Reference."

Concerning that there's no mention of Swift there. Or SwiftUI.

Re: Valdi – A cross-platform UI framework that delivers native performance

#189
post #21

Earlier quoted context omitted.

Most of the TS language is supported, things that are not can be considered bugs that we need to fix. Eval is supported but it won't be able to capture variables outside of the eval string itself. We took a reverse approach than most other TS to native compiler projects: we wanted the compiler to be as compatible with JS as possible, at the expense of reducing performance initially, to make it possible to adopt the n…

Can this compiler be used outside of Valdi? TS to native AOT sounds incredible.

Quickjs will do this.

Re: Valdi – A cross-platform UI framework that delivers native performance

#190

Earlier quoted context omitted.

I use Voyager, a client for Lemmy, on a daily basis and it’s my favorite mobile (iPad) app. Voyager is the spiritual successor to the Apollo client for Reddit. https://github.com/aeharding/voyager The app uses Ionic’s Capacitor, which to my rudimentary understanding is the webview-based upgrade of Cordova. I’ve had far fewer issues with this app than the likes of Bluesky (react native) and Discord (I think also react…

You are comparing web view apps to web view apps. “React Native” has muddied the waters here with intentional misuse of terminology. With React Native you still write a web view app - it just ahead of time compiles to run without the browser view on device. But it doesn’t use any native UI components, which is what “native app” used to mean.

I may have read your comment backwards but it seems rather wrong: react native DOES use native UI components, thats why it has “native” in its name. It’s also not compiled ahead of time per se, you still execute JS in the app (not in webview, yes) , but its mapped to native components
Post reply on HN