Re:Pythonnet – A package that integrates Python (2.7-3.6) wi...
by Beltiras on Monday January 30, 2017 @06:43AM
(#13520315)
That's what I thought. Maybe my "senior dev" connection is not competent. It doesn't really matter thou, I have other reasons to avoid .NET. I have to link against unmanaged C++ and apparently there are inherent memory leaks (memory assigned by UC++ then handed to .NET process can not be freed by .NET).
[ Parent
| on HN ]
Re:Pythonnet – A package that integrates Python (2.7-3.6) wi...
by stinos on Monday January 30, 2017 @11:20AM
(#13522427)
memory assigned by UC++ then handed to .NET process can not be freed by .NET
Pretty sure that can be solved by implementing IDisposable and having Dispose call back into C++ to free resources. Probably if you add a managed C++ layer in between this is sort of built-in.
Oh and like skc says: the validation you're after does work as well, though I admit it takes some time to figure out exactly how to do it.