3 ms·
Yes, their desktop clients were mainly written in Python (with Qt) and shared a lot of code between platforms. Right now I'm looking at their installation fold
by thijsvandien 4y ago
Yes, their desktop clients were mainly written in Python (with Qt) and shared a lot of code between platforms.
Right now I'm looking at their installation folder under Windows. It still comes with python38.dll, as well as a whole bunch of .pyd files. There is some .exe of course, but that could be a small wrapper written in a different language. Anyway, a bundle doesn't make much sense in this case.
Although I can't be bothered to look for sources, I remember reading that they used a quite heavily modified interpreter, at least for obfuscation and optimization purposes.
Some clues can be found on their blog: https://dropbox.tech/application https://dropbox.tech/application.
- josephernest 4y agoOh this is interesting, I would be super interested to learn about how they embedded Python in their .exe. (Cython can do it, but there are also other ways). I started reading the blog, but not so much about the packaging of their code into .exe distribution.
- thijsvandien 4y agoI don't expect that to be very special. Embedding Python is a common thing to do, and boils down to using the interpreter as a library: https://docs.python.org/3/extending/embedding.html https://docs.python.org/3/extending/embedding.html.