Live data from Hacker News

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

github.com

211–220 of 230 posts

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

#211

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?

This is the direction we are going, but at the moment we are doing iOS only, but with the plan of learning the users UX needs in iOS before investing in Android, which is a bit strange because most of our team are on Android, but our users are on iOS. Every time I see a new project like Valdi, I am hoping for something that is truly magical and cross platform, but I'm always steered away by comments like yours and pe…

To me it's crazy how many people work on these seemingly simple applications.

How many people do you need to build JUST the native Android and iOS app for snapchat?

Is the "single" codebase really worth all the added complexity and additional risk?

I'd always go the native route if the user experience is business critical.

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

#212

Earlier quoted context omitted.

Self-hosted forums, github's built-in forums, IRC; Practically anything but Discord.

Having never used Discord myself, please convince me that I should never bother. I.e. what’s so bad about it?

What lblume and nicce said, with the addition of it being both a Chinese-controlled privacy nightmare (with it apparently requiring non VOIP phone numbers for verification after being logged in for a while), as well as it making the bar to entry for cretins close to zero, meaning you'll soon find whatever chatroom you set up a prime example of Eternal September.

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

#213
post #209

Earlier quoted context omitted.

I hear this and it makes sense but when I actually go about implementing it, it quickly falls apart. Most apps are UI, remote requests and maybe some storage. What do you put in the common core? Android does HTTP requests one way. iOS does them another way. You go for the lowest common denominator an implement a third way, using libcurl or something? Or do you just put business logic in the common core? Is there real…

Excellent Points, this is where the answer is "it depends". > What do you put in the common core? Android does HTTP requests one way. iOS does them another way. You go for the lowest common denominator an implement a third way, using libcurl or something? If it's really functionality that cannot reasonable be shared don't share it. It's probably more work to maintain bindings to a single API client in the core and fi…

That's perfectly reasonable but, at that point, the argument becomes: build 95% natively and maybe there's a 5% "core" that warrants extracting into a common lib. Technically? That's excellent architecture. In terms of saving development time — which is where stuff like React Native comes in? Not so much.

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

#215
post #56

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…

Maybe this https://blog.jim-nielsen.com/2022/inspecting-web-views-in-ma... and https://news.ycombinator.com/item?id=30648424 ? On mobile the webview app experience is crap and it's immediately obvious that an app is not native. Simply nobody asks customers how they like it. The management assumes that as long as nobody complains and the users don't leave in droves, the experience must be impeccable.

from the comments:

> Definitely every one of these is sluggish at best on a very modern machine but they are also full of UI annoyances.

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

#217

I built an app in capacitor react which usea webview. It's called Snap Tap Relax its on android and app store. I think it is good for webview. Mind letting me know what you think? Is it slow or good? Notice that it's not native?

Checked it out out of curiosity and it feels very much close to native

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

#218
post #152

Earlier quoted context omitted.

Flutter performs better than RN in my experience (mobile)

And how up-to-date is that experience? Have you deployed Flutter to web?

Haven't tried web. On mobile, it produces great results.

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

#219

Earlier quoted context omitted.

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 brea…

Zed isn’t native either. As you said, it uses its own bespoke UI framework with custom widgets.

Sorry if that wasn't clear, that was the point I was trying to make - Zed's UI worked oddly for me in subtle ways that I can't really give an example of right now, but created a sense of discomfort that made me give up on it after a short while.
Post reply on HN