Live data from Hacker News

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

github.com

111–120 of 230 posts

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

#111
post #100

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…

that only works if you have a simple app that displays some stuff from a server. if you want to do something actually requires some compute, then suddenly this doesnt work so great ex: youre prolly not going to want to edit images in JS

The tag using webgl offers a lot lower access to buffers than you might imagine and is very accessible using JS/DOM. I've gotten surgical AR devices approved from FDA - if it works good enough for life or death situations - it can certainly work for a toy app.

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

#114

Earlier quoted context omitted.

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

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…

Not really. The difference between high quality web app and native app is very noticeable.

And between average native and average web view - it is night and day.

99% of web apps in desktop browser are laggy. And on mobile it feels like crap.

Sure if you are an expert in top1% you can probably get it working really good. But this is true only for 1 in 100 if not less.

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

#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 user interacts with your program are simply thin abstractions that call your core components.

The complexity of each UI will inevitably vary, and it might not be possible to offer a consistent experience across platforms or to leverage unique features of each platform without making your core a tangled mess, so this is certainly not "easy" to do in practice, but this approach should avoid the bulk of the work of targetting individual platforms than if you had done it any other way. It should also avoid depending on a 3rd-party framework that may or may not exist a few years down the line.

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

#116
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…

Unfortunately, all too often not enough. But then again often one has UX designers for that, but they are all too often off to build flying castles in Figma.

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

#117
post #113

Earlier quoted context omitted.

by llm you surely mean tech debt generators right?

tech debt generator - another job AI is taking away from humans!

I’ll finally accept I’ve been replaced when they start leaving #TODO notes to themselves that never get fixed.

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

#118

I cannot possibly think of something I would want to use less. A Snapchat-developed UI framework where communication is done via Discord sounds like something carefully designed to repulse me.

Tons of software projects have moved their communities to discord. Not saying it's a great thing, but you're self selecting out of the future.

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

#119

I often wonder how the economics are justified in making in house frameworks. What is it about Snapchat that requires a new framework but not other apps?

Valdi seems very similar in concept to React Native but Meta being the biggest competition to them you unlikely gonna depend on that even if better. Same reason ByteDance (Tiktok) doing Lynx.js (also similar to Valdi and React Native and also based on React).

The only FAANG scale companies that adopted React Native are Microsoft and Amazon because they aren't directly competing with Meta.

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

#120

I cannot possibly think of something I would want to use less. A Snapchat-developed UI framework where communication is done via Discord sounds like something carefully designed to repulse me.

Tons of software projects have moved their communities to discord. Not saying it's a great thing, but you're self selecting out of the future.

If the future is unable to think critically, I'll stay in the past.
Post reply on HN