<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MessagePack | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/messagepack/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Thu, 11 Feb 2021 20:32:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>MessagePack | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>There&#8217;s always someone inventing something better</title>
		<link>https://learncgames.com/theres-always-someone-inventing-something-better/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=theres-always-someone-inventing-something-better</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Sun, 14 Feb 2021 00:00:38 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[MessagePack]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=2663</guid>

					<description><![CDATA[<p>In this case, I&#8217;m talking about better than JSON. JSON was invented as an alternative to XML which was invented as a way for computers to send data in a human readable form. Unfortunately XML is a pretty bloated format. Putting data into XML can make it five or six times larger. Plus by the [&#8230;]</p>
The post <a href="https://learncgames.com/theres-always-someone-inventing-something-better/">There’s always someone inventing something better</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:175,&quot;href&quot;:&quot;https:\/\/en.wikipedia.org\/wiki\/JSON&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260206123529\/https:\/\/en.wikipedia.org\/wiki\/JSON&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-18 13:06:23&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 15:21:39&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-13 05:29:43&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-03-13 05:29:43&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:176,&quot;href&quot;:&quot;https:\/\/en.wikipedia.org\/wiki\/XML&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260202041705\/https:\/\/en.wikipedia.org\/wiki\/XML&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 12:31:09&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-18 13:06:25&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 15:21:37&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-13 05:29:44&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-03-13 05:29:44&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:177,&quot;href&quot;:&quot;https:\/\/en.wikipedia.org\/wiki\/List_of_types_of_XML_schemas&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260201045016\/https:\/\/en.wikipedia.org\/wiki\/List_of_types_of_XML_schemas&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 12:31:10&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 15:21:37&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-03-13 05:29:43&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-03-13 05:29:43&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:178,&quot;href&quot;:&quot;https:\/\/msgpack.org&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260204215514\/https:\/\/msgpack.org\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 12:31:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-07 15:21:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-13 05:29:43&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-03-13 05:29:43&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:179,&quot;href&quot;:&quot;https:\/\/docs.microsoft.com\/en-us\/aspnet\/core\/signalr\/messagepackhubprotocol?view=aspnetcore-5.0&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20220827112530\/https:\/\/docs.microsoft.com\/en-us\/aspnet\/core\/signalr\/messagepackhubprotocol?view=aspnetcore-5.0&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 12:31:14&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-07 15:21:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-13 05:29:43&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-03-13 05:29:43&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]'></div>
<figure id="attachment_2664" aria-describedby="caption-attachment-2664" style="width: 300px" class="wp-caption alignleft"><img fetchpriority="high" decoding="async" class="size-medium wp-image-2664" src="https://learncgames.com/wp-content/uploads/2021/02/JSON-Logo-300x300.png" alt="JSON Logo" width="300" height="300" srcset="https://learncgames.com/wp-content/uploads/2021/02/JSON-Logo-300x300.png 300w, https://learncgames.com/wp-content/uploads/2021/02/JSON-Logo-150x150.png 150w, https://learncgames.com/wp-content/uploads/2021/02/JSON-Logo-250x250.png 250w, https://learncgames.com/wp-content/uploads/2021/02/JSON-Logo.png 699w" sizes="(max-width: 300px) 100vw, 300px" /><figcaption id="caption-attachment-2664" class="wp-caption-text">JSON Graphical Logo</figcaption></figure>
<p>In this case, I&#8217;m talking about better than <a title="Link to wikipedia on JSON" href="https://en.wikipedia.org/wiki/JSON" target="_blank" rel="nofollow noopener">JSON</a>. JSON was invented as an alternative to <a title="Link to Wikipedia bout XML" href="https://en.wikipedia.org/wiki/XML" target="_blank" rel="nofollow noopener">XML</a> which was invented as a way for computers to send data in a human readable form. Unfortunately XML is a pretty bloated format. Putting data into XML can make it five or six times larger.</p>
<p>Plus by the time XML was coming into common use in the mid-late 90s, there was a <a title="Link to List of XML schemas" href="https://en.wikipedia.org/wiki/List_of_types_of_XML_schemas" target="_blank" rel="nofollow noopener">horrible letter soup</a> of associated acronyms. It sort of appeared at the same time as Java and the whole XML ecosystem was lapped up by big business. JSON was born as an alternative method and it became very popular as JavaScript was growing at the same time, JSON is short for JavaScript Object Notation.</p>
<p>Now there&#8217;s <a title="Link to MessagePack website" href="https://msgpack.org/" target="_blank" rel="nofollow noopener">MessagePack</a> an alternative to JSON. It&#8217;s supposed to be faster and smaller than JSON. I came across it while looking at <a title="Link to Microsoft article about SignalR and MessagePack" href="https://docs.microsoft.com/en-us/aspnet/core/signalr/messagepackhubprotocol?view=aspnetcore-5.0" target="_blank" rel="nofollow noopener">SignalR</a>, a way to send data between clients and servers and used in Blazor and .NET websites.  It must have been around for a while as it was used back in 2011.</p>
<p>There&#8217;s now 50 programming language implementations including C at the bottom of the MessagePack home page although there&#8217;s over 100 but that includes several implementations for the same language.</p>
<p>If you have to move data between two computers, or maybe two processes on the same computer, you want it to be as small as possible and that&#8217;s what MessagePack allows.</p>
<p>&nbsp;</p>The post <a href="https://learncgames.com/theres-always-someone-inventing-something-better/">There’s always someone inventing something better</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2663</post-id>	</item>
	</channel>
</rss>
