It looks like you're new here. If you want to get involved, click one of these buttons!
Hi Matthias,
Thank you for sharing your powerful software with this nice community.
I have started to work on a project which is using KLayout's Ruby scripting features. Since this project has grown quite a bit, I am wondering about compatibility in the future, i.e. what needs to be supported in terms of Ruby versions and the KLayout RBA API.
At the moment the code only supports the 0.24-python-preview version with the bundled Ruby 2.1.3, which for example supports a better syntax for keyword arguments than Ruby 1.9.
Since version 0.24 is still a preview, I am wondering if the project should be "backported" to be able to run with the KLayout 0.23 API and Ruby 1.9 and which is officially unsupported by the Ruby community.
The project is still a work-in-progress but I am concerned that Ruby 1.9 is still very common (e.g. on various flavours of GNU/Linux).
Any thoughts on the future of KLayout, Ruby and Qt and how they will affect compatibility of existing (or new) scripts would be appreciated.
Thanks, Chris
Comments
Hi Chris,
thanks for mentioning this. Here are some statements from my side
And yes, I know that 0.24 is overdue, but requests are piling up ... I guess I'll have to make a cut soon in order to be able to release.
Matthias
Hi Matthias,
Thank you so much for your comments on these items.
As Ruby 2 has definitely some advantages, I will keep using the Windows preview version for now. My only concern is that I wasn't able to install Ruby 2.x under Linux easily, but I think eventually this problem will be solved one way or the other (if nothing else by using a newer release of the OS). I think keeping the Ruby and Python APIs in sync has huge advantages, so I appreciate your decision on that. At the moment I don't have too much Qt code anyway so the 0.24 change hasn't affected me but I noticed that there are some posts in the forum about that... again, I think - especially with regards to the QFlags - that the new API is cleaner.
In short, I will stick to the 0.24-python-eval version for now and look forward to the official 0.24.
Thanks for all your efforts!
Regards, Chris