logoalt Hacker News

onlyrealcuzzotoday at 11:15 AM1 replyview on HN

Aren't libraries just "services" without some transport layer / gateway?

You should only ever have a separate "service" if there's a concrete reason to. You should never have a "service" to make things simpler (it inherently does not).

Libraries on the other hand are much more subjective.


Replies

staticassertiontoday at 11:58 AM

> Aren't libraries just "services" without some transport layer / gateway?

Libraries can share memory, mutable state, etc. Services can not.

> (it inherently does not)

That's going to be debatable.

show 1 reply