TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Bond – An extensible framework for working with schematized data

99 pointsby donsover 10 years ago

8 comments

gregwebsover 10 years ago
The Bond compiler is written in Haskell: <a href="http://blog.nullspace.io/bond-oss.html" rel="nofollow">http:&#x2F;&#x2F;blog.nullspace.io&#x2F;bond-oss.html</a><p>It is about time considering that Microsoft research has been one of the main funders of work on the Haskell compiler.
评论 #8867198 未加载
评论 #8867193 未加载
leetroutover 10 years ago
Slightly OT- I&#x27;m working with data sets that might change, but not often if at all, which are provided by Elasticsearch. I&#x27;m processing the raw data in Flask (API), munging, joining, and dropping what I don&#x27;t want going out to the world.<p>I&#x27;ve been toying with the idea of using something like PB, Cap&#x27;n Proto, or now Bond to define and track schema changes and centralize marshaling &#x2F; serializing logic. I&#x27;m not concerned about having RPC. Does this sound like crazy talk? Anyone else happen to track schemas agains schemaless data stores?<p>(I also like the idea of not having to ship JSON everywhere if I don&#x27;t want to.)
评论 #8868407 未加载
评论 #8867844 未加载
ziedaniel1over 10 years ago
It&#x27;s cool that the .NET version actually JITs specialized serialization and deserialization code at runtime. This is one place where managed languages really shine, because emitting bytecode is easier and more portable than emitting, say, raw x86. It&#x27;s also safer -- the runtime can verify the memory safety and type safety of the code.
评论 #8867229 未加载
sapekover 10 years ago
There&#x27;s been a lot of questions on how Bond compares to Protobuf, Thrift and Avro. I tried to put some information at this page: <a href="http://microsoft.github.io/bond/why_bond.html" rel="nofollow">http:&#x2F;&#x2F;microsoft.github.io&#x2F;bond&#x2F;why_bond.html</a>
nlyover 10 years ago
No RPC? Disappointing. There are so few choices C and C++ programmers with regard to battle-tested, easy (read: code generation for decode and dispatch), language-agnostic RPC.
评论 #8867064 未加载
评论 #8866903 未加载
a_cover 10 years ago
How would this compared with apache thrift?
评论 #8868059 未加载
sdaveover 10 years ago
how does it compare to protobuf,thrift ?
评论 #8866858 未加载
评论 #8866884 未加载
评论 #8866922 未加载
drivingmenutsover 10 years ago
And yet they still can&#x27;t build a web page that isn&#x27;t a shitshow.<p>Main content has horizontal scroll on portrait monitors, which underlaps the transparent fixed div they used for navigation.