4 ms·
Have people tried combining it with better-supported languages like Python or Go or Rust, leaving only the GUI to Pascal? Any guides out there?
by ogogmad 1y ago
Have people tried combining it with better-supported languages like Python or Go or Rust, leaving only the GUI to Pascal? Any guides out there?
- lelanthran 1y ago> Have people tried combining it with better-supported languages like Python or Go or Rust, leaving only the GUI to Pascal? Any guides out there? I do it with C, using opaque pointers for C objects. Painless because everything is statically compiled in. If you want a more dynamic solution (i.e. Python), you'll need to find a way to link every component in (or at least the ones your Python would use).
- chadcmulligan 1y agoDelphi does - eg https://blogs.embarcadero.com/getting-started-wit-python4delphi/ https://blogs.embarcadero.com/getting-started-wit-python4del... I use Lua from Delphi and vice versa regularly
- mappu 1y agohttps://github.com/ying32/govcl https://github.com/ying32/govcl is a binding of the Lazarus LCL GUI library to Go. It works pretty well, although I really got the impression that GTK2 and Win32 were the best supported targets, anything more modern was pretty buggy, so don't rely on it for hidpi support.