logoalt Hacker News

bfungyesterday at 8:56 PM4 repliesview on HN

1/2 troll side-galley comment: use AI and translate to Rust.

If the outcome or outputs / test cases are known, AI is great at language translations.


Replies

hopppyesterday at 9:28 PM

Not sure if it's worth it. I don't see them complaining about speed and they use specific python dependencies then they would need to translate that to rust also.

show 1 reply
aunty_helentoday at 1:19 AM

I’ve been doing this on a large system I’m building. Anything that takes longer than an hour to run, processes a high rate of events (maybe >5/s averaged over a day) or has downstream gpu waiting for it.

Python + tests cross compiled to rust has huge benefits for memory footprint and secondly cpu.

It’s allowing me to achieve wonders on a small amount of hardware.

tacomagickyesterday at 9:30 PM

Ladybird situation is wild...

show 1 reply
throwitaway222yesterday at 10:30 PM

Second this but with Go

show 1 reply