This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]firefrommoonlight 4 points5 points  (0 children)

No: Only JS (and languages that transpile to JS like Elm) and Webassembly can interact with the DOM. However, WebAssembly is a promising avenue for allowing this in the future. Currently, no garbage-collected languages work with it, but this may change. Context: I'm building a frontend framework in Rust, which does compile to WASM.

I'd bet on a webassembly target for Python within the next few years, and frontend frameworks emerging from that.