sucrase
supabase
Our great sponsors
sucrase | supabase | |
---|---|---|
26 | 756 | |
5,560 | 64,560 | |
- | 3.3% | |
6.1 | 10.0 | |
about 1 month ago | 1 day ago | |
TypeScript | TypeScript | |
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.
sucrase
-
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.
Sucrase is faster or really close to SWC (see rhe benchmarks https://github.com/alangpierce/sucrase). Everyone still uses Babel because of the transforms.
And yes, Babel can also be made faster if enough effort is dedicated into it. it's not an impossible feat.
-
π 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.
- GitHub - alangpierce/sucrase: Super-fast alternative to Babel for when you can target modern JS runtimes
-
π10 Trending projects on GitHub for web developers - 29th October 2021
Try it out
View on GitHub
supabase
-
Building a Fast, Efficient Web App: The Technology Stack of PromptSmithy Explained
Here the thing that accelerated my development the most: Supabase. Thanks to its Database, Authentication, and Edge Functions, we were able to rapidly develop the app. Their JS library made development super seamless, and their local development stack made testing a breeze.
-
No More Free Tier on PlanetScale, Here Are Free Alternatives
Supabase - PostgreSQL
-
How to add Passkey Login to Next.js using NextAuth and Hanko
Supabase as our DB
-
Jumblie has a database!
I ended up coming up with a solution using Supabase and Netlify Build Plugins that I'm pretty happy with!
-
No more Mr. Open Source Guy
There are roughly 10 million downloads of my NuGet packages in total, all of whom are open source. This is 20 times more downloads than for instance SupaBase. SupaBase is evaluated at 1 billion dollars and have been given VC funding of more than 100 million dollars.
-
The 2024 Web Hosting Report
Today, this ecosystem is going strong with new providers like Hasura, AppWrite and Supabase powering millions of projects. There are a few reasons people choose this style of hosting, especially if they are more comfortable with frontend development. BaaS lets them set up a database in a secure way, expose some business logic on top of the data, and connect via a dev-friendly SDK from their app or website code to save data easily. These modern tools build a blend of managed database with curated plugins such as authentication, great admin dashboards, and function as a service type capability - all in one package, and often offered as a integrated hosted service.
-
Magic is no longer Open Source
Magic Cloud has roughly 10 million downloads from NuGet, and unfortunately zero of our users have contributed to the project - Neither with code nor with monetary means. To put that number into perspective realise that 10 million downloads is 20 times as much as SupaBase. SupaBase is evaluated at 1 billion dollars.
-
The Mechanics of Silicon Valley Pump and Dump Schemes
The math of the above is really simple. Microsoft has 13,000 stars on their GitHub profile for their flagship product. SupaBase has 63,000 stars on their GitHub project for their flagship product. 27% of all software developers in the world are using .Net. SupaBase has 4.5 times as many likes as the .Net Core runtime, so they must be 4.5 times as large, right? 4.5 multiplied by 27% becomes 130%. Implying 130% of all software developers that exists on earth are using SupaBase (apparently!)
-
How we Built a 20 Billion Dollar Company in 20 minutes
I did some research around SupaBase today for a Medium article I wrote, and I realised that using the same math on AINIRO.IO implies we're worth 20 billion dollars.
-
The Journey of Abandoning Ship2Post. Dreams, Challenges, and Lessons
Supabase
What are some alternatives?
Appwrite - Build like a team of hundreds_
pocketbase - Open Source realtime backend in 1 file
nhost - The Open Source Firebase Alternative with GraphQL.
neon - Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, branching, and bottomless storage.
next-auth - Authentication for the Web.
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
Directus - The Modern Data Stack π° β Directus is an instant REST+GraphQL API and intuitive no-code data collaboration app for any SQL database.
faunadb-js - Javascript driver for FaunaDB v4
vitess - Vitess is a database clustering system for horizontal scaling of MySQL.
postgrest - REST API for any Postgres database
Strapi - π Strapi is the leading open-source headless CMS. Itβs 100% JavaScript/TypeScript, fully customizable and developer-first.
realtime - Broadcast, Presence, and Postgres Changes via WebSockets