Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can twisted be implemented in Java?

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 the 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)?

1 Answers

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.

like image 96
Rafe Kettler Avatar answered Aug 13 '26 20:08

Rafe Kettler