sucrase
parabol
Our great sponsors
sucrase | parabol | |
---|---|---|
26 | 33 | |
5,583 | 1,847 | |
- | 1.9% | |
6.1 | 9.8 | |
2 months ago | 3 days ago | |
TypeScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
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.
sucrase
-
Show HN: JSX in Browser with Sucrase
Thanks. As for the code compilation, that can be tested and seen in https://sucrase.io/
The demo page is only to show how we can transpile JSX in browsers.
-
Created a simple online JavaScript Playground, it's a place for you to try out your code and ideas.
Thanks u/OutlandishnessKey953, the playground built with React, Docusaurus(https://docusaurus.io/), CodeMirror(https://codemirror.net/), Sucrase(https://sucrase.io/), etc.
-
The TypeScript compiler is now implemented internally with modules
Hi, Sucrase author here.
To be clear, the benchmark in the README does not allow JIT warm-up. The Sucrase numbers would be better if it did. From testing just now (add `warmUp: true` to `benchmarkJest`), Sucrase is a little over 3x faster than swc if you allow warm-up, but it seemed unfair to disregard warm-up for the comparison in the README.
It's certainly fair to debate whether 360k lines of code is a realistic codebase size for the benchmark; the higher-scale the test case, the better Sucrase looks.
> worse it disables esbuild and swc's multi-threading
At some point I'm hoping to update the README benchmark to run all tools in parallel, which should be more convincing despite the added variability: https://github.com/alangpierce/sucrase/issues/730 . In an ideal environment, the results are pretty much the same as a per-core benchmark, but I do expect that Node's parallelism overhead and the JIT warm-up cost across many cores would make Sucrase less competitive than the current numbers.
-
Should i switch to Typescript?
First, npm i -D sucrase to install sucrase. Now you can do node -r sucrase/register ./index.ts to run TypeScript code directly with Node.
-
🚀 Building your own Javascript Library with bare minimum
As you might know there are a lot of Javascript bundlers out there, such as webpack, sucrase, parcel, rollup and etc. Bear in mind, not because they have thousands of stars on Github that means they're the best. sometimes new libs are as good as the popular ones but they're still building up their image/popularity in the community. what I bring today is a not sooooo, popular JS bundler called esbuild.
-
Five coding interview questions I hate
Sucrase JS was 2x the speed of esBuild and 50% faster than SWC last I checked.
-
I’m Porting the TypeScript Type Checker Tsc to Go
Webpack does way more than esbuild, including running a typechecking compiler instead of just transpiling, running compilers able to downlevel emit to ES5 and providing a deep plugin architecture allowing you to hook into any bit you like. But yes, it hasn't been designed with speed in mind - it has been designed with maximum extensibility instead. Its the same reason why Babel is slow compared to sucrase (written in JS, currently faster than SWC and esbuild but doing somewhat less - https://github.com/alangpierce/sucrase)
tsc has in fact been designed with speed in mind (I've been following the project since before it ended up on GitHub). Going beyond 1 order of magnitude performance improvement is highly unlikely.
- Sucrase: A fast, pure-JavaScript transpiler for JavaScript/TypeScript
- GitHub - alangpierce/sucrase: Super-fast alternative to Babel for when you can target modern JS runtimes
- Sucrase: A fast JavaScript/TypeScript transpiler written in JavaScript
parabol
-
How to Run a Sprint Retrospective
Parabol: Does much of the heavy lifting of facilitating for you. Applies a pre-defined structure to your retro agenda.
-
Retrospective Tools
similar to teamretro: https://www.parabol.co/
-
Any recommendations for improving remote only retrospective sessions?
Not sure it helps with the issues you mention, but I found https://www.parabol.co/ to stimulate discussion. Everyone writes their thoughts on their own first, then they get shown to the group, you group them, vote, and discuss in order of most votes.
-
PSA don't use Datadog agent in a GraphQL project
We faced something similar. To improve GraphQL performance, we use graphql-jit. We turned off all other tracing that datadog turns on by default. Then, we then wrote a custom tracer to connect graphql-jit to dd-trace. Hopefully this same pattern works for you!
- When you use Parabol to run a meeting, you don't have to be a well-seasoned facilitator—but with features that nudge and guide you along the way, you'll feel like a pro in no time! Don’t let pricing stop you: Parabol is free for up to 2 teams. Yup, 100% free.
- You don’t have to be an agile team to benefit from regularly iterating and improving on projects. Anyone can run great retrospectives and create continuous improvement in their work. - even if you lose track, we won't. Don’t let pricing stop you: Parabol is free for up to 2 teams. Yup, 100% free.
- TIL 92% of users agreed that Parabol improves the efficiency of their meetings. By keeping meetings democratic and fair with anonymous voting, they learn what development teams want to talk about giving everyone a voice. Don’t let pricing stop you: Parabol is free for up to 2 teams. Yup, 100% free.
- Discover patterns, prioritize what matters as a team, and implement them with multiplayer grouping. Parabol’s AI automates naming groups so scrum masters don’t have to, leaving only the change up to you and your team. Don’t let pricing stop you: Parabol is free for up to 2 teams. Yup, 100% free.
What are some alternatives?
swc - Rust-based platform for the Web
Baserow - Open source no-code database and Airtable alternative. Create your own online database without technical experience. Performant with high volumes of data, can be self hosted and supports plugins
ts-node - TypeScript execution and REPL for node.js
label-studio - Label Studio is a multi-type data labeling and annotation tool with standardized output format
esbuild - An extremely fast bundler for the web
orchest - Build data pipelines, the easy way 🛠️
fork-ts-checker-webpack-plugin - Webpack plugin that runs typescript type checker on a separate process.
sgr - sgr (command line client for Splitgraph) and the splitgraph Python library
swc-node - Faster ts-node without typecheck
k6 - A modern load testing tool, using Go and JavaScript - https://k6.io
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
haystack - :mag: LLM orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots.