News for hackers. Stuff that matters.

bhelx

This speaks to the general problem with using LLMs for writing. The audience they are writing for us you, but you're trying to write for a totally different audience. In code, this manifests as comments in the code that are hyperspecific to the conversation you are having, and not the long term benefit of having those comments in the code.

I see this in docs a lot. I've been reading a lot of docs these days where it feels like the LLM is trying to hype up the person writing the docs. It's like it has no conception that the writing is meant for a 3rd party audience.

Re:Endive: A JVM native WebAssembly runtime on Friday May 29, 2026 @11:24AM (#48324332)
Agree about Graal being really good. there are some different use cases for embedding wasm in an application. chicory / endive is not just for embedding another language. the main use case was always secure plugin-systems. but there are other use cases. also it's not controlled by Oracle and works well outside of their ecosystem, which i think some people value. this question came up a few times and were addressed in talks and blog articles:

https://github.com/dylibso/chicory#on-the-press

Re:Endive: A JVM native WebAssembly runtime on Friday May 29, 2026 @11:18AM (#48324235)
the "redline" compiler is cranelift which is written in rust, but i think it's being compiled to Wasm first then JVM bytecode so it still works zero dependency. not sure if that will continue to be the case.
Re:Endive: A JVM native WebAssembly runtime on Friday May 29, 2026 @11:14AM (#48324157)
if i understand correctly, the new redline compiler doesn't have these limitations. it's not based on asm. (edit: but this hasn't been merged to mainline yet)
Re:Endive: A JVM native WebAssembly runtime on Friday May 29, 2026 @11:13AM (#48324149)
yeah that is roughly the concern, many runtimes didn't want to continue on past wasip1, mostly because of the component model.
Re:Edge.js: Run Node apps inside a WebAssembly sandbox on Tuesday March 17, 2026 @09:26PM (#47420597)
Just wanted to chime in to say this is really cool. I dreamed of building something like this for the Extism ecosystem but it was a huge lift to unlock all the pieces. This looks like lots of innovation all the way down the stack. Kudos!
Re:What New Orleans Taught Me on Saturday May 03, 2025 @02:45PM (#43881146)
Glad to hear you’re enjoying it! Would love to meet up some time if you ever get the chance.
Re:What New Orleans Taught Me on Saturday May 03, 2025 @02:21PM (#43881001)
welcome! if you're looking for some people to connect to or get help from check out the local dev community site: http://noladevs.org/
Re:What New Orleans Taught Me on Saturday May 03, 2025 @02:14PM (#43880946)
yes, the local security community punches above their weight i think.
Re:What New Orleans Taught Me on Saturday May 03, 2025 @02:11PM (#43880931)
Hack night is the generic networking meetup at the rusty nail. It's way more casual. No presentations or organizing. below-c-level and frontend party are generally more organized and have talks. All the meetups happen before (and geographically near) to hack night on the same night. So you can generally do both. See a meetup then walk to the bar with everyone for the networking event.
Re:What New Orleans Taught Me on Saturday May 03, 2025 @09:33AM (#43878936)
Speaking of community, there is a really nice little tech community going strong in New Orleans that I think reflects the culture talked about here. If you are ever in town you should stop by an event https://www.noladevs.org/.

Feel free to reach out to me if you want some intros.

This is the first i've heard of people using the SSE transport locally. What purpose what that serve? Is this by design because the chrome extension could not talk to it otherwise?

BTW, you should really run your MCP servers in a sandboxed environment, esp if they don't need to do things like `exec` or read from the filesystem. We do this with the https://mcp.run ecosystem by wrapping them in wasm. Because they are wasm you could also run them right in the chrome extension!

Re:Chicory: A JVM native WebAssembly runtime on Wednesday February 26, 2025 @09:33AM (#43183951)
I'm not sure where they congregate, but I've encountered some minecraft people using chicory probably for this purpose. IDK how minecrafts plugins currently work but i'd imagine chicory is more secure and the overhead may be worth it for some cases.
Re:Chicory: A JVM native WebAssembly runtime on Tuesday February 25, 2025 @07:44PM (#43179351)
Glad you appreciate it! On top of being a Java joke it’s an homage to my home, New Orleans. We still drink coffee with chicory here due to some events during the civil war and then a changed cultural taste. Though the history in this isn’t exactly clear I think https://neworleanshistorical.org/items/show/1393
Re:Chicory: A JVM native WebAssembly runtime on Tuesday February 25, 2025 @04:57PM (#43178050)
wait, was the question running scala in wasm or running chicory in scala?
Re:Chicory: A JVM native WebAssembly runtime on Tuesday February 25, 2025 @03:31PM (#43176977)
Yes i think so. it's just a jar
Re:Chicory: A JVM native WebAssembly runtime on Tuesday February 25, 2025 @02:42PM (#43176355)
This is distributed as just a jar, should you can invoke it from Clojure, if that is what you mean.
Re:Chicory: A JVM native WebAssembly runtime on Tuesday February 25, 2025 @02:38PM (#43176306)
Some more interesting use cases in production:

Running python UDFs in Trino: https://trino.io/docs/current/udf/python.html

Running the Ruby parser in Jruby: https://blog.enebo.com/2024/02/23/jruby-prism-parser.html

Re:Chicory: A JVM native WebAssembly runtime on Tuesday February 25, 2025 @01:25PM (#43175475)
Even in interpreter mode, rust wasm programs seem very fast for me on Chicory. I'm not sure if we have any specific benchmarks but the graal team did some and i think it's based on a rust guest program https://chicory.dev/blog/chicory-1.0.0/#the-race-day
Re:Chicory: A JVM native WebAssembly runtime on Tuesday February 25, 2025 @01:23PM (#43175446)
WASI does open up some holes you should be considerate of. But it's still much safer than other implementations. We don't allow you direct access to the FS we use jimfs: https://github.com/google/jimfs

I typically recommend people don't allow wasm plugins to talk to the filesystem though, unless they really need to read some things from disk like a python interpreter. You don't usually need to.

Re:Chicory: A JVM native WebAssembly runtime on Tuesday February 25, 2025 @01:21PM (#43175423)
There are a few! But also there is lots of Java software out there and Wasm is a great way to extend it and bring new functionality.
Re:Chicory: A JVM native WebAssembly runtime on Tuesday February 25, 2025 @01:20PM (#43175414)
It's very amusing to me as well. The first thing i did was run and SNES emulator and definitely made me chuckle https://x.com/bhelx/status/1809235314839281900
Re:Chicory: A JVM native WebAssembly runtime on Tuesday February 25, 2025 @01:19PM (#43175394)
Also note, we have the AOT compiler which can target the JVM bytecode directly as well as Dalvik/Android which is experimental but nearly spec complete :)
Re:Chicory: A JVM native WebAssembly runtime on Tuesday February 25, 2025 @01:17PM (#43175375)
There are a few, and they are really interesting! The reason we wrote Chicory though is we're interested in extending the capabilities of existing Java applications through plugins. The intro of this talk explains some of this reasoning: https://www.youtube.com/watch?v=00LYdZS0YlI
Re:WASM-Native Orchestration on Thursday February 13, 2025 @04:51PM (#43041849)
yes it's certainly possible. i don't know if it exists but there are many things like it. not exactly what you describe, but many blockchains use wasm as the contract execution runtime. also, it kind of sounds like filecoin but with compute. i'm sure "protocol labs" has a project close to what you are talking about.

edit: the hard part to note is probably the "trust" part. might be trickier to solve than just giving incentives.

Re:I Wrote a WebAssembly VM in C on Monday February 03, 2025 @10:44AM (#42919316)
Same tip here. We did this with Chicory: https://github.com/dylibso/chicory

I'd follow on that, the earlier you can get this test-suite running the better for the iteration speed and correctness of your project.

It took a bit of time to make everything work, but once we did, we very quickly got to the point of running anything. The test-suite is certainly incomplete but gets you 95% there: https://github.com/WebAssembly/testsuite

Re:WASM GC isn't ready for realtime graphics on Saturday January 18, 2025 @08:30PM (#42752851)
yes, it's regularly done. But I think you are misunderstanding. WASM GC isn't a GC implementation.
Re:Chicory 1.0.0-M1: First Milestone Release on Friday November 08, 2024 @08:40AM (#42086750)
Exciting to see this finally reach 1.0 :)
Re:Using Rust in Non-Rust Servers to Improve Performance on Monday October 28, 2024 @09:16AM (#41970749)
If you have a Java library, take a look at Chicory: https://github.com/dylibso/chicory

It runs on any JVM and has a couple flavors of "ahead-of-time" bytecode compilation.

Re:Sqlite3 WebAssembly on Tuesday October 15, 2024 @05:56PM (#41853521)
> If the goal was pure Java SQLite¹, a VFS from scratch would be better.

agreed, though this was more an experiment to test Chicory once we built initial wasi support. I'd love to see it picked up and improved. I think that's the direction I'd go if i want some kind of production ready library.

Older »