Abstract and keywords
Abstract:
This paper examines the challenges and opportunities associated with using cross-language bindings to integrate ML libraries (TensorFlow, PyTorch) into C# applications. Empirical data are presented on update delays, incomplete API coverage, and ecosystem fragmentation. Practical examples utilizing TensorFlow.NET and TorchSharp are analyzed in detail, along with an alternative approach leveraging ML.NET and ONNX. Recommendations are formulated for developers on selecting integration strategies suitable for production environments.

Keywords:
C#, .NET, machine learning, binding, TensorFlow.NET, TorchSharp, ML.NET, polyglot development, NuGet, cross-language integration
References

1. Li H., Bezemer C.P. Bridging the language gap: an empirical study of bindings for open source machine learning libraries across software package ecosystems // Empirical Software Engineering. – 2025. – Vol. 30, No. 1. – P. 6. – DOIhttps://doi.org/10.1007/s10664-024-10570-5. – EDN ORNDKP.

2. Asadov H.G., Bayramov G.Z. Modelirovanie temperaturnogo polya pri lesnyh pozharah // Modelirovanie sistem i processov. – 2024. – T. 17, № 4. – S. 7-15. – DOIhttps://doi.org/10.12737/2219-0767-2024-17-4-7-15. – EDN ECSUWP.

3. Astrahanceva I.A., Bobkov S.P. Imitacionnaya model' protochnogo trubchatogo reaktora // Modelirovanie sistem i processov. – 2024. – T. 17, № 4. – S. 16-22. – DOIhttps://doi.org/10.12737/2219-0767-2024-17-4-16-22. – EDN VAVASM.

4. Poluektov A.V., Zarevich A.I., Makarenko F.V., Solodilov M.V. Issledovanie effektivnosti zaschity ot gamma-izlucheniya s ispol'zovaniem mnogosloynogo polusfericheskogo ekrana // Modelirovanie sistem i processov. – 2025. – T. 18, № 4. – S. 71-83. DOI: https://doi.org/10.12737/2219-0767-2025-18-4-71-83

5. Zalenskaya N.Yu., Makarenko F.V., Zarevich A.I., Poluektov A.V. Analiz kolichestva potrebleniya SF₆ i CF₄ dlya zapravki kommutacionnoy apparatury vysokogo napryazheniya // Izvestiya vysshih uchebnyh zavedeniy. Problemy energetiki. – 2024. – T. 26, № 4. – S. 3-16. – DOIhttps://doi.org/10.30724/1998-9903-2024-26-4-3-16. – EDN HOOMCR.

6. Zarevich A.I., Murav'ev S.V. Minimizaciya emkosti dekady induktivnogo delitelya napryazheniya // Izvestiya Tomskogo politehnicheskogo universiteta. – 2012. – T. 321, № 4. – S. 140-143.

7. Zarevich A.I., Murav'ev S.V., Bedareva E.V. [i dr.]. Apparatno-programmnyy kompleks dlya avtomatizirovannyh ispytaniy sil'notochnyh preobrazovateley // Izvestiya Tomskogo politehnicheskogo universiteta. – 2013. – T. 322, № 4. – S. 180-184.

Login or Create
* Forgot password?