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 ๐ŸŒป ๐Ÿ‡บ๐Ÿ‡ฆ
@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
92
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 ๐ŸŒป ๐Ÿ‡บ๐Ÿ‡ฆ
@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
708.9K
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
121
10.4K
den the dev ๐Ÿ‘จโ€๐Ÿ’ป
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
792
188.9K
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
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 ๐ŸŒป ๐Ÿ‡บ๐Ÿ‡ฆ
@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
65