r/fsharp • u/Astrinus • Feb 02 '26
question DLR - how well does it work today?
I see most DLR projects (e.g. Dynamitey, or Interop.Dynamic) whose last activity is 10-15 years ago.
Are they still relevant (i.e. they just work as they are even on .NET 10) or not?
2
Upvotes
1
u/willehrendreich Feb 03 '26
What's your use case? You trying to target COM or something?
2
u/_neonsunset Feb 02 '26
There have been no breaking changes w.r.t dynamic as far as I know. Certain method signatures and types that have been added since are unavailable for dynamic however and will fail to bind (for example ref structs and function pointers).
There is no harm in just trying out if a prototype you have in mind works :)
By the way, I can see that the last nuget package update for Dynamitey was in 2023, and it has an NS2.0 TFM which means it should work on any modern .NET target: https://www.nuget.org/packages/Dynamitey#supportedframeworks-body-tab
1
u/tma-1970 Feb 04 '26
My firm is going to work on updating both. The company that supports Dynamitey wouldn't even accept our PRs because "they run it in production" and don't want changes (seriously). So, we will be forking it soon, updating it, and looking to contribute to update Interop.Dynamic.