Make a Linux App

pnutzh4x0r@lemmy.ndlug.org to Linux@lemmy.ml – 133 points –
makealinux.app

Make a Linux app. Stop making distributions.

50

WDYM so I shouldn’t make an anime flavored, Arch based distro named Archuwu?

You can make pony flavored Debian based distro named Derpian

You should, and you shouldn't let anyone stop you!

1 more...

Why make new apps, we should be focusing on rewriting everything in Rust /s

Just please no more electron.

Can”t we just re-write Electron in Rust and then use it for everything else? /s

You're only half sarcastic, I can tell!

And they did apparently. It's called Tauri

3 more...
3 more...

The “Where to start” section should be a “Not You” meme, with Electron in the middle square

Electron can be done well, like vscode does. In saying that, it almost never seems to happen

I'm curious what witchcraft Microsoft did with VSCode to make it so responsive and performant when no other electron app is.

Electron was made for Atom and I think, though I'm not 100% that code is based on Atom

The term to look up is Monaco. That's the secret sauce part of VS Code that made it faster but I don't know enough about it to describe it well

Just looked it up a bit: https://microsoft.github.io/monaco-editor/

AFAIU, monaco is just about the editor part. So if an electron application doesn't need an editor, this won't really help to improve performance.

Having gone through learning and developing with electron myself, this (and the referenced links) was a very helpful resource: https://www.electronjs.org/docs/latest/tutorial/performance

In essence: "measure, measure, measure".

Then optimize what actually needs optimizing. There's no easy, generic answer on how to get a given electron app to "appear performant". I say "appear", because even vscode leverages various strategies to appear more performant than it might actually be in certain scenarios. I'm not saying this to bash vscode, but because techniques like "lazy loading" are simply a tool in the toolbox called "performance tuning".

BTW: Not even using C++ will guarantee a performant application in the end, if the application topic itself is complex enough (e.g. video editors, DAWs, etc.) and one doesn't pay attention to performance during development.

All it takes is to let a bunch of somewhat CPU intensive procedures pile up in an application and at some point it will feel sluggish in certain scenarios. Only way out of that is to measure where the actual bottlenecks are and then think about how one could get away with doing less (or doing less while a bunch of other things are going on and then do it when there's more of an "idle" time), then make resp. changes to the codebase.

Atom was a lot less responsive and generally laggier than VSCode though. I used to use Atom and was surprised how much more responsive VSCode was.

Didn't they basically take all the slow bits and rewrite them in not electron?

Is this site insane? On Linux I have access to so many more applications than other platforms. Sorry apple, ios apps repeating the same thing infinitely doesn't count.

You are comparing Apples to oranges. While it may be true that Linux may have more software available, in my experience macOS has a shit ton of productivity software as well, and many times, due to being for-profit, of higher quality. That's exactly why I've been thinking about giving my own try to making a launcher like Raycast for Linux.

I think I live in a foss bubble, haven't paid for software for... Too long 😹. Would you make it foss or paid or something else?

If I were to end up doing it (too many things I would like to do, too little time), I'd do it foss. At most I'd paywall features that have an ongoing cost (like hosting or server costs), though I am a bigger fan of keeping things local. That way its simpler and also easier to trust.

Personally, I think that paying for software isn't a bad thing as long as the price is right and the licensing reasonable (I really hate unnecessary subscriptions). Devs (specially if working on complex stuff) got to eat too, and sometimes donations aren't enough.

1 more...

Yeah I recently went back to Linux as a daily driver and was blown away how easy stuff like flatpaks made it to do everything I need quickly. That wasn’t the case last time I used Linux for something more than a quick and dirty VM host.

1 more...

Electron? Really? At this point you should pick web app.

An app is an app, and my computer will take it all the same. ¯\_(ツ)_/¯

It's fun and games... until you get lots of "...just like X command?" commentaries from randoms. Until you get sick of such and decide to do something non-productive instead. Unless there is money included in the former.

t. Been there, done that.

Its not like there many Windows "Apps" being made. Almost everything these days is web based on the desktop.

1 more...

How about instead of making yet another Linux distro, you just make an install script instead? I'm personally more likely to try out an install script over a totally pointless ISO....

I'm interested in new distributions, but it really needs to do something new. Different default packages with a handful of custom things on top of an existing distro just doesn't cut it. Give me a NixOS, Puppy Linux, ReactOS(I know it's not a distro) or something else unique. I'm tired of Debian/Ubuntu based distros, if I wanted Debian or Ubuntu, I would use them.

I’d been playing with the idea of building a Linux app. I used Post Haste on Windows to help me organise footage but haven’t found a substitute on Linux yet.

Why bother making Linux apps if people think that LibreOffice is a 1:1 replacement for MS Office and everything is perfect already?

Certainly perfect.

7 more...