Re: Ruby (learning and language comparisons)
Posted: Fri Mar 13, 2020 6:17 pm
.
DSP Robotics and FlowStone Graphical Programming Software Support and Forums
http://dsprobotics.com/support/
trogluddite wrote:Re: Ruby Win32API
It's worth noting that there's a further restriction which the manual doesn't quite make clear. The Ruby Win32API library doesn't work in VST plugins at all due to some changes in the way that linking was handled. It still works in EXE exports as documented; though as you say, the need for the external library file is a bit of a pain.
The alternative is to use the DLL component, though it only works with Dlls which use the specific FS API, so C++ coding in VS is always required (and the API isn't very pretty - a big lump of ugly macros!). On the plus side, it's massively more efficient than Ruby if you need to handle audio streams, and it allows you to statically link the dll within the schematic, so you don't need external files.
tulamide wrote:
What you did achieve though, is that I won't do another try to help people trying to dive into Ruby. It's not worth the punishment I get for having dared to.