Click here to Skip to main content
15,887,746 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: Google readies next-gen RPC protocol to replace JSON Pin
megaadam23-Aug-16 9:32
professionalmegaadam23-Aug-16 9:32 
GeneralRe: Google readies next-gen RPC protocol to replace JSON Pin
Marc Clifton23-Aug-16 9:44
mvaMarc Clifton23-Aug-16 9:44 
GeneralRe: Google readies next-gen RPC protocol to replace JSON Pin
Dan Neely23-Aug-16 10:51
Dan Neely23-Aug-16 10:51 
GeneralRe: Google readies next-gen RPC protocol to replace JSON Pin
TheGreatAndPowerfulOz23-Aug-16 12:23
TheGreatAndPowerfulOz23-Aug-16 12:23 
GeneralRe: Google readies next-gen RPC protocol to replace JSON PinPopular
Wonde Tadesse23-Aug-16 16:13
professionalWonde Tadesse23-Aug-16 16:13 
GeneralRe: Google readies next-gen RPC protocol to replace JSON Pin
Kent Sharkey23-Aug-16 16:21
staffKent Sharkey23-Aug-16 16:21 
GeneralRe: Google readies next-gen RPC protocol to replace JSON PinPopular
Wonde Tadesse23-Aug-16 16:26
professionalWonde Tadesse23-Aug-16 16:26 
GeneralRe: Google readies next-gen RPC protocol to replace JSON Pin
irneb24-Aug-16 0:14
irneb24-Aug-16 0:14 
The one drawback to HTTP/2 and gRPC/protocol buffers, according to Philips, is that since they're both binary, compressed formats, they aren't directly human-readable.

Yeah, and that's the major reason why all of these human-readable syntaxes are sooooo sllllooooowwwww and cumbersome to parse and send.

What is wrong with a simple translation tool. I.e. open the binary data and parse it to some JSON-like syntax only when (and IF) some human actually wants to read/edit it. The way HTML/XML/JSON/et al works now is that it's kept in human readable form, for in case some human in the 0.000001% chance actually wants to read the "raw" data themselves. But for all the rest the computer needs to constantly convert the syntax back-and-forth between text and binary.

Exactly why stuff such as BSON was even invented. By all means if your target audience is some human having to read/edit the raw data, go and use such inefficient formats as JSON (or worse XML). But if you actually intend communications between binary machines, then what's the point in doing this double conversion at each end?

The argument to "keep it human readable" simply falls completely flat in most cases. Since the very first thing you need to do is to write a serializer/deserializer to convert actual binary data to text and back. Keep it binary in the first place and use that translator you've built to convert it ONLY when you (NOT the computer) actually want to read/edit the RAW data instead of through a program. See it similar to reading Hex code instead of binary digits, would you keep a compiled program in text based Hex / UUCode / Mime / etc. just for the off-chance that some guy wants to view the internals - i.e. every time the program starts it first has to be converted back into binary? Or would you rather just have an editor/viewer which displays the binary in whatever format only when actually needed.
GeneralRe: Google readies next-gen RPC protocol to replace JSON Pin
Joe Woodbury26-Aug-16 9:27
professionalJoe Woodbury26-Aug-16 9:27 
NewsMIT researchers discover method to triple wireless speeds Pin
Kent Sharkey23-Aug-16 8:57
staffKent Sharkey23-Aug-16 8:57 
NewsThis MS Paint-like tool lets you search for images by drawing them Pin
Kent Sharkey23-Aug-16 8:56
staffKent Sharkey23-Aug-16 8:56 
GeneralRe: This MS Paint-like tool lets you search for images by drawing them Pin
Marc Clifton23-Aug-16 9:37
mvaMarc Clifton23-Aug-16 9:37 
NewsGoogle lays out plans to update Android more regularly and frequently Pin
Kent Sharkey23-Aug-16 8:55
staffKent Sharkey23-Aug-16 8:55 
GeneralRe: Google lays out plans to update Android more regularly and frequently Pin
raddevus23-Aug-16 10:12
mvaraddevus23-Aug-16 10:12 
NewsNASA Just Found a Lost Spacecraft Pin
Kent Sharkey22-Aug-16 17:26
staffKent Sharkey22-Aug-16 17:26 
GeneralRe: NASA Just Found a Lost Spacecraft Pin
Beginner Luck22-Aug-16 23:33
professionalBeginner Luck22-Aug-16 23:33 
NewsThe GIF is dead. Long live the GIF. Pin
Kent Sharkey22-Aug-16 14:33
staffKent Sharkey22-Aug-16 14:33 
GeneralRe: The GIF is dead. Long live the GIF. Pin
Marc Clifton22-Aug-16 15:22
mvaMarc Clifton22-Aug-16 15:22 
GeneralRe: The GIF is dead. Long live the GIF. Pin
Beginner Luck22-Aug-16 23:43
professionalBeginner Luck22-Aug-16 23:43 
GeneralRe: The GIF is dead. Long live the GIF. Pin
Dan Neely23-Aug-16 2:52
Dan Neely23-Aug-16 2:52 
NewsPhysicists propose method for braiding light Pin
Kent Sharkey22-Aug-16 12:09
staffKent Sharkey22-Aug-16 12:09 
GeneralRe: Physicists propose method for braiding light Pin
Marc Clifton22-Aug-16 15:23
mvaMarc Clifton22-Aug-16 15:23 
NewsSo, how do you make Agile successful? Pin
Kent Sharkey22-Aug-16 12:07
staffKent Sharkey22-Aug-16 12:07 
GeneralRe: So, how do you make Agile successful? Pin
Marc Clifton22-Aug-16 15:25
mvaMarc Clifton22-Aug-16 15:25 
GeneralRe: So, how do you make Agile successful? Pin
Jörgen Andersson22-Aug-16 20:06
professionalJörgen Andersson22-Aug-16 20:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.