1 comments

  • hpscript 2 hours ago

    Hi HN, I'm building a transpiler specifically focused on migrating C++ to Rust and Go.

    Modernizing legacy C++ codebases is a huge challenge. While there are some tools for C++ to Rust (like c2rust), I wanted to create a more flexible approach that handles both memory-safe (Rust) and concurrency-focused (Go) targets from the same C++ source.

    What it does: Parses C++ code and maps it to equivalent constructs in Rust and Go. Aims to reduce the manual effort in language migration.

    Current Status: Focus is strictly on C++ to Rust/Go (no other languages planned). It's in the early stages, and I'm currently refining the AST mapping. I would love to hear your thoughts on:

    What are the biggest pain points you've faced when migrating C++ to Rust/Go? Are there specific C++ patterns you'd like to see automated first?