Better HN
topnewbestaskshowjobs
Log inSign up

tegmentum

4 karma · joined Jan 28, 2026 (10mo ago) · 6 submissions

Submissions

comment 6mo ago · link · parent

I wrote this for a number of reasons but oddly enough Java probably has the most options as far as runtimes go but the support is pretty fractured. The underlying runtime adapters add support for wasmtime and wamr as well. There are two JNI implementations for wasmtime but they are badly out of date and haven't been updated in years. There are a number of reasons you might want to use one runtime over another and this was supposed to unify them under a single interface and make swapping them out easy. It also allows you to easily compare the tradeoffs of various engines.

comment 6mo ago · link · parent

Another Shameless plug: A common interface for webassembly engines, including Chicory, in Java https://github.com/tegmentum/webassembly4j

comment 7mo ago · link · parent

I wish they wouldn't do that with the naming. It's confusing as hell to call it a PIN (Personal Identification Number) if it's actually a password.

comment 8mo ago · link · parent

It's getting there. There have been a lot of developments in WebAssembly in the past few years. I've felt the same pain so I just released a library to make it easier to run it in Java

https://news.ycombinator.com/item?id=47393000

5.

Show HN: Webassembly4J Run WebAssembly from Java

2 points · by tegmentum · 8mo ago · discuss

comment 8mo ago · link · parent

That's were it came from but it's perfectly able to run in environments that don't have anything to do with the web.