-4

My company just started a new production management software by using serial communication to scales. My company has already developed the software using VB6 in 2006 and keep using that outdated system until now.

The new software will be a centralized management software using local server, and planned to use Node.js (Express) and React for frontend. As for the serial communication, the scale will be connected to a subserver in each client and connected to the client's browser via socket.io

I want to ask, how fast the Node + Express + React + Socket io compared to VB6? Just imagine if all the node, express etc is running on the same computer. Or is there any article/data that compare both technology?

Or perhaps I should do the test and benchmark myself? But considering both technology are so different, what parameters should I compare? I really need an expert opinion.

BobDalgleish
  • 4,749

1 Answers1

0

So it's been a while and finally I'm able to write this. Comparing VB6 to web technology is like comparing a fruit to vegetables, fruit is sweet and instantly edible but vegetables will be yummy if you cook them first. The thing is about these two technologies, is that one is relatively slow, synchronous, old and prone of errors (instant shutdown if there is an error) vs fast, asynchronous, new and prone of bugs due to dynamic programming. I do not have a number to prove some benchmark but I'm sure of this:

  1. It's hard to write a clean code with vb6 while in react, you can rely on state changes. One state to rule everything
  2. Thus, writing JavaScript is a lot faster than writing vb6
  3. When processing a lot of background data, vb6 will freeze the client computer, react will freeze the server, yes it's server side processing. But this makes the UX better in react
  4. Populating data is faster in react, due to asynchronous nature
  5. App startup is a lot faster with vb6, but if the database server is offline, vb6 app will freeze until it shows some error. A not responding app is never a good UX. In react, none of this happened
  6. When it comes to data processing, you can easily manipulate it with JavaScript, unlike the old vb6 which don't have so many features and plugins. This is really useful especially when I'm dealing with scale output.
  7. Support. You know what I mean
  8. Compatibility
  9. The UI. This is incomparable though, but still worth to note

Again, I'm talking about performance but this fact is rather subjective. But I should say, the processing and whatever kind of data processing is about the same, vb6 with its simplicity and react with its asynchronous nature, equals. But then you have a better UX and a lot more responsive app in react than in vb6.