News for hackers. Stuff that matters.
Re:HTTP: , FTP:, and Dict:? by kragen on Sunday September 22, 2024 @11:20AM (#41617658)
it's a pretty big problem that connecting existing software together so often requires writing new parsers
Re:HTTP: , FTP:, and Dict:? by hnlmorg on Sunday September 22, 2024 @11:41AM (#41617816)
That suggests things are getting worse but personally I’ve seen the opposite trend.

These days developers rallying around a subset of established standards rather than inventing new protocols and grammar for each new service.

Take a look at the old protocols out there: finger, DNS, Gopher, HTTP, FTP, SMTP Dict, etc. they all have their own grammar and in many cases, even that grammar is very loosely defined or subject to dozens of different standards. Whereas these days it’s mostly JSON or XML over HTTPS. Or ProtoBuf if you need something more compact.

There’s definitely still room for improvement. For example the shift towards proprietary messaging protocols like Slack, Discord, etc. But that’s another topic entirely.

Re:HTTP: , FTP:, and Dict:? by kragen on Sunday September 22, 2024 @12:03PM (#41617955)
yeah, i appreciate the move to html, http, and json. although http/2 and http/3 arguably aren't really http