DEV Community

Cover image for What is Neutralinojs? Alternative to Electron

What is Neutralinojs? Alternative to Electron

Rajvir Singh on October 17, 2021

If you are looking for alternatives for Electron, Then you should give it a try to Neutralinojs. So today, I am going to help you found the best fo...
Collapse
 
oscarablinger profile image
Oscar Ablinger

I've not heard of Neutralino before now, so this was very interesting. I'll look at it some more.
But…

I am pretty sure you are convinced right now, but if you are not convinced yet. Then let me tell you that if a build size of Electron is 180Mb then with Neutralionjs, it comes down to 2Mb.

Yeah, I'm not convinced. Smaller package size is nice, but it has to come at a price. Why is it so much smaller? I'd assume because it's less powerful? It's 5 years younger than Electron so the support is probably worse and there might not be as mature as electron.
Based on the linked repository it doesn't use node package managers so that's a major downside.
And quite frankly, I don't really care about (desktop) program size that much – internet connections are pretty decent by now and disk space is plenty.

Simply Neutralionjs is better and faster than any other desktop framework right now If you take a glance at these benchmarks. You will get a grasp of how blazing fast Neutralionjs is.

These benchmarks mention nothing of speed. The only similar statistic mentioned is "start duration" for an empty project which is just a ? for neutralino. And "better" is also very subjective. Lot's of things can influence that: instability, bad APIs, platform inconsistencies, no development support etc..

I just feel like if it was smaller and faster and better in every way, I'd've heard of it in the last 5 years every time electron was mentioned.
And the showcased projects on the website are only example projects, so I don't know if anyone even seriously uses it yet.


Now, I don't want to discourage you from posting. None of these questions need to be addressed by your post. It's completely fine to just make a quick post and tell us about a cool new project. Maybe you're even right and it's everything you promised.
Just if you want to convince us (or maybe just me?) that neutralino is better than Electron, you'll need more than file size. I'd love a more in-depth comparison of the two.

I feel a bit bad for being so negative in my comment. I just felt like there needs to be some more backing up those claims. :/

Collapse
 
rajvirsingh1313 profile image
Rajvir Singh

Yeah @oscar Ablinger you are completely right, thanks for spoting my mistake. I will add more clarfication in the What is better part as I just didn't wrote it correctly. And I will surely make a new article in depth about what is better.

Sorry, And Thanks for taking time and telling me my stupid mistakes. I will surely fix them this noon. Thanks alot

Collapse
 
oscarablinger profile image
Oscar Ablinger

I wouldn't call it a stupid mistake. It happens pretty quickly to oversell certain things – I certainly did before too.

Anyways, when you publish your new post, please update me here :)

Thread Thread
 
rajvirsingh1313 profile image
Rajvir Singh

Thanks Alot

Thread Thread
 
rajvirsingh1313 profile image
Rajvir Singh • Edited

I am taking survey for conluding my research for the article so can you fill it out? w8wlf2cr6no.typeform.com/to/BBYoZNSY

Collapse
 
timfish profile image
Tim Fish

The article mentions that Electron "is hated by developers" because of RAM usage but I can't see how Neutralino can improve on this. For starters, on Windows if you're lucky, it'll use Edge Chromium which is going to use almost an identical amount of RAM to Google Chrome or Electron.

We've been shipping an Electron app to 200k customers for 4+ years and not a single customer has even mentioned Electron and nobody has complained about the download size. This suggests that users generally don't care as long as an app works well. For this reason, I've decided that I no longer care that a few opinionated developers hate Electron. It's not even relevant when considering the business case for an app 🤷‍♂️

Collapse
 
rajvirsingh1313 profile image
Rajvir Singh

Yeah you are right, Even I think too it doesn't matter as ram is there to be used. As I mentioned in Which is better part.

Neutralion is not like all out best, But it seems Neutralion developers are trying to get Neutralion best in performance wise so I think it will out performance the electron, But even so as you mentioned it dones't matter at the end to customers. So yeah it comes to developer. Btw Thanks for writing comment

Collapse
 
rajvirsingh1313 profile image
Rajvir Singh

Done I have updated this article, I am gona write a new article covering all the frameworks for creating desktop applications with web dev tools

Collapse
 
kibranoz profile image
Kibranoz

On Mac it straight up doesn’t work.

While you’ll be able to have an apps it will never go into launchpad like any other normal apps which is inconceivable on a UX perspective for obvious reasons.

Collapse
 
mattis profile image
Mattis

Neutralino doesnt support Node. So its basically useless. Its just a website in an exe file.

Collapse
 
rajvirsingh1313 profile image
Rajvir Singh

Yeah you are right, sorry that I didn't covered that due to my lack of research. I am really really sorry. I have updated the article, and soon I will write a new article covering all the desktop applications frameworks with solid research.

Collapse
 
rajvirsingh1313 profile image
Rajvir Singh

I hope you all found this article helpful, If you guys have any feedback about my writing style or presentation style, I will surely hear.
Have a good day,
Rajvir Singh

Collapse
 
deninpaulv profile image
Denin Paul

Damn this seems promising, even though I aint a dev. Great article mahn!

Collapse
 
rajvirsingh1313 profile image
Rajvir Singh

Thanks bro