Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The Logitech software doesn't work on Linux

This is funny, considering it's an Electron app. They just didn't take the time to port, apparently.



Electron app are crashing every day when i'm doing something CPU intensive on my linux (i tend to have VSCode + Discord open, and pods in the background). 8 double-threaded core and 32G and this framework take one full CPU per app and crash when a deployment decide to take a fraction of the CPU computing power.

I now open Discord exclusively with firefox.


Mine never crash on Gentoo. I have 32 GB of RAM though.

I always have Discord, Element, VSCode (two windows), and two separate Chrome profiles running at the same time and I haven't seen it crash in weeks.


Have you considered the flathub Discord repo? I have been using it for over a year with no hiccups.


I see this quite often and wonder what the reason is. Even for what seem like "basic" apps, as in not needing much interaction with the OS (say a note-taking app, as opposed to a video-conferencing app that presumable does more involved things, like GPU acceleration).


It still requires you to build on each environments once to make the native dependencies work properly. Although I don't think it takes too much efforts to do that. But besides that, signing binaries on mac is complex and requires you to pay $100 to apple. For someone that don't use mac at first place, they probably don't even bother do it.


Is this build somewhat complex and / or not guaranteed to run well?

I have absolutely no experience with Electron development, and actually believed that the cross-platform thing was free (or almost). Again, at least for apps that don't need special functions that could be platform dependent.


Technically it is free, until some native dependencies involve. Because you still need to setup build chains on each platform to make them compile. For example, vc on Windows, gcc on Linux, xcode on mac.

Besides that, unlike java, nodejs don't bundle a lot of stdlibs by itself.(It don't even have a lib for manipulate images!) So you end up being required to use custom native modules for some specific tasks.(If no js alternative available)

The nodejs way is build yourself, so you will have the right one. But since it is a bundled electron program, it doesn't work and you need to prebuild it.


To be fair it seems the low-level parts, like interfacing with the mice via USB, would be harder to port to Linux and are unrelated to electron.




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

Search: