[Proposal] LV2 for VST2 developers guide

Programming applications for making music on Linux.

Moderators: khz, MattKingUSA

sjaehn
Established Member
Posts: 11
Joined: Fri May 03, 2019 6:05 pm

Re: [Proposal] LV2 for VST2 developers guide

Postby sjaehn » Wed Sep 04, 2019 9:45 pm

Basslint wrote:I think DPF is very good (and so is Dplug), however using straight LV2 can be very useful. LVTK offers a nice C++ wrapper around LV2.


There are strong arguments to use native C for LV2 programming. At least for the DSP part. If you need realtime, you must not use almost everything that makes the difference between C and C++. Or you have to be very careful. But then the C++ code looks looks quite ugly...

Anyway, I use C++ even for the DSP.

Basslint
Established Member
Posts: 197
Joined: Sun Jan 27, 2019 2:25 pm
Location: Italy

Re: [Proposal] LV2 for VST2 developers guide

Postby Basslint » Thu Sep 05, 2019 7:40 am

sjaehn wrote:There are strong arguments to use native C for LV2 programming. At least for the DSP part. If you need realtime, you must not use almost everything that makes the difference between C and C++. Or you have to be very careful. But then the C++ code looks looks quite ugly...

Anyway, I use C++ even for the DSP.


You can also use the D language in the BetterC mode, so you get a lot of nice features that C doesn't have (such as modules and lambdas) and no Garbage Collection. And you can call C++ libraries from BetterC and call BetterC code from C or any other language!
The community of believers was of one heart and mind, and no one claimed that any of his possessions was his own, but they had everything in common. [Acts 4:32]


Return to “Developer's Section”

Who is online

Users browsing this forum: No registered users and 2 guests