即时通讯服务器类似于哪种语言
我想运行跨平台 XMPP Instant Messenger。我应该选择什么服务器端语言?
I want to run Cross-Platform XMPP Instant Messenger. What Server-Side language should I choose?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
还有使用 Lua 的 http://prosody.im/。他们的使命宣言:
There's also http://prosody.im/ which uses Lua. Their mission statement:
如果您想使用 XMPP 服务器,请查看 Ejabberd(用 Erlang 编写)或者 Tigase(用 Java 编写)
如果您想创建自己的,请使用:
根据您希望与 XMPP 规范的接近程度,C++ 可能是一个选择,但这将是相当具有挑战性的,因为有相当多的逻辑需要实现:-)
如果您想优化速度,识别应用程序的瓶颈,并研究用 C 语言编写特定部分(XML 解析或字符串处理)。
If you want to use a XMPP server, take a look at Ejabberd(written in Erlang) or maybe Tigase(written in Java)
If you want to create your own, use:
Depending on how close to the XMPP spec you want to be, C++ might be an option but it will be quite challenging, as there is a fair amount of logic to implement :-)
If you want to optimize for speed, identify the bottlenecks of your application, and look into writing specific parts in C(XML parsing or string handling).