←back to thread

86 points alexop | 1 comments | | HN request time: 0.463s | source
Show context
sunami-ai ◴[] No.43328823[source]
I do all my work in Rust now via o3-mini-high and convert to WASM... JS just for DOM and event handling. What is the point of building these CPU-bound functions in TS. Why not Rust->WASM?
replies(1): >>43328974 #
tills13 ◴[] No.43328974[source]
Because op knows TS and doesn't know Rust?
replies(1): >>43329103 #
sunami-ai ◴[] No.43329103[source]
What I'm asking really is what is the benefit of TS if we could use decent and improving coding AIs to help us code in Rust, even if we are new to it, or never used it, and compile to WASM. Much faster execution per my experience. I mean not even comparable.
replies(2): >>43329466 #>>43330356 #
1. sampullman ◴[] No.43330356[source]
It's nice for performance, but if that's not a bottleneck, Typescript is pretty convenient. It has better tooling for the web, and compiles almost instantly. Rust -> WASM can be frustratingly slow if you're exploring a new idea or prototyping.