DanWBR / DTL

DWSIM Thermodynamics Library (legacy version - 3.x)
http://dwsim.inforside.com.br/wiki/index.php?title=DTL
GNU Lesser General Public License v3.0
19 stars 7 forks source link

Demonstration of migration to Dotnet v6.0 #7

Open kaytak opened 2 years ago

kaytak commented 2 years ago

Dear Daniel,

First of all, thank you for your great work for chemical engineering community. In this pull request, I would like to give you an overview and impression how easy your code could be migrated from dotnet framework v4.x to dotnet v6.0/later. You don't need to merge this PR and just clone my fork in kaytak:DTL.Core:master if you just want to overview it. As you may know, dotnet ecosystem has been drastically changed after dotnet Core was released, and there were some pain if we migrate from dotnet framework to dotnet core. However, now dotnet v6.0 has been released and the migration is no longer big deal at all since almost all source code could work with minor modifications. One of the biggest advantage of dotnet v6+ is its performance, in general dotnet v6 app has more than 50% of performance improvement than the one made with dotnet framework v4.x. In this PR, some dependency library are removed or replaced with dummy routine, since their source codes are not available, however, such dependency could be also included once they are complied on dotnet v6.0.

I hope this PR will give you an insight to future improvement of DWSIM. Best regards,

DanWBR commented 2 years ago

@kaytak thanks. Actually, I have a project where I've upgraded the whole DWSIM package to .NET 6, it is just not open source yet, but I will do it soon.