langs-in-rust
fork-ts-checker-webpack-plugin
Our great sponsors
langs-in-rust | fork-ts-checker-webpack-plugin | |
---|---|---|
12 | 8 | |
792 | 1,916 | |
- | 0.9% | |
6.5 | 5.6 | |
about 2 months ago | 9 days ago | |
Python | TypeScript | |
- | MIT License |
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.
langs-in-rust
-
Gleam
Gleam is written in Rust and is a nice example (besides Rust itself) of what it looks like to write a language in Rust. By my own tracking (https://github.com/alilleybrinker/langs-in-rust) Gleam is one of the most popular languages written in Rust and is one of the few top languages in that list which isn't a reimplementation of an existing language!
-
Rust is ugly, doesn’t even let you write simple data structures, unsafe rust is not even defined, makes the simplest things so hard to write and did I mention it’s ugly?
Ah yes, std, that famous crate that is unusable for systems programming. God forbid anyone do any "systems" programming that uses std.
- Langs in Rust: a list of more than 100 programming languages implemented in Rust!
- The impossible case of pitching rust in a web dev shop
-
Scripting language that compiles to Rust?
A scripting language with an interpreter written in rust? Lua doesn't compile to C. The Lua interpreter is written in C and can inter-operate with it. Maybe look here: https://github.com/alilleybrinker/langs-in-rust
-
Hey Rustaceans! Got a question? Ask here! (29/2022)!
There are in fact! If I remember correctly, Gluon and Gleam are both done via Combinators. You can probably find many more here
- Rock v0.2.1, a little native toy language I've made with Rust and LLVM.
-
Higher level languages over Rust?
Or maybe see languages implemented in Rust being writen in rust doesn't mean they're good at interacting wirh rust)
-
Announcing Parcel CSS: A new CSS parser, compiler, and minifier written in Rust!
Parcel has been added to my list of languages implemented in Rust! It's currently the only CSS implementation listed there.
-
Scripting Languages of the Future
For anyone interested in languages written in Rust, here’s a list: https://github.com/alilleybrinker/langs-in-rust
fork-ts-checker-webpack-plugin
-
Converting to Typescript
Okay. The normal setup is that you use https://github.com/TypeStrong/ts-loader or https://github.com/TypeStrong/fork-ts-checker-webpack-plugin as part of your Webpack config. Those will run the TS compilation step as part of the Webpack processing sequence.
-
Announcing Parcel CSS: A new CSS parser, compiler, and minifier written in Rust!
I work on a TypeScript project of similar size and complexity, and ours does not take even nearly that long to compile on save. Have you tried fork-ts-checker-webpack-plugin? We had compile times similar to yours until we started using it. Went from >60s to <1s builds in development. It's very simple to set up.
-
Do you guys compile with ts-loader or babel-loader?
Yeah, I mean less loaders = less time. Did you try fork ts checker and compileOnly? https://github.com/TypeStrong/fork-ts-checker-webpack-plugin
-
Hey when I want to run a vue frontend I need to increase my memory size, because js jumps out of memory.
That worker/memory limit is for the type checking only (rather than runtime memory), I believe this is done using https://github.com/TypeStrong/fork-ts-checker-webpack-plugin
-
Adding Typescript to your Existing Rails App
There are many ways to integrate TypeScript with an existing Webpack configuration. If you use the babel-loader package to transpile JavaScript files, you can add the @babel/preset-typescript preset to generate JavaScript files and the Fork TS Checker Webpack Plugin package to run the TypeScript type checker so that the build fails if there are type errors.
-
Blazing fast TypeScript with Webpack and ESBuild
esbuild-loader (secret sauce!) fork-ts-checker-webpack-plugin (helps us with typechecking) nodemon-webpack-plugin (We can also use webpack-dev-server)
-
Debugging with developer tools
I cloned github repo into a new dir, ran install with --frozen-lockfile and test-gui with --clean and got the same error. Looks like it's coming from fork-ts-checker-webpack-plugin and then found this among its reported issues: (https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/562).
-
Why Is Esbuild Fast?
You may want to check out this webpack plugin [1], though I'm not sure how much it could get you there.
[1] https://github.com/TypeStrong/fork-ts-checker-webpack-plugin...
What are some alternatives?
inkwell - It's a New Kind of Wrapper for Exposing LLVM (Safely)
swc - Rust-based platform for the Web
rust-langdev - Language development libraries for Rust
babel-loader - 📦 Babel loader for webpack
plzoo - Programming Languages Zoo
webpack-dev-server - Serves a webpack app. Updates the browser on changes. Documentation https://webpack.js.org/configuration/dev-server/.
passerine - A small extensible programming language designed for concise expression with little code.
esbuild
cs-video-courses - List of Computer Science courses with video lectures.
sucrase - Super-fast alternative to Babel for when you can target modern JS runtimes
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
vite-ts-tailwind-starter - Opinionated Vite + Vue 3 + TypeScript + Tailwind CSS starter template w/ tests and CI.