Arun (@Arun0896) header
Arun (@Arun0896) profile picture

👨‍💻 Full Stack + Web3 Dev | ⚛️ React | 🐹 Rust | Blockchain | web tech & decentralized systems

bangalore
Joined June 2022
If you can write CSS, you can write GSS { ● } I've been dreaming of this for years: a language to build 3D scenes like you write CSS. Selectors, cascade, :hover, keyframes… compiled to one GPU shader. Meet GSS: GPU Style Sheets. gss-lang.dev #shader #glsl #gss
92
268
58
2,182
102,461
I'm now having 𝚘𝚙𝚎𝚗𝚌𝚘𝚍𝚎 make a motion graphic explainer for every non-trivial PR.
79
36
18
1,437
93,582
scriptc now compiles itself The compiler that turns your TypeScript into native executables can now turn its own TypeScript into a native executable
19
14
2
254
13,062
📦 upm is a new package manager from @_pi0_. It’s written in TypeScript and fits in ~250 KB. It uses Node.js built-ins to compete on install speed, has a #JavaScript API, and can install from npm, pnpm, and Bun lockfiles. A zippy experiment with Node.js: socket.dev/blog/upm-package-…
3
11
2
104
7,104
Arun retweeted
Day 2 of building ts-rust 🦀 Started with the basic types today. Working through things like string, number, boolean, null, undefined and how they flow through the type checker. Feedback and contributions are welcome. github.com/arun-murali0/ts-r…
1
2
1
One surprising lesson @JasonSeibel and I learned while building @pgrustdb is the importance of arena memory allocators Postgres uses arena allocators to allocate memory. When Postgres performs an operation, it creates an array, and every allocation goes through it. When Postgres finishes the operation, it frees the entire array. We thought this was done to make memory management simpler We initially replaced the way Postgres did it with Rust lifetimes because it was much simpler It turns out this was 2x slower because allocating and freeing memory in bulk is so much faster than freeing objects one at a time. Now we make sure all of our allocations are done in an arena, similar to how Postgres does to match Postgres on performance when it comes to allocating memory
2
5
60
2,976
Arun retweeted
boxd in 60 seconds a whole linux machine that boots in under 10ms composable: set it up once with your tools and data, then spin up as many as you need fork it mid run, let it hibernate, wake it on traffic, share it with your team one line to install: curl -fsSL boxd.sh/downloads/install.sh | sh
66
123
32
2,178
316,995
Made a CLI version with TS + scriptc → 197 KB → 7 ms to first frame → 2.9 MB peak memory
Was wondering where my disk space went. Therefore this exists now. You can simply wish software into existence.
33
39
7
916
65,659
I've been f--king with JavaScript since '97 I definitely didn't expect it to end up everywhere, especially on the server in any serious capacity But here we are. JS is everywhere. And now it has another advantage: LLMs know it *really* well I love Rust. Tbh I love working with pretty much any language. But there's also something incredibly useful about having an "everything language" across the stack, ecosystem and now AI tooling too I want to see JS/TS keep evolving. I want to see it succeed. And I think part of that means seriously exploring what static JavaScript looks like If you're passionate about this too, come share your ideas, give feedback and report bugs: github.com/vercel-labs/scrip… Let's make production-grade static JS on the server safe, reliable and the right choice for a whole class of workloads
JavaScript was never designed for the server. If that doesn't change soon, JavaScript on the server will be replaced by Rust. The fix needs to happen in the engine. Sound types. Ahead-of-time compilation. Threads with shared objects.
34
28
3
640
91,119
Arun retweeted
一个 3.3 万 Star 的 Rust 项目,刚刚发布 1.0。 它想做的事情很简单:用 Rust 重新做一套 S3 对象存储。 项目叫 RustFS。 S3 Compatible、分布式、Apache 2.0,还直接瞄准 AI、Data Lake 和大数据场景。 这东西有点像 AI 时代的“Rust 版 MinIO”。
4
11
126
12,664
Happy to introduce Motion Panels. A React library for resizing and toggling panels with animations. It has a similar API to react-resizable-panels but with the addition of Motion.
We created a new library to meet our needs for resizing and panel animations.
34
73
5
1,436
98,969
System Design Concept diagrams of the week.🚀 1. Rate Limiting 2. CRON Jobs 3. Load Balancers and Load Balancing Algorithms 4. Pub-Sub 5. Message Queues I’ve been posting 1 system design concept every day. Interested in learning system design? Follow along.
10
75
1
504
14,456
what if you could also visualize data flow within a React app?
When my React code gets unwieldy, I grab pen and paper and draw the component tree by hand, both parents (structure) and owners (data flow). Playing around with a tool that uses @aidenybai's bippy to draw both tree live, from any running React app, in the style of my blog diagram
33
72
5
1,593
89,080
i spent way too long learning system design the wrong way. reading articles. watching videos. still freezing on whiteboard questions. so i built Antimetal → drag & drop canvas to actually build architectures → failure simulations before you ever ship → 67 lessons, soup to nuts and many more .... we're live. go build something. Link in the comment
39
20
4
205
10,693
🛠️ Comparing Mutex, RwLock, and Atomic Variables in Rust 🦀 Concurrency can be tricky, but Rust provides strong tools to manage it safely, such as Mutex, RwLock, and atomic types like AtomicUsize. Let's take a look at some examples to compare them! 1️⃣ Mutex: Exclusive Access - A Mutex ensures only one thread accesses a shared resource at a time. It’s perfect for mutable data that can't be accessed concurrently. Pros: Easy to use. Cons: Locks the data entirely, blocking all access. 2️⃣ RwLock: Read-Write Lock - An RwLock allows multiple readers or a single writer. Ideal when reads are frequent and writes are rare. Pros: More efficient when reads dominate. Cons: More complex and slightly slower than Mutex. 3️⃣ Atomic Variables: Lock-Free Concurrency Atomic types like AtomicUsize provide fast, low-level access for simple numeric data. Pros: Very fast, no locking. Cons: Limited to basic operations, harder to use safely. 💡 When to Use What? - Mutex: Complex, mutable data needing exclusive access. - RwLock: Read-heavy workloads with infrequent writes. - Atomic: Simple numeric values with high concurrency needs. Getting a good grasp of these tools is key to achieving safe and efficient concurrency in Rust. Which one do you find yourself using the most? I'd love to hear your thoughts! 👇 #RustLang #Programming
8
29
2
232
28,626
🦀 Rust Traits You Should Know: Drop, Deref, and AsRef 🔧 Rust’s trait system is incredibly powerful! Let's look at three essential traits that enhance memory management and flexibility in Rust: Drop, Deref, and AsRef. 1️⃣ Drop Trait: Clean Up Resources - The Drop trait allows you to customize what happens when a value goes out of scope. It's useful for releasing resources or cleaning up data. 2️⃣ Deref Trait: Smart Pointer Dereferencing - Deref allows you to override the * (dereference) operator, enabling smart pointers to act like references. For example, Box uses Deref to allow access to the value it points to. 3️⃣ AsRef Trait: Flexible References - AsRef is perfect for converting between types in a way that’s efficient. It provides a way to get a reference of a specific type, which is useful in APIs that accept multiple input types. That’s a wrap! 🎉 With Drop, Deref, and AsRef, you can take control of cleanup, make smart pointers feel intuitive, and create flexible, efficient APIs. Mastering these traits will make you a better Rustacean! 🦀 #RustLang #Programming #RustTraits #Rust
2
13
1
111
5,161
JavaScript Object Methods
24
110
1
712
47,271