HackerTrans
トップ新着トレンドコメント過去質問紹介求人

slver

no profile record

コメント

slver
·5 年前·議論
Nah.
slver
·5 年前·議論
This is inevitably leading to the moment where we don't need humans, but I'm fine with that.
slver
·5 年前·議論
You're underestimating the sophistication of said AI.
slver
·5 年前·議論
You sound afraid you'll be replaced by software.
slver
·5 年前·議論
It's not a property of text-based protocols, rather it's a property of simple protocols. HTTP/1 is not merely text based, it's ASCII based (technically ISO-8859-1, which includes ASCII). One char, one byte, one encoding. HTTP itself is mostly very simple, text "name: value" pairs separated by newlines, followed by arbitrary content as the body.

I think the solution is to start with a simple protocol and upgrade to more complex protocols after that. While technically you don't need to support HTTP/1 to support 2 and 3, the upgrade over TCP happens mostly in that way.
slver
·5 年前·議論
Doing science is great, but first we need to make sure we're not comparing apples and oranges.

OP has defined the problem as speeding up an HTTP server (libreactor based) on Linux. So that's a context we assume as a base, questions like "what can the hardware do without libreactor and without Linux" are not posed here.
slver
·5 年前·議論
It's available, is it very common, I can't claim.

Googling stuff like "Amazon AWS hardware TCP TOE" doesn't reveal anything. So we can't assume that either.
slver
·5 年前·議論
Handling request response isn’t just about packet count. I might as well claim it’s all just electric current and short some wires for max throughput /s
slver
·5 年前·議論
TCP is not typically a hardware feature so how’d you know exactly?

Maybe you wanna write a dedicated OS for it? Interesting project but I can’t blame them for not doing it.
slver
·5 年前·議論
I wonder sometimes, what if we focus on producing native JS VM hardware, would it perform same as or better than WASM? Let's run everything on JS.