|
The problem I'm having is that it's essentially a web site that runs on the desktop.
I'm not really sure how I feel about it because it's all javascript, and I freakin' hate javascript.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I can understand that.
If it quarks like a duck, it's probably a water fowl - and JS is particularly fowl.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
What sparked your interest? You finally got an electric car now?
|
|
|
|
|
I'm toying with the idea of re-writing my reputionator app, and was thinking a cross-platform approach would be cool. However, after looking at the size of the disk footprint (over 50mb), i'm having 2nd thoughts.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
50Mb is nothing these days - it's only a 1.14m stack of floppy disks ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I think you mean 1.44MB.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Well, if you're going to go all new-fangled on me ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I toyed with a similar idea... And rejected it when I realised what a pain Electron programming was going to be, and what an even bigger pain deployment was going to be, especially as I was depending on external C libraries (libxml2 and libxslt).
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
You can find some alternatives here: tools-for-building-cross-platform-desktop-apps-with-web-technologies[^]
What I have heard is that besides the large footprint, it is also very difficult to write good behaving applications in Electron, so I would not recommend it for any complex application unless you have a team of developers behind you that can solve all the issues.
|
|
|
|
|
I am a team of 1.
Ever since the "cross-platform" idea was invented, it's been rediscovered time-and-again, that the juice ain't worth the squeeze, and targeting one platform is always the best idea. That was back in the mid-80's.
35 years later, nothing has really changed. And that's sad.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I've been investigating Electron for an app I want to rewrite but I got put on hold when I read an article ?somewhere? on uSofts new framework to be released with .NET 6. Microsoft unveils .NET MAUI for cross-platform apps | InfoWorld[^].
I don't know if it will be something I can use or not, but I'm too busy right now anyway.
|
|
|
|
|
It looks like Maui is a no-go for me because they didn't mention linux (that I noticed). I don't care about or need to support mobile devices, or even Macs. I want linux and windows desktop.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
That was the one draw back for me also, but hoping they add support in the future.
I won't be able to start my project for some time and there's no hurry.
I started rewriting it in WPF with MahApps and it is decent enough but Widows only1
The last version of the app was pretty popular but the one thing that was a no go was lack of support for other platforms, in particular IOS, some Linux.
|
|
|
|
|
Quote: it is decent enough but Widows only1 I must protest against this blatant example of positive discrimination!
|
|
|
|
|
I identify as a Windows user.
|
|
|
|
|
I've heard you can run WPF apps in Linux if you use .Net 5 instead of .Net Framework. Of course, you have to jump through some hoops to get kit there, but you might want to look at that.
(funny - when I first typed that it said, "I've heard you can ruin WPF apps in Linux...". Freudian slip?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
#realJSOP wrote: ruin WPF apps in Linux..
Probably truth in that?
|
|
|
|
|
Mike Hankey wrote: but Widows only1
When I worked in Japan many moons ago, I went to a computer exhibition. The Microsoft booth had a giant sign - Microsoft Widows.
Ain't spell-check wonderful...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
LOL, I can image there are quite a few.
That's how my first ex and I ended up exes.
|
|
|
|
|
I've recently created numerous ElectronJS projects.
Gratuitous Self Promotion ==> My CYaPass app is an ElectronJS app[^] which I successfully deployed to the Windows store.
Let me know, maybe I can help.
|
|
|
|
|
It's bad enough that multithreaded code is nondeterministic.
I propose that it is also meta-nondeterministic: You can not even count on it to be non-deterministic
When you need it to be unpredictable, the scheduler will inexplicably run your timeslices the exact same way, even when threads are executing on different cores, and even reboot to reboot.
I'm stuck on creating an *example* simply because I cannot create a situation wherein two secondary threads appear to be in competition (with the third thread being the main application thread) on a dual core ESP32 running FreeRTOS. I can do it where one thread is in competition with the primary thread, but it's as if the scheduler is just a dog when it comes to scheduling between two threads on the same core or something. Grrr.
It's bizarre.
Real programmers use butterflies
|
|
|
|
|
Threads are like fireflies. They tend to synchronize into repeated patterns.
|
|
|
|
|
Unless you need them to.
Real programmers use butterflies
|
|
|
|
|
I thought that was women and their...never mind.
|
|
|
|
|
Hmm. No criticism here, just old fart woolgathering.
After a long time developing multithreaded applications (including UI's), I've come to some observations:
- Thinking "adding a separate thread" will fix a problem generally won't.
- If you pay attention to timeslices, you're doing it wrong.
- If threads care about sequence of execution, you are doomed to failure.
Sleep(0) to force a context switch in Windows is A Bad Idea.Sleep(n > 0) is even worse.- Indiscriminately adding synchronization primitives like critical sections, mutexes, semaphores, and so on without understanding what you're doing gives you a false sense of security.
- Modifying thread priorities is bad karma. Please don't.
Software Zen: delete this;
|
|
|
|