Urgent.News

What's breaking now, across thousands of outlets.

Tech

If I release it, you won’t get the same experience I get

In my Minecraft modding repository, I was refactoring build-tooling and created a program called jardiff to ensure new build tooling created artifacts with the same functionality as the old ones, even if they weren't byte-for-byte identical. For instance, the old tooling had a Java 8-compatible sourceset with classes, while the new tooling removed this sourceset and pasted the classes directly into each mod, compiling them alongside the rest of the mod using Java 25. jardiff detected this difference due to class file version numbers being visible in disassembly.

However, I decided that this change was acceptable as I no longer support Minecraft versions requiring Java 8. To maintain confidence, I modified the jardiff disassembler to consistently output the same class file version number. This allowed me to easily focus on specific differences without worrying about byte-level changes. Having the tool's source code readily available in my editor while using it is advantageous, as it enables me to customize and focus on the differences I'm looking for.

If I package jardiff as a single binary, the source code won't be visible, and I lose this flexibility. Adding a domain-specific language for custom filters may not be as convenient or intuitive to use compared to the existing tool's built-in features.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at notes.highlysuspect.agency →

More in Tech

What Is a Gnosis Safe? A Developer's Look at the Multi-Sig Vault Wealtii Runs On.

Hey dev.to 👋 Every time I mention that Wealtii holds user funds in a Gnosis Safe multi-signature vault, I get some version of the same question back.

  • Gnosis Safe is a multi-signature wallet requiring multiple private keys for transactions.
  • Wealtii uses Gnosis Safe multi-sig vault for higher trust and security of user funds.
  • Multi-sig setup eliminates single point of failure, enhancing custody layer security.

More from Thursday 27 August →