开发者

Can twisted be implemented in Java?

开发者 https://www.devze.com 2023-01-22 00:38 出处:网络
I remember reading that the following features lead to the development of interesting frameworks/libraries in Python:-

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. A simple class model, which facilitates inheritance.
  2. Dynamic typing, which means that 开发者_如何学Gothe code needs to assume less.
  3. Built-in memory management.

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:-

  • Does Java has a Twisted analogue in Python(which is just as powerful)?


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.


Apache Mina v2.0 is similar to Twisted.


There is one built for an openTSDB application. API is similar to python twisted. http://tsunanet.net/~tsuna/async/1.0/com/stumbleupon/async/

0

精彩评论

暂无评论...
验证码 换一张
取 消