frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Snapchat open-sources Valdi a cross-platform UI framework

https://github.com/Snapchat/Valdi
66•yehiaabdelm•2h ago

Comments

digianarchist•1h ago
> Valdi is a cross-platform UI framework that delivers native performance without sacrificing developer velocity. Write your UI once in declarative TypeScript, and it compiles directly to native views on iOS, Android, and macOS—no web views, no JavaScript bridges.
justin66•40m ago
“We’ve got both kinds. Country and western!”
joenot443•39m ago
I was at Snap during this project’s early days (Screenshop!) and spent a bit of time debugging some stuff directly with Simon. He’s a wonderful engineer and I’m thrilled to see this project out in the open. Congratulations Snap team! Well deserved.
IgorPartola•35m ago
Would you use this framework for a project today?
mholm•37m ago
I’m not sure I trust snap of all companies to make a good cross platform framework after how terrible their android app has been.
buffet_overflow•15m ago
I think it’s been changed since, but wow was it weird finding out that instead of taking photos, the Android app used to essentially take a screenshot of the camera view.
kridsdale1•9m ago
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 full quality at all, they’d never zoom. Zero latency would be far more important for fueling the viral flywheel.

cosmic_cheese•8m ago
Things have improved since then, but as I understand it, the technical reason behind that is that it used to be that only the camera viewfinder API was universal between devices. Every manufacturer implemented their cameras differently, and so developers had to write per-model camera handling to take high quality photos and video.
IgorPartola•36m ago
This looks promising. I would love to see more examples of what this can do along with screenshots. As is, there is a single Hello World and the components library is “coming soon”. But if it can deliver what it promises that would be pretty cool. React Native is I think the main popular framework in this space.
yieldcrv•34m ago
So this is like all those other frameworks that compile to native components, except this one is natively Typescript?

I’ll take it

internetter•27m ago
I think? there isn't a typescript runtime? just a build time? I'm not positive how business logic gets executed but:

> it compiles directly to native views

rFlex•20m ago
One of the Valdi's authors here. It's using native views under the hood, like React Native, and there are 3 modes of compilation/execution for the TS source. It can be interpreted from JS (TS compiled to minified JS source), interpreted from JS bytecode (TS compiled to JS source, minified, then compiled to JS bytecode ahead of time), or compiled to native code directly (TS compiled to C ahead of time).
maxdo•34m ago
Not to troll , Do you need such shims in the era of llm ?
internetter•28m ago
Yes? Dear lord I want determinism
sans_souse•15m ago
So now I can finally implement the most god-awful, ugly, cumbersome and unintuitive GUI methodology ever to face a large population of users into my own apps? This abomination that started the whole user-experience decline by making this kind of yuck the gold standard for apps today is finally open source?

Color me yellow.

Neywiny•12m ago
I hope it has "load spam ads directly into the list the user was about to touch somehow the millisecond before they touch it using magical force field technology so they click the wrong thing every time" functionality. I've been missing that in my apps
sans_souse•10m ago
Now offering 4 swipe directions!

Why all the free-stuff Facebook groups you're part of just changed their names

https://sfstandard.com/2025/11/07/buy-nothing-group-facebook-taken-down-trademark-infringment/
1•raybb•2m ago•0 comments

Turkey issues genocide arrest warrant against Benjamin Netanyahu

https://www.theguardian.com/world/2025/nov/07/turkey-issues-genocide-arrest-warrant-against-benja...
1•NomDePlum•2m ago•0 comments

The Milky Way is probably full of dead civilizations

https://www.livescience.com/milky-way-alien-life-map.html
1•SirLJ•4m ago•0 comments

A year of dieting with non-sugar sweeteners shows weight loss can stay lost

https://medicalxpress.com/news/2025-10-year-dieting-sugar-sweeteners-weight.html
2•PaulHoule•5m ago•0 comments

Show HN: PixSprout – Create custom stamps from text or images using AI

https://pixsprout.com/image-to-stamp
1•hugh1st•5m ago•0 comments

Show HN: Constantine Bytensky's 9x20 Font

https://github.com/cbytensky/cnxt
1•kazinator•8m ago•0 comments

Musci.io – Text-to-Music AI Generator (20-30 second generation time)

