by jdw64 · 2w ago · 0 comments
In fact, desktop apps are mostly used for factories or Windows-only programs, which is a bit disappointing. It's a very good language for making games and the most widely used language for factory programming, but whether to build a product with it is a bit ambiguous. I'd use it when making a program for a specific customer, but for a product I'd probably use TypeScript.
> On the server side, TypeScript is actually better
I like TypeScript but I'd never pick it over C# on the server side unless I had to do React SSR for some reason.
I often build ERPs too, and for delivery I usually use TypeScript with Electron. C#'s biggest problem is mobile support. It's very strong on the game side, but weak on most phones. TypeScript, on the other hand, uses a bit more memory but is easier to wrap for mobile. You can just use Capacitor alongside Electron.
In my case, it's not a huge project—it's usually a small ERP dedicated to a local company in the region, so even if there are many employees, it's often only 100–200 people. At that scale, TypeScript holds up well enough. (For factory MES, there are tens of thousands of data points, but in that case it's usually fixed to C#.)
In this context, the mobile option in the ERP is good for charging customers, and it offers good extensibility as a reference option.
Unless WASM performance improves, there's still a bit of latency. On top of that, in my country there are few maintenance personnel.
I do agree that it's hard to beat web tech though. Great support across all platforms. Just don't forget to optimize.