Rust
swc
Our great sponsors
Rust | swc | |
---|---|---|
6 | 82 | |
7,284 | 22,108 | |
11.5% | 3.5% | |
8.8 | 10.0 | |
about 9 hours ago | 1 day ago | |
Rust | Rust | |
MIT License | 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.
Rust
-
🙋What are your Advices & Suggestions on Open Source Contribution 🦀?
You can start by contributing an algorithm in TheAlgorithms/Rust repo. I contributed a memoized Fibonacci algorithm when I first learned the language. This only requires knowledge on algorithms not yet included in the repo.
-
35 Rust Learning Resources Every Beginner Should Know in 2022
27. The Algorithms Rust git repo offers code examples for many essential standard algorithms for data structures, sorting, and strings, among many others. This is a very good resource if you are trying to practice for job interviews.
- My Favorite Language has Changed to PHP
- All Algorithms Implemented in Rust
-
Examples of code that is easy to read and understand from the first sight?
i like this repo :) https://github.com/TheAlgorithms/Rust
-
Rusticles #15 - Wed Oct 14 2020
TheAlgorithms/Rust (Rust): All Algorithms implemented in Rust
swc
- Swc - Rust-based platform for the Web
-
Will there be an official rollup plugin with SWC like it does for webpack?
They actually have a discussion board for asking questions about the project; I would suggest going there first. It's possible someone has already asked this question!
-
Build a Restaurant Website with Next.js 12.1 Features
One of the key features of Next.js 12 is performance optimization. To boost performance, Next.js replaced the Babel compiler with an extensible Rust compiler and enabled it by default using Next.js 12, the compiler is built on top of — SWC — which stands up for Speedy Web Compiler. It does consume TypeScript/JavaScript and emits JavaScript code that can be executed on old browsers.
- Zig self hosted compiler is now capable of building itself
-
Rust-based TypeScript type-checker project leader threatens paid solution
SWC is not a "TypeScript type-checker project", it's a bundler and compiler.
The type checker in the title refers to the author's work porting the tsc to Go, which is a different/additional project.
> Vercel is sponsoring and funding the work to port tsc to Go. We’re planning to open-source this work in the future. I’ll also be creating a bridge to use this new version of tsc with SWC.
From the author's blog post "I'm porting tsc to Go" - https://kdy1.dev/posts/2022/1/tsc-go
The author has gone back and forth on whether the work will be open-sourced.
> It will be developed as a propriety software.
Mar 2021 - https://github.com/swc-project/swc/issues/571#issuecomment-8...
> I'm considering withdrawing the plan for open-sourcing it.
Apr 2022 - https://github.com/swc-project/swc/issues/571#issuecomment-1...
-
TypeScript as Fast as Rust: TypeScript++
Yeah I meant speed of execution. Sorry for the letdown! But https://github.com/swc-project/swc is a very fast Typescript compiler written in Rust :)
-
Is there an official language spec and/or lexical grammar for TS?
It's not official, but swc includes an existing TypeScript parser written in a lower-level language. Swc is specifically designed for AST transformations. Currently the plugin system for custom transformers uses JS plugins which might not be fast enough for you. They are discussing implementing a Rust plugin system that would be faster. In the meantime you could pull out the parser code, and incorporate it into your own code.
-
The React CLI you always wanted but didn’t know about
One of the advantages of using Nx over - say CRA or a custom starter template - is that your Nx workspace is evergreen. What do I mean by that: by now we all know how fast the frontend space is moving, and so are the corresponding devtools. Today you might be using Rollup to build your libraries, tomorrow you use swc, vite or esbuild. Same with Webpack. Webpack 5 has been around for a while already, and still, a lot of projects are stuck at v4.
-
Will NextJS ever move to Vite?
Here is link number 1 - Previous text "SWC"
What are some alternatives?
esbuild - An extremely fast JavaScript and CSS bundler and minifier
vite - Next generation frontend tooling. It's fast!
ts-loader - TypeScript loader for webpack
ts-node - TypeScript execution and REPL for node.js
sucrase - Super-fast alternative to Babel for when you can target modern JS runtimes
react-ssr-starter - 🔥 ⚛️ A React boilerplate for a universal web app with a highly scalable, offline-first foundation and our focus on performance and best practices.
create-react-app-esbuild - Use esbuild in your create-react-app for faster compilation, development and tests
Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️ [Moved to: https://github.com/FredKSchott/snowpack]
deno - A modern runtime for JavaScript and TypeScript.
parcel - The zero configuration build tool for the web. 📦🚀
closure-compiler - A JavaScript checker and optimizer.
Next.js - The React Framework