https://musci.io/
1•xbaicai•10m ago•1 comments

Google DeepMind Announces Gempix2

https://gempix2.io
1•xbaicai•10m ago•1 comments

FireAI: One Platform to Chat, Create Images, and Design Posters

https://www.bedpage.com/
1•icefunc•19m ago•1 comments

Meta can't afford its $600B love letter to Trump

https://www.theregister.com/2025/11/08/meta_cant_afford_its_600b/
4•raybb•20m ago•0 comments

Why Sam Altman was booted from OpenAI, according to new testimony

https://www.theverge.com/ai-artificial-intelligence/814876/ilya-sutskever-deposition-openai-sam-a...
1•paladin314159•25m ago•0 comments

Where You See a Fancy Fish, Engineers See Alan Turing's Math

https://www.nytimes.com/2025/11/06/science/alan-turing-patterns-boxfish.html
1•mikhael•29m ago•0 comments

Elon Musk says building his own 'TeraFab' chip fab may be the only answer

https://www.tomshardware.com/tech-industry/semiconductors/elon-musk-says-terafab-chip-fab-may-be-...
3•SanjayMehta•33m ago•3 comments

How to make government work: Lessons from a rare British success story

https://samf.substack.com/p/how-to-make-government-work
1•rorylawless•35m ago•0 comments

The Geographic Distribution of China's Last Names, in Maps (2013)

https://www.theatlantic.com/china/archive/2013/10/the-geographic-distribution-of-chinas-last-name...
1•fzliu•40m ago•0 comments

Is Fast Charging Killing the Battery? A 2-Year Test on 40 Phones [video]

https://www.youtube.com/watch?v=kLS5Cg_yNdM
1•htk•41m ago•0 comments

Bootc for Workstation Use

https://lwn.net/SubscriberLink/1042708/90b68e222a964524/
1•todsacerdoti•43m ago•0 comments

Is microwave cooking nuking all the nutrients?

https://www.popsci.com/health/do-microwaves-destroy-nutrients/
2•wjb3•43m ago•1 comments

Show HN: I gave ChatGPT access to live stock market data

https://rallies.ai/
1•rallies•44m ago•0 comments

Trump Says U.S. Visas Can Be Denied to Fat People from Now On

https://newrepublic.com/post/202898/trump-us-visas-deny-fat-people-obesity
8•c420•44m ago•1 comments

Post Perihelion Data on 3I/Atlas

https://avi-loeb.medium.com/post-perihelion-data-on-3i-atlas-3d1e72be2bb4
1•ojosilva•47m ago•0 comments

Sam Altman's pants are on fire

https://garymarcus.substack.com/p/sam-altmans-pants-are-totally-on
24•toomuchtodo•47m ago•5 comments

Israel dumps millions into geo targeting evangelicals in churches and ChatGPT

https://www.disclose.tv/id/wrbhq1fa5c/
17•cramsession•51m ago•5 comments

Jensen Huang Gets It Wrong, Claude Gets It Right

https://www.oreilly.com/radar/jensen-huang-gets-it-wrong/
3•ubasu•55m ago•0 comments

Show HN: Hacker Reader – A clean, open-source Hacker News client for iOS

https://apps.apple.com/us/app/hacker-reader/id6754137305
1•danielcspaiva•56m ago•0 comments

Running a 68060 CPU in Quadra 650

https://github.com/ZigZagJoe/Macintosh-Q650-68060
3•zdw•1h ago•0 comments

How Press Photos Were Transmitted Back in the 1970s (2015)

https://petapixel.com/2015/07/26/this-is-how-press-photos-were-transmitted-back-in-the-1970s/
4•zdw•1h ago•0 comments

What is the sense behind ZFS's limits

https://unix.stackexchange.com/questions/336961/what-is-the-sense-behind-zfss-limits
3•caminanteblanco•1h ago•0 comments

What happens to your body after you drink a can of Coke

https://www.telegraph.co.uk/health-fitness/diet/nutrition/what-cola-does-to-your-body/
4•wjb3•1h ago•0 comments

Why I stopped proofreading and started to listen

https://refp.se/articles/I-stopped-proofreading-and-started-to-listen
2•refp•1h ago•0 comments