Kasun Vithanage

11.4K posts

Kasun Vithanage banner
Kasun Vithanage

Kasun Vithanage

@kasvith

CTO & Co-Founder of @wavezync. Working on @Analyst_Builder with @Alex_TheAnalyst 🏗️ Building @StoxlyAi 📈

Sri Lanka Katılım Mayıs 2018
1.4K Takip Edilen758 Takipçiler
José Valim
José Valim@josevalim·
@heynickn I have been told that Claude Code does UI better than Codex but I haven't tried it yet (no UI tasks on my plate for now). Outside of that, I'd put Codex ahead.
English
2
0
2
529
José Valim
José Valim@josevalim·
Here is a simple but good example of how Codex tends to handle tasks better than Claude Code. A user reported that some actions in tidewave.ai had keyboard shortcuts but were not displaying them on mouseover. I asked Codex to find and fix the missing cases. Codex found all of them and additionally introduced a small helper called shortcutLabel that maps a ShortcutAction to its label (see code screenshot). The benefits are two: * It uses the ShortcutAction type to ensure we don't accidentally forget the label of any shortcut * The helper was added to shortcut.ts, colocating labels with the shortcuts themselves, making future additions more foolproof Codex also updated the other places where we listed shortcuts to use the new helper. I didn't ask Codex to create the helper but it was the right call. Maybe we would have suggested it during code review, maybe we would not. But I'd say Codex left the codebase in a better state than it found it. I gave Claude Code the exact same prompt three different times. In every case, it just inlined the shortcuts in the templates, duplicating information across multiple files. I rarely feel Claude Code improves the codebase unless I explicitly tell it to do so. Now the flipside is that sometimes Codex is going to go ahead and create abstractions when they are not needed, but so far I have seen more hits than misses.
José Valim tweet mediaJosé Valim tweet media
English
13
7
106
10.4K
Jarred Sumner
Jarred Sumner@jarredsumner·
The people dunking on Bun’s Rust port are having a hard time coming up with a strong technical argument.
Bun@bunjavascript

English
87
27
1.4K
172.2K
Kasun Vithanage
Kasun Vithanage@kasvith·
Everyone is glazing like Jira is the best software out there 😐
English
0
0
2
70
♤
@priest_099·
Name an addiction that society has fully normalized.
English
4.1K
220
12.1K
6.2M
Kasun Vithanage
Kasun Vithanage@kasvith·
@theo You are saying like Twich was a better platform 😂
English
0
0
0
59
Kasun Vithanage
Kasun Vithanage@kasvith·
A genuine question Can’t Microsoft rewrite Typescript in Rust with one sprint? they said Rust was hard because of borrow checker but due to recent events wouldn’t it be possible in one sprint and call it a day?
English
1
0
2
107
Yegor Bugayenko
Yegor Bugayenko@yegor256·
RESTful APIs may be dead soon. Instead, web services may expose a single POST entry point for a prompt. Internally, an AI agent may decide how to interpret it and what to do with the data and the database.
English
824
24
530
1.1M
Igor Gassmann
Igor Gassmann@i_gassmann·
@josevalim I wonder if the TS compiler port to Go could also have been done with an LLM. Would be interesting to hear the TS team views on it.
English
1
0
1
433
José Valim
José Valim@josevalim·
I'd say the fact you can quickly explore alternatives to foundational choices, such as the programming language or framework you chose, in days rather than weeks/months is the most interesting aspect of it indeed. Time will tell if moving forward was the right call. I am also very curious about how generally applicable this is and what made it possible. An extensive test suite is probably a must and it seems they attempted a "one-to-one port" rather than a rewrite. But Bun is also about JavaScript, something the models are quite familiar with and there are several reference implementations. Would this have worked on closed-source projects with internal documentation only? What other factors played a role here?
Mitchell Hashimoto@mitchellh

It isn't unexpected that the focus of the Bun Rust rewrite is on the anti-Zig side more than anything, since the internet loves to hate. What is unexpected and unfortunate is that leadership within Bun hasn't tried to steer the conversation away from that at all. There are so many positive and interesting takeaways from this and I'm not really seeing any of them pushed as the primary message. A positive thing that hasn't been talked about at all is how far Bun came thanks to Zig. And even if you dump it now, its meaningful for how good Zig was to even build a product to this point and impact by any metric. I would've loved to see anyone in leadership say this. On the interesting side is how fungible programming languages are nowadays. Programming languages used to be LOCK IN, and they're increasingly not so. You think the Bun rewrite in Rust is good for Rust? Bun has shown they can be in probably any language they want in roughly a week or two. Rust is expendable. Its useful until its not then it can be thrown out. That's interesting! There's been a lot of talk about memory safety and no doubt Rust provides more guarantees than Zig. But I'd love to see a better analysis of why Bun in particular suffered so much rather than take the language-blame path. How could engineering as a practice been more rigorous to prevent this? What were the largest sources of crashes other programs should watch out for? How does Rust prevent them? How could Zig theoretically prevent them? That's interesting. I know the official blog post hasn't come out yet from Bun. But they're smart enough to know that that PR would stir up controversy the moment it opened, or they should've been. And plenty in the company have been tweeting and writing about it. Its somewhat telling to me in various dimensions what they chose to talk about first. I tend to think I'm pretty good at corporate PR/comms (especially when it comes to developer audiences) and I think appealing to the negative is never the right long term strategy; it does work to get short term eyes though.

English
7
5
124
16.9K
Kaito
Kaito@KaiXCreator·
Name a tech company that literally nobody hates
English
244
3
151
36.4K
Kasun Vithanage
Kasun Vithanage@kasvith·
@devagrawal09 never used bun, had no reason to use it 😅 i used Node and Deno and they both were pretty solid
English
0
0
2
241
Kasun Vithanage
Kasun Vithanage@kasvith·
@JLarky @devagrawal09 honestly if ppl are getting excited about a rust based JS runtime we should point them to the rightful place
English
0
0
1
33