可以扭用Java来实现? [英] Can twisted be implemented in Java?

查看:117
本文介绍了可以扭用Java来实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我记得读了以下特性导致有趣的框架/库在Python开发: -
(我读 http://www.python.org文章/workshops/2002-02/papers/09/index.htm

I remember reading that the following features lead to the development of interesting frameworks/libraries in Python:- (I read the article from http://www.python.org/workshops/2002-02/papers/09/index.htm)


  1. 一个简单的类模型,这有利于继承。

  2. 动态类型,这意味着该code需要承担以下。

  3. 内置内存管理。

的Java是静态编译,它有一个垃圾收集太。我不知道它的类模型可以被称为简单,但是,牢记上面提到的点,我有以下疑问: -

Java is statically compiled, and it has a garbage collector too. I wonder if its class model can be termed simple, however, keeping in mind the above mentioned points I have the following doubts:-


  • 不Java有Python中的扭曲类似物(这是一样强大)?

推荐答案

的Netty 是用Java编写的事件驱动的网络框架,因此,最有可能被扭曲的等价物。其特点是比较类似扭曲,似乎强大的(我没有任何第一手经验)。现在看来似乎仍然是积极维护。你必须寻找到自己动手才能真正得到它是​​否符合你的要求的想法。

Netty is an event-driven networking framework written in Java, so it would most likely be Twisted's equivalent. The features are relatively similar to Twisted, and it seems powerful (I don't have any firsthand experience). It seems like it is still actively maintained. You'd have to look into it yourself to really get an idea of whether or not it meets your requirements.

这篇关于可以扭用Java来实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