Pangoraw / Deno.jl

:sauropod: Install deno from Julia
MIT License
3 stars 0 forks source link

Shared memory #3

Open fonsp opened 3 years ago

fonsp commented 3 years ago

There is the concept of embedded deno: https://deno.land/manual@v1.9.2/embedding_deno , which allows a host application to share raw UInt8 arrays with a running deno app, allowing all sorts of cool things! How easy would it be to get this as a Julia package? Would it be worth the effort?

fonsp commented 3 years ago

HTTP server

One example, Deno has a native HTTP/2 web server built in (link), which is using the well-tested high performance Hyper rust library. It also has built-in websockets!

It might be cool to write a Julia web server that uses Deno.jl under the hood, although https://github.com/aviks has worked on wrapping existing HTTP servers into julia in the past, and he told me that it did not work as well as expected...

Pangoraw commented 3 years ago

I did not know Deno was embeddable ! There is also the possibility to write a Deno plugin in Rust calling Julia using jlrs for the other way around.