4 ms·
That depends. Many developers are now using Electron, .NET and other tech to develop software. Those are heavy and do not like old computers with limited resour
by FpUser 5y ago
That depends. Many developers are now using Electron, .NET and other tech to develop software. Those are heavy and do not like old computers with limited resources."
My desktop products are made in Delphi (compiles to native code) and are very responsive and frugal on resources. Run fine on very old hardware. Desktop products done in C++ would be even better but I am not masochistic enough to develop GUI in C++. At least for now.
- Silhouette 5y agoIs performance really comparable between .Net and Electron now? Neither is my specialty but anecdotally I see far more criticism of Electron for its slowness.
- FpUser 5y agoIn theory .NET should be "better". In practice this really depends on way too many factors including how experienced were the programmers who implemented the software. In any way I am not an expert in this area. I do use VS code as for some tasks there is no viable alternative for me and since my development workstation is a monster it runs fine. My own desktop apps however are native and I test them on really shitty hardware where one would not dream of running VS Code / Slack / whatever. For fun I've compiled my main desktop product to 32 bit and it runs on a friggin old netbook just fine. Also from my point of view speed of development is not any slower when developing native applications. So unless client specifically requires it or I am doing some front end in browser my desktop apps are all native and coded in Delphi/Lazarus and my backends are C++.
- badsectoracula 5y agoI doubt you'll see any performance difference between Delphi and C++ (even with the most optimizing C++ compilers) outside of heavy number crunching anyway.
- FpUser 5y agoFor whatever reasons most of my software (desktop and servers) ends up having this "heavy crunching" part in it be it. I usually do not create products that only serve as a simple conduit to a database.
- badsectoracula 5y agoNeither do i (in fact i use Delphi and Free Pascal for practically decades now and i never touched a database :-P) - most of my stuff are graphics and geometry related and yet i haven't seen much of a difference between my C or C++ and my Free Pascal (which AFAIK has worse optimizations than modern LLVM-based Delphi) code. Of course i refer to optimizations based on the generated code, algorithmic optimizations are another topic. The only time i saw a difference when i made a raytracer benchmark[0] explicitly to benchmark the codegen where the Free Pascal codegen at its best was at 177% of the speed of the Clang 8 at its best. In my experience this is not a realistic metric though (according to the benchmark my C 3D engine should be five times slower if compiled in BC++ than Clang but in practice since it does a variety more stuff than just a single thing the performance difference is barely perceptible). [0] http://runtimeterror.com/tools/raybench/ http://runtimeterror.com/tools/raybench/