MaxGraey 🌻 🇺🇦

3.9K posts

MaxGraey 🌻 🇺🇦 banner
MaxGraey 🌻 🇺🇦

MaxGraey 🌻 🇺🇦

@MaxGraey

@AssemblyScript core team member bsky: https://t.co/CA7IgvwX3t In Russo-Ukrainian War Reports Mode #StandWithUkraine

Kyiv, Ukraine เข้าร่วม Ağustos 2018
446 กำลังติดตาม516 ผู้ติดตาม
Tzvetan Mikov
Tzvetan Mikov@tmikov·
Static Hermes soundly typed language progress. Screenshot of some of the WIP typed JSLib (GitHub link in next tweet). The typed JS is quite efficient to compile. Generics emit specialized versions similar to C++. Note the Hermes.final decorators, essential for perf.
Tzvetan Mikov tweet media
English
6
0
52
5K
SaltyAom
SaltyAom@saltyAom·
I saw PerryTS quite a while ago when I was looking for GUI binding I’m a bit skeptical because it sounds too good to be true but I would love it to be legit because that would be a huge win
English
8
0
68
7.9K
Herrington Darkholme
Herrington Darkholme@hd_nvim·
A native TypeScript compiler written in Rust. Compiles TypeScript directly to executables using SWC and LLVM. perryts.com
English
7
18
215
21.3K
MaxGraey 🌻 🇺🇦
MaxGraey 🌻 🇺🇦@MaxGraey·
@hd_nvim All benchmarks are so stupid even when author compare with other langs! #L18" target="_blank" rel="nofollow noopener">github.com/PerryTS/perry/… This entire cycle will be removed during optimization. And yet, with nan-boxing and GC, Perry is faster than Rust:
MaxGraey 🌻 🇺🇦 tweet mediaMaxGraey 🌻 🇺🇦 tweet media
English
3
0
0
93
MaxGraey 🌻 🇺🇦
MaxGraey 🌻 🇺🇦@MaxGraey·
@hd_nvim Although it uses f64 instead of i64, so it might not opt out but missing `std::hint::black_box` here is definitely a red flag
English
0
0
0
42
MaxGraey 🌻 🇺🇦
MaxGraey 🌻 🇺🇦@MaxGraey·
@WebReflection @hd_nvim No, JS is not fast, especially when it comes to strings and arrays passed across the JS <-> Wasm boundary. That has always been one of the biggest performance bottlenecks in Wasm, and one of the reasons it could sometimes be slower than equivalent pure JS.
English
0
0
0
59
Dan Olson
Dan Olson@olson_dan·
I figured out how to explain why this bugs me... reading order required to understand is just all over the place. But listen, it's fine and I'm just being whiny. I can be whiny on my own twitter.
Dan Olson tweet media
Dan Olson@olson_dan

New Rust sugar is to me, unintelligible at first glance. After some study, I got it and I see the benefit. But I continue to believe that this language doesn't need more sugar, and I believe it's hard to improve code clarity when packing so much into one line. But it is what it is. Rust didn't get good by listening to me about anything. #if-let-guards-in-matches" target="_blank" rel="nofollow noopener">blog.rust-lang.org/2026/04/16/Rus…

