Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That is very much false.

Async code is the wrong fit for Java, and it complicates everything tremendously. There also is no reason to believe async code should consume any less (or more, for that matter) memory than Loom-style concurrency.

If anything, I would assume that, after a few rounds of optimization, Loom will be significantly better at managing memory than a Java async framework.



> Async code is the wrong fit for Java

Yes, async is a bad fit for Java. That's a problem with Java, not a problem with my statement.

> There also is no reason to believe async code should consume any less (or more, for that matter) memory than Loom-style concurrency.

I'm not familiar with Loom. I was referring to async vs. threaded. Async code does make the programmer make state explicit in objects rather than partially implicit as local variable values on the stack, and this is more compact than smearing part of the state on the stack.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: