Skip to content
moq-devPublic

About

Rust experiments

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

rust2

Rust to other places.

  • TypeScript: an own rustc driver that translates a documented Rust subset to TypeScript, without WASM.
  • C, then any language: an exporter that turns a crate's pub API into a C ABI and header with no attributes, sharing the TypeScript driver's front end.
  • Faster builds: a reproducible build-speed benchmark of upstream's levers on moq, and rust2-lint, which fails a build whose generics' copies cost its codegen more than a budget (nix run github:moq-dev/rust2#lint -- --help).

Everything here is early; the quest tree holds the plan.

Development

nix develop   # or direnv allow
just ci       # just check, then just test, as the merge queue runs them

License

Licensed under either MIT or Apache-2.0, at your option.

About

Rust experiments

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages