vega
sucrase
Our great sponsors
vega | sucrase | |
---|---|---|
17 | 26 | |
10,847 | 5,578 | |
0.6% | - | |
8.2 | 6.1 | |
3 days ago | 2 months ago | |
JavaScript | TypeScript | |
BSD 3-clause "New" or "Revised" License | 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.
vega
-
Show HN: Minard – Generate beautiful charts with natural language
Hi HN – Excited to share a beta for Minard, a new data visualization toolkit we've been working on that lets you generate publication-quality charts with simple natural language (throw away your matplotlib docs and rejoice!).
Upload or import CSVs, Excel, and JSON, give it a spin, and please let us know what you think! (Long format data works best for now)
For those curious, the stack is a simple Django app with HTMX/Alpine and all of the charts are specified and rendered as Vega (https://vega.github.io/vega/). Lots of LLM function calling under the hood as well.
-
Plotting XGBoost Models with Elixir
I recently added support for plotting XGBoost models using Vega (https://vega.github.io/vega/) into the XGBoost Elixir API (https://github.com/acalejos/exgboost).
Since EXGBoost supports loading trained models across different APIs, you can even train using the Python API and then plot using this Elixir API if you prefer.
-
[OC] Most In-Demand Programming Languages from Jan-2022 to Jun-2023
The Data Source is from devjobsscanner (I am basically the owner, so I have the data) an the tool used to make the chart is Vega
-
If you had to pick a library from another language (Rust, JS, etc.) that isn’t currently available in Python and have it instantly converted into Python for you to use, what would it be?
It’s based on Vega https://vega.github.io/vega/ which means it’s an already matured backend. Vega-lite is the Javascript package and Altair is the Python.
-
Does anyone know how to get Visio experience while in between jobs?
Site:: https://vega.github.io/vega/
- Ask HN: What do you use for basic data analysis, visuals, and graphing?
-
Launched my ADHD productivity app on product hunt - would love your support
Eh, I have no reason to, and not much interest in PHP anymore. Things like Vega seem really cool.
-
[OC] Salaries Distribution by Programming Languages in 2022
This chart is make with Vega (and also all the charts from the article). Data source is from devjobsscanner and contains about 10 Million dev jobs offers, which only a small subset contain salary information thought.
- Angular + Line Chart
-
Simple plotting/graphing crate suggestions
Not that I'm working on it, but I'd love to see a vega stack in rust.
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
What are some alternatives?
echarts - Apache ECharts is a powerful, interactive charting and data visualization library for browser
swc - Rust-based platform for the Web
Chart.js - Simple HTML5 Charts using the <canvas> tag
ts-node - TypeScript execution and REPL for node.js
Highcharts JS - Highcharts JS, the JavaScript charting framework
esbuild - An extremely fast bundler for the web
d3 - Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
fork-ts-checker-webpack-plugin - Webpack plugin that runs typescript type checker on a separate process.
c3 - :bar_chart: A D3-based reusable chart library
swc-node - Faster ts-node without typecheck
Altair - Declarative statistical visualization library for Python
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.