logoalt Hacker News

noveltyaccounttoday at 2:46 AM2 repliesview on HN

This prompt defines the translation as a file for file, line for line port. Seems like historical knowledge will be fine.


Replies

mr_00ff00today at 2:57 AM

Having dabbled with both Zig and Rust, they do things so fundamentally differently, it isn’t possible to do exact lines like that.

show 2 replies
jjicetoday at 2:59 AM

It makes the git history a bit more confusing to follow if you want to see old changes, but I'm sure a simple wrapper to check for the zig equivalent files as well wouldn't be very difficult.