opening-hours-rs
swc
opening-hours-rs | swc | |
---|---|---|
1 | 153 | |
19 | 31,617 | |
- | 0.5% | |
9.2 | 9.9 | |
5 days ago | about 22 hours ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
opening-hours-rs
swc
-
Sprout: my submission for GitHub Copilot Challenge
@vitejs/plugin-react-swc uses SWC for Fast Refresh
-
Fresh Start: Unlocking New Beginnings with GitHub Copilot
# React + Vite This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. Currently, two official plugins are available: - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh # Fresh-Starts
-
How can VoidZero be commercialized?
Firstly, tools such as Vite and SWC cannot be used for a fee. There are too many products of the same type, so if you charge, everyone won't need to use them. Of course, being free does not mean it has no value. With more users, there is a great potential for natural value.
-
What is Evan You doing by creating VoidZero, and what are the issues with JS toolchains?
However, new tools such as SWC and esbulid now also support JS code compression, and their execution efficiency is higher. After all, Rust or Go inherently have much higher execution efficiency than JS.
-
Rewriting Rust
> Look at the dependency tree for a next
Looks ok to me: https://npmgraph.js.org/?q=next
Ironically, most of the dependencies are actually Rust crates used by swc and turbopack [1]. Try running cargo tree on either of those crates, it's enlightening to say the least. And of course, Node has a built in file watcher, and even the most popular third party package for file watching (Chokidar) has a single dependency [3].
[1] https://github.com/vercel/turborepo/blob/main/Cargo.toml
[2] https://github.com/swc-project/swc/blob/main/Cargo.toml
[3] https://npmgraph.js.org/?q=chokidar
-
ts-blank-space is a fast type-stripping compiler
It does!
Node uses swc to do this. The swc implementation of blank-spacing (implemented here <https://github.com/swc-project/swc/pull/9144>) was inspired by the author of ts-blank-space here: <https://gist.github.com/acutmore/27444a9dbfa515a10b25f0d4707...>. It has just taken a little longer to release the original implementation.
-
Tudo que Estudar, para se tornar uma Engenheira(o) de Software.
Link
-
Make your Vite applications run a little faster
Using a more raw toolchain is also a good way to speed things up; the SWC website shows it to be 20 to 70 times faster than Babel, and there are tons of speed advantages in complex real-world applications, which proves that rawness can be a big help in speeding things up. Instead of vite-plugin-react, you can use @vitejs/plugin-react-swc, with LightningCSS instead of PostCSS, SWC or esbuild instead of Babel, etc. etc. to achieve better performance.
-
Building an Auto-verified Quote DApp on Morph
@vitejs/plugin-react-swc uses SWC for Fast Refresh
-
Webpack Performance Tuning: Minimizing Build Times for Large Projects
Babel with 49,577,061 npm downloads per week, is the most used tool for JavaScript transformation, we looked at Esbuild as a replacement but many functionalities, most notably loadable support, are missing. Another alternative SWC, written in Rust, supports all the necessary functionalities we need, and on top of that it has APIs similar to Babel, making migration much smoother than other alternatives:
What are some alternatives?
osm-renderer - OpenStreetMap raster tile renderer written in Rust
esbuild - An extremely fast bundler for the web
OpeningHoursEvaluator - An evaluator for opening hours tag according to OSM opening hours specification
tsup - The simplest and fastest way to bundle your TypeScript libraries.
abstreet - A traffic simulation game exploring how small changes to roads affect cyclists, transit users, pedestrians, and drivers. [Moved to: https://github.com/a-b-street/abstreet]
vite - Next generation frontend tooling. It's fast!
OpeningHoursParser - Parser for string values according to the OSM opening hours specification
vitest - Next generation testing framework powered by Vite.
osm-gimmisn - Finds objects missing from the OpenStreetMap DB
ts-loader - TypeScript loader for webpack
osm-geo-mapper - Navigate OpenStreetMap data in the terminal
sucrase - Super-fast alternative to Babel for when you can target modern JS runtimes