English
27
13
248
34.7K
MaxGraey 🌻 🇺🇦
MaxGraey 🌻 🇺🇦@MaxGraey·
@trikcode 1. One agent writes buggy and nonsensical code that results in over > 3.5k errors; 2. 12 agents spend five hours trying to fix this; 3. The problem remains unsolved due to running out of tokens 4. Profit! (but only for Anthropic, AWS and Nvidia)
English
0
0
0
31
Wise
Wise@trikcode·
Fun fact. It takes 32 minutes to burn through 5 hours worth of Opus credits on the Claude Code Max 20x plan. 12 agents trying to fix 3,528 Typescript errors.
English
298
246
4.6K
709.6K
MaxGraey 🌻 🇺🇦
MaxGraey 🌻 🇺🇦@MaxGraey·
@tmikov @paulmillr @devongovett Is it easy? FP ops are the most challenging area for optimization even for LLVM (which currently only has KnwnFPClass ant this is not enough). And to stay within the explicit integer types, you need to prove that it won’t overflow and will remain an integer after every operation.
English
2
0
0
30
Devon Govett
Devon Govett@devongovett·
Facebook's Static Hermes is kind of incredible. It can compile JavaScript into C, which is then compiled and optimized into native machine code. I just compiled the Less.js source code into a C library. Then I called it from Rust as a native Parcel plugin (no Node). Wild. 👨‍🔬
English
30
46
871
120.6K
Paul Miller
Paul Miller@paulmillr·
@steida Great project, just wanted something much smaller (AFAIK it’s 4x LOC); worker-friendly; and to be able to produce Js code as well as wasm
English
1
0
1
47
Paul Miller
Paul Miller@paulmillr·
> WASM, but paranoia-friendly Announcing 3 new projects: 1. awasm: a new standard for auditable, high-security WASM packages 2. awasm-compiler: an auditable js-to-wasm compiler 3. awasm-noble: an ultra-fast WASM cryptography library (ChaCha/BLAKE3 at 6-10 GB/s)
Paul Miller tweet media
English
4
17
122
10.5K
den the dev 👨‍💻
den the dev 👨‍💻@denysdovhan·
I hate the current state of software products. Stable products are not supposed to have bugs like they're in alpha.
English
19
6
206
15.3K
Aurelia Rose
Aurelia Rose@AureliaRosea·
@MaxGraey @BenjDicken @martinzrx14783 I won't deny that for extreme performance cases Rust can be a hassle, but that can even be said about C++. More realistically, you have your hardware constraints that you want your software to fit within, and in many of our cases at least, Rust immediately gives us that.
English
1
0
0
23
Ben Dicken
Ben Dicken@BenjDicken·
You can only build software in one for the rest of your life: Go Zig Rust What are you choosing?
English
612
9
791
188.9K
MaxGraey 🌻 🇺🇦
MaxGraey 🌻 🇺🇦@MaxGraey·
@AureliaRosea @BenjDicken @martinzrx14783 It all depends on what you're building. What level of performance, reliability, maintaince and stability do you need? Btw Rust isn't a one-size-fits-all solution. For best perf, you need a lot of core intrinsics + night Rust and a lot of unsafe + "memory leaks in Rust are safe"😉
English
1
0
0
36
Aurelia Rose
Aurelia Rose@AureliaRosea·
@MaxGraey @BenjDicken @martinzrx14783 You can call it niche if you want. The part of the conversation I'm interested in is whether it makes more sense to start new things in rust or C++ today, and as time goes on the answer to me is increasingly rust, and for our org it seems to be as well.
English
1
0
0
23
MaxGraey 🌻 🇺🇦
MaxGraey 🌻 🇺🇦@MaxGraey·
@AureliaRosea @BenjDicken @martinzrx14783 I like Rust, but realistically speaking, you can’t write front-end apps in it without some hassle. As for low-level tasks, you’ll have to use a lot of unsafe and ffi in Rust, which is hardly much better than C++ with sanitizers
English
1
0
0
18
Aurelia Rose
Aurelia Rose@AureliaRosea·
@MaxGraey @BenjDicken @martinzrx14783 I think rust was pretty immature 7 years ago. It was all the rage because it was shiny and new, that didn't mean it was getting industry/enterprise adoption lol. Even at AWS we are only now starting to build new things in rust in certain parts of the org.
English
2
0
0
31
MaxGraey 🌻 🇺🇦
MaxGraey 🌻 🇺🇦@MaxGraey·
@AureliaRosea @BenjDicken @martinzrx14783 All big projects on Rust unfinished and remain stagnant: Servo, Redox OS, Tock OS, all GUI-frameworks excerpt Slint. “Rust everywhere” or RIR often fail because the development speed is significantly slower than on C++ or JS, and there are far fewer mature devs
English
1
0
0
66
MaxGraey 🌻 🇺🇦
MaxGraey 🌻 🇺🇦@MaxGraey·
@AureliaRosea @BenjDicken @martinzrx14783 You can’t create anything popular or significant in less than 5–7 years, even with a large team, so that’s not much of an argument. Besides, Rust was all the rage 7 years ago, but it still wasn’t chosen for major projects.
English
2
0
0
42