Comment

Comment by hardwaresofton

Rust can create static binaries -- AFAIK there isn't even such a thing as a "statically linked" jar -- if you're relying on a VM (the JVM in this case), your program isn't statically compiled. It's not even "compiled" in the strict traditional sense, since the target isn't the machine, it's an VM (JVM).

But yes, it is just like including files in your classpath (and making sure they end up in the jar), then serving them from a Netty endpoint or something.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton