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.

Show HN: Serializable Math Expressions Using Cap'n Proto

15 pointsby niekbalmost 10 years ago

1 comment

paulasmuthalmost 10 years ago
I have to admit I don&#x27;t really understand what this is. Looking at the source I can find and a small server programm that sends&#x2F;receives hardcoded UDP+JSON messages that contain some very specific data (a few numeric parameters, I think you need to understand electrical generators to understand what they mean) but doesn&#x27;t seem to do anything with the data except to send and receive it and doesn&#x27;t seem to contain error handling&#x2F;etc. Also I see a bunch of cap&#x27;n&#x27;proto schemas to encode a number of mathematical expressions and a small c++ class to execute those expressions.<p>Since OP is the author of the linked project: How do the serialized expressions and the server program fit together and what would this software be used for? Is it still in early development? Also, why not serialize the expressions as simple strings&#x2F;s-expressions -- what is the upside of using protobuf for this? doesn&#x27;t it just add unnecessary complexity and overhead?
评论 #10066443 未加载