>
> I am thinking that in a year or three there will be solid tools that 
> integrate python and rust, possibly using webassembly.


Well it seems much sooner. I have just discovered PyOxidizer 
<https://pyoxidizer.readthedocs.io/en/latest/status.html>, a tool to turn 
any Python application into a single executable on Windows, Linux or Mac. 
According to the author, he was new to Rust programming language and 
started this project in December 2018. For about six-seven months he made 
quite a lot of progress. Personally I haven't tried it yet, but it is on my 
short-term list. According to the documentation it is possible to pack 
binary extensions too, as well as porting parts of the application in Rust. 
The resulting executable starts faster than Python interpreter and all 
Python code is pre-compiled and executes without copying, therefore imports 
are much faster compared to ordinary Python interpreter (which needs to 
search file system for modules and loads files at runtime). 

What surprised me the most is that ATM there are no GUI libraries for Rust 
that are production ready. I've found several interesting projects but all 
of them are still alpha/beta versions or even abandoned or deprecated. As 
if Rust is more suitable for writing back-ends?! I really don't see why. 
After all Rust is a general programming language.

Rust build tools are excellent. Installing any Rust version is one command 
line in Linux. Cargo - build tool can download all necessary files, compile 
them and link in a single output file (executable or shared / DLL) with 
just one command line. 
 
Vitalije


-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ce5f4dcb-1b7b-4aa1-8cc5-ba8c3bbfcc9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to