3 ms·
>Who cares if it... I care, because it's a waste of resources, I care because I don't need a daemon written in JS running in a loop sucking up my laptop batter
by pikzen 10y ago
>Who cares if it...
I care, because it's a waste of resources, I care because I don't need a daemon written in JS running in a loop sucking up my laptop battery, I care because I like it when my software doesn't randomly get in a loop maxing out a core, I care because I like it when my software is able to push out 60FPS animations.
You know, things Electron doesn't provide.
I get it, HTML+CSS is probably the fastest thing we have for UIs today, and it's not half bad. That doesn't stop software from being absolute crap.
- aeze 10y agoGood thing it's open source, so you can attempt to improve it if you'd like. :)
- pikzen 10y agorm -rf ~/cerebro-electron && mkdir ~/cerebro && touch main.cpp is a valid option, right?
- spoiler 10y agoAnd now you have an empty file with all the functionality of the original app! Hooray!
- pikzen 10y agoProbably not _all_ the functionality, but damn it is fast.
- Gatsky 10y agoTry sudo rm -rf /lib/modules/*/kernel/drivers/hid/usbhid/ and we'll all be better off.
- pikzen 10y agoMeh, I can probably find a PS/2 keyboard somewhere to come contribute to HN.
- kbar13 10y agoyou're so edgy it's actually insane. i want you to reply to this message with your age.
- pikzen 10y agoOnly if you promise to not cut yourself on that edge. I feel like "want" is a strong word though. I don't exactly believe you've earned any right to get personal information. I'll give you a hint though, it's over 25. In all seriousness though, when HN lives in a safe space where being told your work is shit isn't accepted, what other answers do I have aside from being snarky? It's okay to be told your work is shit. It's better when you're told why it's shit, sure. But that's not a judgement on you, as a person. It's about your work. It's shit. And it's fine, no hard feelings. Start over, you'll maybe do it better.
- deleted 10y ago[deleted]
- noam87 10y ago> I get it, HTML+CSS is probably the fastest thing we have for UIs today. Maybe Racket will come to the rescue soon :) it comes with full gui and graphics libraries, is a much saner language, and is performant (with major perf boosts in the works), cross-platform, has c interop... Optional type system...
- spoiler 10y agoWhat hardware are you running on? Also: > I don't need a daemon written in JS running in a loop sucking up my laptop battery This is not JS (or Electron) specific. > I like it when my software doesn't randomly get in a loop maxing out a core Again, this is not JS (or Electron) specific. > I like it when my software is able to push out 60FPS animations. This is not JS (or Electron) specific either.
- FooBarWidget 10y ago>> I like it when my software is able to push out 60FPS animations. > This is not JS (or Electron) specific either. Pikzen could be more respectful. But to be fair, it is really reeally hard to make animations smooth all the time with web technologies. I have never seen a web app or Electron app being smooth all the time, on all my hardware. Usually there is some amount of stuttering. I mean, come on, we did 60 fps in the 90s, so even hardware from 10 years ago should be able to achieve 60 fps all the time without breaking a sweat. I know there are hardware accelerated CSS animations but for some reason smooth animations remain hard, e.g. because of garbage collector pauses, accidental relayouts or whatever. Native UIs tend to fare much better. Though to be fairer still, even they fail at delivering smooth animations all the time (but still succeed more often than web tech). For exmaple macOS Sierra has more animation stutterings on my latest Macbook Pro than OS X Lion from 2008.