stc
mlib
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.
stc
- STC (Rust-based TypeScript type checker) is officially abandoned
-
TypeScript Is Surprisingly OK for Compilers
Wonder no more: https://github.com/dudykr/stc
Written in Rust by the (lead?) dev of SWC
SWC (speedy web compiler) compiles TS to JS
-
Show HN: Ezno, a TypeScript checker written in Rust, is now open source
The analogy (by swc's author) would be https://github.com/dudykr/stc
-
How do people use Zod on a large project?
I'm also hoping for STC https://stc.dudy.dev/ but I don't think it will be released any time soon.
-
What are some stuff that Rust isn't good at?
MyPy and tsc on the other hand? Please make a Ruff for MyPy and hurry up and fund the author of SWC to develop STC. I'm tired of waiting several seconds after each :w for my quickcheck window to update.
-
TypeScript 5.0
>If we could push JavaScript performance to be another order of magnitude faster
And it would speed up the TypeScript Compiler.
My bet is:
TypeScript typechecker in Rust:
https://github.com/dudykr/stc
-
No one cares about Bun's speed. Your CI does though
typescript(tsc) is the only one that does type checking.
bun, deno, esbuild, swc etc. can parse the syntax, but they chuck the TS (they probably don't even add it to the AST, but I haven't checked).
Keeping up with syntax is very doable. It doesn't change often, and updating the parser when it does isn't much work.
There are some past/ongoing projects[1][2] to create type checkers faster than tsc, but they aren't going to reach full parity and probably don't plan on keeping up with language features.
[1] https://github.com/dudykr/stc
- Open sourcing Ezno – JavaScript compiler and TypeScript checker written in Rust
-
What would you rewrite in Rust?
Well the checker is in progress.
- TypeScript type checker written in Rust
mlib
-
preprocessor stuff - compile time pasting into other files
This uses the preprocessing library
-
Popular Data Structure Libraries in C ?
M*LIB
-
So what's the best data structures and algorithms library for C?
Thanks to your feedback, I have added a new chapter in the documentation explaining how to do what you want. In this case, you need to inherit from the integer oplist (M_BASIC_OPLIST) and only adds the operator you need using the macro M_OPEXTEND. I have also added examples for integer and for c-string that may help you since there weren't any example with OA hashmap.
-
C Template Library
A quick bench on array(unsigned) between RXI vec and M*LIB array, which uses type generation, shows 1476 ms for RXI vec and 1116 ms for M*LIB (O2 / native / No LTO).
- M*LIB: Generic type-safe Container Library for C language
-
[2022] [C] Flipper Zero (STM32, ~100KB RAM available) - ALL 25 days
That was definitely part of the pain: I'm not fluent in C (professionally mainly write golang), so everything was taking me more time, and I was cursing the lack of all the niceties I'm used to. Having access to mlib that came with the firmware did help a lot, but still... Then also having to run everything through the flipper, 'screening' to it to get logs, etc. was just that extra little bit of pain.
-
STC VS mlib - a user suggested alternative
2 projects | 1 Oct 2022
What are some alternatives?
Containers - This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.
STC - A modern, user friendly, generic, type-safe and fast C99 container library: String, Vector, Sorted and Unordered Map and Set, Deque, Forward List, Smart Pointers, Bitset and Random numbers.
ctl - The C Template Library
advent-of-code-2022 - Advent of Code 2022 on the Flipper Zero
this-week-in-rust - Data for this-week-in-rust.org
CC - A small, usability-oriented generic container library.
swc - Rust-based platform for the Web
map - A type-safe hash map implementation for C
NuDB - NuDB: A fast key/value insert-only database for SSD drives in C++11
flipperzero-firmware - Flipper Zero firmware source code
git-trim - Automatically trims your branches whose tracking remote refs are merged or stray
flipperzero-toolchain - Flipper Zero Embedded Toolchain