Live data from Hacker News

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

github.com

131–140 of 230 posts

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

#131
post #46

Earlier quoted context omitted.

> It’s because if a webview app experience is good, you don’t notice it, you only notice if it’s bad. Aside from Apple’s apps (which imo are noticeably worse than the old ones, but that’s beside the point), what are some good WebView apps on iOS right now?

Somebody scraped the play store and checked the framework, so a list for Android WebView apps, built with capacitor, is here: https://capgo.app/top_capacitor_app/ Maybe an equivalent is there on iOS for the same app...

Sadly i couldn’t find a reliable way to do it on Apple Store, it’s pretty hard to download from the store outside of apple device. If anyone know how i can do it too

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

#132

Earlier quoted context omitted.

I did this and never looked back. It’s called a “WebView app” and you can get a really good experience on all platforms using them. Just: - don’t make any crazy decisions on your fundamental UI components, like breadcrumbs, select dropdowns, etc - add a few platform-specific specialisations to those same components, to make them feel a bit more familiar, such as button styling, or using a self-simplifying back-stack…

I have never once experienced a WebView app that I would say had “a really good experience.”

Obsidian. In android it's the best markdown editor.

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

#133
post #46

Earlier quoted context omitted.

It’s because if a webview app experience is good, you don’t notice it, you only notice if it’s bad. A while ago saw a blog link on HN that explained how Apple uses it everywhere and we never notice it because they are done well. Of course I can’t find that link now, I summon the HN gods…

> It’s because if a webview app experience is good, you don’t notice it, you only notice if it’s bad. Aside from Apple’s apps (which imo are noticeably worse than the old ones, but that’s beside the point), what are some good WebView apps on iOS right now?

Yes, Apple's apps are really really bad - including the app store. I am not even sure whether that app store can be considered a stand alone app or we should call it part of the OS.

A webview app is by design bad. Webviews were made for one thing - web views.

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

#135

Earlier quoted context omitted.

Snap is the greatest innovator of user experiences in this generation. This is evidenced by the fact that literally every other social media app is just a hodgepodge copycat of sorts of what snap invented. For people who introduced themselves to tech with snap as one of their first apps, its the most intuitive thing ever. When they first introduced video calls, schools had to close for a day. Imagine then you come he…

> have userbase > introduce feature Phwoar, ground breaking UX design there! > When they first introduced video calls, schools had to close for a day. Which schools, where? Are they in the room with us now? > For people who introduced themselves to tech with snap as one of their first apps, its the most intuitive thing ever Point camera. Press button. Pick users. Gotta try real hard to screw that one up, UI wise.

I suppose you're just salty they didnt make a linux app.

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

#136

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 did this and never looked back. It’s called a “WebView app” and you can get a really good experience on all platforms using them. Just: - don’t make any crazy decisions on your fundamental UI components, like breadcrumbs, select dropdowns, etc - add a few platform-specific specialisations to those same components, to make them feel a bit more familiar, such as button styling, or using a self-simplifying back-stack…

Using webviews on native platforms can look very appealing from a management perspective: a single codebase, simpler coordination, reduced UX overhead, and faster iteration cycles.

However, from the user's side, this approach often results in a buggy, inconsistent experience that lacks the responsiveness and smoothness of a true native app that elusive "snappy" feeling (i know, I hate that word too)

Companies usually choose this route because it's cheaper, but that same "cheap mentality" often seeps into the overall product quality. Corners get cut, bugs get ignored, and long-term maintenance becomes a mess.

From a developer's perspective, it's a nightmare You're essentially expected to deliver on three platforms doing the work of three people for the same $ In theory, any web developer could handle it. In practice, you need to understand all the native platforms just to maintain some basic, stable integrations even with frameworks like React Native.

The result? Maybe 20% of your time goes into actual feature development, 30% into testing, and the remaining 70% into fixing obscure, platform-specific bugs while working overtime under pressure from cost-driven management.

In my experience, developers will do almost anything to avoid dealing with the native parts of this kind of setup those tasks usually get dumped on whoever is most "familiar" with native, because it's such a pain to handle.

And let's not forget QA testing across these hybrid layers is an absolute nightmare as well.

In the end, my view is simple: If a company can't afford dedicated native teams, they probably shouldn't build a native app. (Of course, smaller apps with limited complexity should be fine)

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

#137

Earlier quoted context omitted.

I did this and never looked back. It’s called a “WebView app” and you can get a really good experience on all platforms using them. Just: - don’t make any crazy decisions on your fundamental UI components, like breadcrumbs, select dropdowns, etc - add a few platform-specific specialisations to those same components, to make them feel a bit more familiar, such as button styling, or using a self-simplifying back-stack…

I have never once experienced a WebView app that I would say had “a really good experience.”

I have experienced the opposite with Zed, which has its own bespoke UI framework - it behaved somewhat unexpectedly and didn't work exactly how I'm used to an UI to behave giving me this uncanny feeling.

This kinda shows you how much effort and experience goes into getting an UI framework right, and the long tail quirks (of which there are a zillion) matter for UX, and while I appreciate they took on the task of breaking away from the browser, it's understandable why someone wants to ship an app on time and budget goes with a web based solution.

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

#138
post #115

Just write 2 native UIs in the 2 platform native languages and share a common core written in any language that offers a C like FFI. How hard could it be?

I agree, this is the way. To be clear: I'm not a mobile developer, and have only dabbled with it over the years, but I'm generally familiar with the stacks. If you want to simplify development of a cross-platform app, your work should start by architecting the software in a way that the core business logic is agnostic to the user interfaces. Then your web, mobile, and desktop GUIs, CLI, TUI, API, and any other way a…

Agreed.

One extra clarification: If the quality of your app is business critical you should really use the native UI toolkit to offer the best platform integration and user experience.

If your app is not business critical (you just have to offer it - example: dishwasher app, ..) you might get away with using a cross platform toolkit like flutter or react native. But even then this adds a 3rd party dependency as you mentioned which adds risk.

Writing an App in Swift on iOS is boring. The same thing is true for writing an Android app using Kotlin/Java. This is a good thing. Now your developers can concentrate on shipping great features.

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

#139
post #21
post #20

Earlier quoted context omitted.

An AOT TS -> C compiler is fantastic - how much of the language is supported, what are the limitations on TS support? I assume highly dynamic stuff and eval is out-of-scope?

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.

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

#140

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…

> 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 proficient at multiple stacks.

I get the usual complaints about bad webview implementations, but separate native codebases sounds like a prohibitively enormous tradeoff if most users only perceive the UX as being a little better than a good webview implementation. I feel like I'm missing something that native codebases is suggested as if it's a simple alternative, or this is coming from people that aren't actually involved in this?

Post reply on HN