Better HN
topnewbestaskshowjobs
Log inSign up

qfg77

3 karma · joined Mar 1, 2023 (3y ago) · 2 submissions

Submissions

comment 3y ago · link · parent

I think it's safe to say that this doesn't go as far as the dream. In addition to functions failing, you can't share memory between functions etc.

With Service Weaver, you have to be aware that you're writing a distributed application, but you get to write it as a single binary. So it's not as magical as it can be, but it improves on the status quo.

comment 3y ago · link · parent

Yes, that's pretty spot on. Though we do have plans to add cross-application support as well, at the minimum stub generation and likely service discovery. But some of the nicer properties like versioning and language-native types will likely be lost on the cross-application communication path.