TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Serializable Math Expressions Using Cap'n Proto

15 点作者 niekb将近 10 年前

1 comment

paulasmuth将近 10 年前
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 未加载