frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Port React Compiler to Rust

https://github.com/react/react/pull/36173
29•boudra•1h ago

Comments

Trung0246•45m ago
Curious but can we use lean4 as port target instead of Rust?
jon-wood•37m ago
I'm sure its technically possible, you might need to provide a bit more context if you expect anyone to change course here and port it to a programming language approximately no one has heard of rather than Rust though. What makes you think that would be a good idea?
koito17•23m ago
> approximately no one has heard of

Just cause it isn't used for webshit doesn't mean "approximately no one" has heard of it.

Lean is pretty much the most popular language mathematicians use today for computer-assisted proofs. More mature audiences may know about Rocq, Isabelle, etc., but Lean was already popular enough for a few people I know to have written their PhD theses on it about a decade ago.

I think GP is joking about a port to Lean because that would at least produce a formally verifiable output.

HeavyStorm•13m ago
Oh, PhDs, you're right, that's not approximately no one... It's probably approximately one.

I like Lean (and more generally dependent types) but ffs Lean has a very, very small userbase for a project like this. GGP would have to really justifyv the benefits for such a switch.

koito17•5m ago
I doubt jon-wood was seriously suggesting the project go forward with rewriting the whole thing in Lean. Maybe our senses of humor are just different, but I'll explain the joke again: Lean is formally verifiable, Rust generally isn't.

In fact, I am not sure of any subset of Rust that is known to be formally verifiable. I know the Rust Foundation has funded *some* project in the past towards this goal, but that's orthogonal to the conversation.

willsmith72•34m ago
Are people actually using the react compiler?

Haven't heard about since ages ago when it was extremely slow

paavohtl•16m ago
We have used React Compiler in production for a large ecom / media website for about a year. Performance has been fine overall, and we haven't ran into any major bugs attributable to it in that time.
voidUpdate•32m ago
What is the react compiler written in currently?
LoganDark•22m ago
Uh, TypeScript?
iammrpayments•16m ago
I think they use something called “flow” last time I’ve checked, it’s like typescript but when I went to visit the website with more information it was so slow it crashed my browser.
LoganDark•13m ago
You may be right. I think Flow was a predecessor to TypeScript.

