Hacker Newsnew | past | comments | ask | show | jobs | submit | mitgraduate's commentslogin

I just want to ask, why?

Today we've a superior technology like Electron. Why should we use old technology like Qt?

VSCode is built in Electron.


Electron is not superior. Web grew because of the great "application delivery" system and despite everything else that originated from the static web. By having huge number of js developers the thing was forced to do other tasks. Now with Electron it may as well do desktop apps (by removing the awesome "application delivery" system; isn't that funny?). Its only advantage is that you've got lots of js developers.

The "new" js desktop technology is new only in the sense that js is new to the desktop (so it still doesn't really know about all the desktop requirements). Same for servers: there are better tools for the job from the purely technical point of view.


How exactly is Electron superior?

> VSCode is built in Electron.

So is slack, which (from what I've heard, I have no personal experience) eats RAM like a maniac. Neither of these example applications tips the scale between Qt or Electron on being superior.

Again, based on what I've heard/read, Qt being less recourse hungry and written in C++ allows it to be (for example) embedded (to cars or iot devices, for example).


> Today we've a superior technology like Electron.

If there is anything superior to Qt, Electron clearly aint it.


Why Electron is superior? We do mobility simulation and the UI part is the minor of our concerns. We are focused in modelling capabilities and performance (so C++). Having a solution that uses the same language across all the application layers help us a lot.


> VSCode is built in Electron.

And it takes up 3GB of RAM on my 8GB machine.


Because Electron is not "superior". Both have their strengths and weaknesses, and which one is the right choice depends on what you're doing and what your existing skills and components are.


QT gives you a native-ish RAM-efficient GUI across a wide range of systems.


I thought QuickTime Player is only available on Mac OS nowadays.


In the embedded world, you have much more chance to run QT than Electron, because QT also supports RTOS like VxWorks or QNX.


Qt also has a renderer that's simply superior by design for embedded use cases. A web engine has to bent over backwards to do anything comparable.


Yes. HTML + DOM + CSS + JS was not created to write interactive applications, and it still shows. Most of the inconvenience can now be worked around with frameworks, but a large performance penalty remains. And Moore's Law is over.


Here is my favourite bash script: https://blog.ashfame.com/2018/02/deploying-lambdas-multiple-...

Deploy a lambda function in multiple regions (15 regions!) with just one bash script using Apex up.

Add route53 on top with Latency Based Routing enabled and you've a latency in 10s of millsecond from anywhere on the globe without paying a hefty fee for this kind of latency.


How is that in any way related to the parent comment?


It's not my blog, i thought mentioning a script in bash would be a good idea.


Love Apex Up


This is also what i wonder why Alibaba doesn't take care of customs/logistics and ask us to just pay for it.

They leave it to local authorities who a many times screw up


I think redirection should be done at application level, not at loadbalancer level.

Yes, we've our startup project using Kubernetes, Google Compute, Load Balancer, Cloud Datastore, CloudSQL and Bigquery.

It doesn't have many features as AWS and offerings are incomplete but performance is better imho.

Only problem we had was with billing but now it's solved too.


There is a LambCI with very high concurrent build limit and works with Github, one click install using cloudformation.


This came at the right time.

I was looking into LambCI but it only supports github.

I was using bitbucket for private repos.

Checkout: https://github.com/lambci/lambci/blob/master/README.md

It only supports github.

For my hobby projects i can't afford to host gitlab CI/Jenkins or pay for premium CI services.

Now, i can run my tests on Lambda,yay!


But beware and read the pricing sheet --- GitHub created a dumbed-down repo type for these new free private repos.


What does "dumbed-down repo type" mean ? How does they compare to public repo ? Are features missing ?



Why use not Electron? Take a look at vscode it has plugins and it seems to work everywhere.


Electron is basically Node+Chrome. There’s no way in hell it’s appropriate for writing VSTs.


In about ten years someone will post one to HN. Written in Javascript.


And it will use 1TB of ram to run.


Unfortunately DAW and VST plugins are not something you can make in Electron


Can you please explain why?


Audio software has strict buffer/latency demands which usually cannot be guaranteed on interpreted language platforms.

Doing audio synthesis with JS or any other interpreted language really is totally possible and has been done in a more or less serious way in several implementations and webtoys etc. But if you need extremely low latency and guarantees you cannot go that route, sadly.


You can always write native extension in c++/rust/c.


so then why use electron as well if the majority of your code is going to be native anyway?


exactly.

the UI is the minority of the code. the main engine is gonna need to be implemented in some language which has strict guarantees about performance. also, not having a garbage collector that fires in a seemingly random way helps a lot too :)


It's probably a decent way to package your program. And you can use all the glammy JS you want.


There are few reasons: - they most of the time run embedded in a DAW - they are usually computationally intensive themselves - they are meant to be instanced as far as memory/CPU can go

ad to the third point: Music producers already require and use pretty powerful rigs: 32-128GB RAM is not uncommon, CPU as good as it gets. There's great benefit when you can run 100 instrument synthesizer instances parallel vs 14 instances - it's a difference between a differentiated orchestra and a rock band.


Because the plugins embeds into existing native applications and uses existing native SDKs.


Friends don’t let friends use Electron


I think Dart was a result of optimizing JavaScript VM and learning about the cons of language which are hard to optimize for JS VM then getting rid of them.


Chat is too demanding for most people.

I suggest making discourse forum and advertising it on Reddit ads.

Even Facebook ads can be useful.

You'll need to create a marketing page to explain the purpose of your forum.

Using github/gmail/gitlab login would be useful too.

It seems i am unable to sign-up for your slack workspace.

Personally, I am very much interested in such forum/chat.


Even Amazon's music search sucks. It can never find the song unless you provide an accurate name. Its fuzzy matching sucks too, doesn't even account for regional trend in songs.


Apple's music search sucks too, especially if your music tastes are even slightly outside the mainstream. It simply doesn't personalize per user, so when I search, I have to wade through a list of unfamiliar band and musician names until I type almost the whole thing. For a company whose motto once upon a time was "design is how it works", this is inexcusable.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: