Replies: 1 comment 4 replies
-
You could just import a Python web library and for better performance you could use ffi and program the web stuff in rust. I think you can either compile the rust side to a staticlib and embed it directly in mojo. The other option could be to compile the mojo side as shared lib (i havn't seen this in the documentation but someone doing this on github) and call the needed functions from the rust side. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are currently using
Java
andKotlin
as our backend web language for business development. The front-end usesTypeScript
andVue
. With the development of our business, we need to use some deep learning technologies. Our team has been considering using Java for deep learning tasks or Rust for a long time.We have conducted some experiments, and we have been using
CoreNLP
from Stanford andDJL
from AWS before. However, the team believes that its performance in computing is still inferior toPython
andRust
. The Java project is deployed on Linux, but the JVM has always been our concern. Recently, we saw news thatJava22
external function API can directly access functions in memoryWe have long been looking for a reasonable architecture that meets both our existing web application services and our algorithmic needs at minimal cost.
The development of a language cannot be separated from the ecological construction of the community, and currently Rust ecology is insufficient in deep learning.
Just as both Rust and Python can support the Web, my question is whether
Mojo
will consider supporting Http-related packagesBeta Was this translation helpful? Give feedback.
All reactions