News for hackers. Stuff that matters.
Re:Did Windows 10 slow down with each feature update? by FpUser on Monday June 21, 2021 @09:01PM (#27586739)
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.

Re:Did Windows 10 slow down with each feature update? by Silhouette on Monday June 21, 2021 @10:03PM (#27587175)
Is performance really comparable between .Net and Electron now? Neither is my specialty but anecdotally I see far more criticism of Electron for its slowness.
Re:Did Windows 10 slow down with each feature update? by FpUser on Tuesday June 22, 2021 @08:41AM (#27590907)
In 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++.

Re:Did Windows 10 slow down with each feature update? by badsectoracula on Tuesday June 22, 2021 @11:22AM (#27592809)
I doubt you'll see any performance difference between Delphi and C++ (even with the most optimizing C++ compilers) outside of heavy number crunching anyway.
Re:Did Windows 10 slow down with each feature update? by FpUser on Wednesday June 23, 2021 @09:35AM (#27604401)
For 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.
Re:Did Windows 10 slow down with each feature update? by badsectoracula on Thursday June 24, 2021 @06:13AM (#27615738)
Neither 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/