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

> What does HTTP give you in addition?

HTTP2 offers lots of nice features like stream multiplexing and socket re-use. I guess also encoding standards? Less of an issue in this day and age where everything can work with utf-8.

Presumably the fact that you can interoperate with other systems not part of BEAM is desirable too.





You also get this from newline-delimited-request-response. Multiplexing: send an ID with each request, and return the same ID in the response. Socket re-use: just keep reading until the client closes the socket. Encoding standards: you're the one designing it, so just say it's always UTF-8.

Lower layers of the protocol stack ossify faster in our minds than in reality.




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

Search: