Hacker News new | ask | show | jobs
by tom_mellior 1967 days ago
> Production Java apps also typically run with APM tracing agents that rely on runtime bytecode instrumentation. [...] It is easier to start afresh with modern compiled languages like Go and Rust.

I wonder how they instrument their Go and Rust programs. If they decide not to, maybe it's not that important for the Java version of the same code either.

1 comments

No idea if this is done, but couldn't you in theory add the instrumentation before or during the compilation?

Something like a tool that runs as part of the build process and modifies the source code before it gets passed to the compiler.

I'll take mature instrumentation that comes in the box and is a major design goal, meant to be transparently run in production (JVM, BEAM...) against anything you can do in Go.