Commit 9eabb37
committed
[compiler][be] Remove unused experimental Rust port
I wrote this a couple summers back as an experiment to see how easily we could translate the compiler to Rust. We make extensive use of in-place mutation of the IR, and the experiment proved that this we can get reasonable ergonomics for this in Rust which was cool. We've since ended up using some of the code here for Relay, allowing Relay Compiler to parse JS files to do more fine-grained extraction of data. For React Compiler though, we plan to continue using JavaScript and explore lightweight native wrappers for things like OXC and SWC plugins. We're also working with the Hermes team to eventually compile the compiler with Static Hermes.
As Tomo always says: always bet on JavaScript.
ghstack-source-id: c5770a2
Pull Request resolved: facebook#322191 parent a6ce56d commit 9eabb37
File tree
1,146 files changed
+0
-223571
lines changed- .github/workflows
- compiler
- crates
- react_build_hir
- src
- react_diagnostics
- src
- react_estree_codegen
- src
- react_estree
- src
- fixtures
- snapshots
- react_fixtures
- src
- tests
- fixtures
- snapshots
- react_hermes_parser
- src
- tests
- fixtures
- snapshots
- react_hir
- src
- react_napi
- src
- react_optimization
- src
- react_semantic_analysis
- src
- tests
- fixtures
- snapshots
- react_ssa
- src
- react_utils
- src
- docs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,146 files changed
+0
-223571
lines changedThis file was deleted.
0 commit comments