I just checked out Flow and woah. First-class syntax sugar for React. Maybe cool. (If it doesn't break catastrophically in a sane build system like Vite)

ramon156•26m ago
I think it's fine to experiment, just communicate with your users and make sure its opt-in.

Seems like they kind of did that? The thread seems like people already were waiting on this, so that's positive.

LoganDark•21m ago
Why are they porting the Babel-isms? They should be using Oxc tooling directly, not hanging onto JavaScript parsers, IMHO -- isn't the benefit of porting to Rust that you can use fast native code?

It seems backwards that they are freezing the Babel AST into the interoperability contract and only using the more efficient native representations in an isolated fashion -- shouldn't it be the other way around?

NASA Marches Toward Artemis III Mission in 2027, Names Crew Members

https://www.nasa.gov/news-release/nasa-marches-toward-artemis-iii-mission-in-2027-names-crew-memb...
1•noworld•17s ago•0 comments

Beyond Protectionism: Why EU should put up trade barriers against Chinese goods

https://www.noahpinion.blog/p/why-europe-should-put-up-trade-barriers
1•throw0101a•1m ago•0 comments

Show HN: A tool to analyze and manage sosreports

https://sos-vault.com/login
1•jlrueda•4m ago•0 comments

Open System Firmware: Experiences deploying LinuxBoot, coreboot at Google (2021) [video]

https://www.youtube.com/watch?v=xsikf8JzQyU
1•peter_d_sherman•4m ago•1 comments

The Bitter Lesson

http://www.incompleteideas.net/IncIdeas/BitterLesson.html
1•Anon84•4m ago•0 comments

Humans prefer to walk anticlockwise, scientists find – but reason is unclear

https://www.theguardian.com/science/2026/jun/10/humans-prefer-to-walk-anticlockwise-scientists-fi...
1•giuliomagnifico•5m ago•0 comments

Taiwan Mulls Curbs on AI Chip Exports to China to Align with US

https://www.bloomberg.com/news/articles/2026-06-09/taiwan-mulls-curbs-on-ai-chip-exports-to-china...
1•giuliomagnifico•7m ago•0 comments

July 13, 2026 Certificate update for Microsoft 365 apps on macOS/iOS devices

https://learn.microsoft.com/en-us/microsoft-365-apps/mac/certificate-update-mac-ios
1•guessmyname•11m ago•0 comments

LibreWXR: Self-hostable, drop-in replacement for the Rain Viewer API

https://github.com/JoshuaKimsey/LibreWXR
1•Leftium•14m ago•0 comments

Humans and LLMs share a mental disorder: Fugue Lock

https://vwwwv.org/post/fugue-lock
1•olemak•16m ago•0 comments

Robots are about to overtake armed soldiers as the deciders of war

https://www.newscientist.com/article/2529267-robots-are-about-to-overtake-armed-soldiers-as-the-d...
1•janandonly•17m ago•0 comments

Europe's Growing Rift with Trump Ensnares a $115M Tech Deal

https://www.nytimes.com/2026/06/09/technology/solvinity-kyndryl-blocked-deal-us-europe-rift.html
2•Vinnl•21m ago•0 comments

Deep Learning may have just solved Time-Series Predictions

https://github.com/Forgis-Labs/hepa
3•Gian-Alessandro•25m ago•2 comments

Camera for Radio Waves using 4x4 MIMO

https://www.crowdsupply.com/scale-rf/quadrf#
2•mrtnmcc•28m ago•0 comments

What science can tell us about C and C++'s security (2020)

https://alexgaynor.net/2020/may/27/science-on-memory-unsafety-and-security/
1•tosh•29m ago•0 comments

Could Be the Worst Ebola Outbreak in History

https://www.nytimes.com/interactive/2026/06/09/opinion/ebola-outbreak-africa-usaid.html
1•napolux•32m ago•0 comments

Scan Any iOS or Android App for SDKs and API Calls Free with AppGoblin, No Login

https://jamesoclaire.com/2026/06/10/scan-any-ios-or-android-app-for-sdks-and-api-calls-for-free-w...
1•ddxv•33m ago•1 comments

Mesh Plugin for KiCad

https://jaseg.de/blog/kicad-mesh-plugin/
1•serhack_•33m ago•0 comments

Show HN: SeaTicket – Resolve GitHub Issues Using AI Agent

2•Daniel-Pan•37m ago•0 comments

More AI-generated code doesn't make your team faster. It might slow you down.

https://twitter.com/awscloud/status/2064449711155589396
2•latexr•39m ago•1 comments

Ask HN: Are we all walking into a trap?

2•skor•39m ago•1 comments

How Healthcare Systems Shape Native Preferences for Immigrants

https://www.tus.ac.jp/en/mediarelations/archive/20260609_6133.html
1•rustoo•40m ago•0 comments

Microsoft releases software updates to plug nearly 200 security holes

https://krebsonsecurity.com/2026/06/a-record-breaking-patch-tuesday-for-june-2026/
1•moebrowne•44m ago•0 comments

Claude Sonnet 4.6 Making VMs in GCP, Azure and AWS via a Textual Agent Interface

https://www.youtube.com/watch?v=3ox9vuJSdjg
2•keepamovin•47m ago•0 comments

Show HN: macOS menu bar gauges for your Claude Code quota

https://github.com/grzegorz-raczek-unit8/claude-quota
2•grzracz•48m ago•0 comments

Tell HN: Codex once again automatically activates /fast on app update

1•mfi•53m ago•0 comments

The Great Powers Are Learning They Have Limits

https://www.wsj.com/world/the-worlds-great-powers-are-learning-they-have-limits-6bd23f64
1•JumpCrisscross•55m ago•0 comments

South Korea's SK Hynix Eyes US Listing as Soon as August

https://www.reuters.com/world/asia-pacific/south-koreas-sk-hynix-eyes-us-listing-soon-august-sour...
3•JumpCrisscross•58m ago•0 comments

I built a tool that automates the creation of vertical Quran recitation videos

https://reeldeen.vercel.app/
1•Seepless•58m ago•0 comments

The Illusion of Control: When Complexity Outpaces Mastery

https://victoriaaremo.substack.com/p/the-illusion-of-control-when-complexity
1•victoria_aremo•1h ago•0 comments