why should I upgrade my RAM can't people stop building electron apps instead
@espectalll @quad @Pasty Python tends to run inherently slower than languages such as C traditionally used for operating systems, because it's built on top of them. Not certain as to the technicals of implementations such as PyPi, as to whether they would be quick enough, but generally it's just that Python would be too slow a language.
@lyrenhex @espectalll @Pasty Thus the speed of those OS components would bottleneck whatever faster applications relied on them
@quad @espectalll @Pasty yep. I could see games or any form of physics rendering applications struggling a lot on a Python-based OS.
@quad @lyrenhex @Pasty You don't have to write and run the kernel in pure Python, lol. No bottleneck if you still support something such as ELF binaries and let things run on their own processes.
Also "OS" != "OS for all purposes", it doesn't have to be intended for desktops or professional gaming or whatever.
@lyrenhex @espectalll @quad @Pasty CPython doesn't even have JIT, it just has pre-compiled bytecode (not binary) and it doesn't run that much smoother. Python is not inherently slower, it's just that the implementation devs don't care about speed that much.
Please do check out *PyPy (PyPi is the official library repo), it's not perfect but it's a thing. There's also Jython and IronPython, but they seem quite old at the moment.
@espectalll @quad @Pasty ahah, it's been a while since I worked with Python in any considerable fashion 😂 thanks for the correction! Remember looking at it a while back but never went much deeper since it didn't quite have some libraries I wanted at the time.
@espectalll @quad @Pasty ah, nice! I'll probably take a look at it again sometime soon, just once I feel a bit more comfortable with Go.
@pasqui023 @lyrenhex @Pasty Sure you're not just looking at the main process. This is what I get with zero files open
https://masto.quad.moe/media/MHAam2ZTZpUQ5QOPPow https://masto.quad.moe/media/e0ULXROBEhwP0S-NPsk
@pasqui023 @quad @Pasty Eclipse is a full IDE for Java though, VSCode is a *text editor*. A fancy one, true, but it still seems somewhat... Bloated.
@lyrenhex @pasqui023 @Pasty Yeah you don't compare text editors to IDEs. The only remaining decent text editor I know of that's not Electron would probably be Sublime
@pasqui023 @lyrenhex @Pasty
1. I doubt it actually fully replaces Eclipse. You've probably only enabled the extensions you need, not everything Eclipse does
2. Eclipse is also known for being just as bloated as most IDEs often are. Though that's generally due to them just cramming in way too many features and having giant codebases. Not because of their framework like Electron text editors
@Pasty @lyrenhex It's fine if that niche application I only need to use once or twice a week consumes 4x the ram it should need to. There's not enough demand to put effort into optimizing it and making it just work matters more.
But the top chat apps that want to stay running 24/7 really shouldn't drain half a gig of my ram, or even more when they leak or if you're in lots of channels