Cross-Platform UI in GitHub Desktop
githubengineering.com
githubengineering.com
Same with Slack's Mac app. As beautiful as it is, there's just something that doesn't feel 100% responsive/right with a web-based app.
"With separate code bases for OS X & Windows
converging on a single design, we knew that
sharing code would be essential going forward.
Sophisticated as the graph is, implementing
it twice would have been a significant burden."
How is it ever reasonable to prioritize coding convenience over the end users' experience? This team set out to solve a cool engineering problem (code reuse) and forgot altogether that people are actually going to be using this stuff.It wouldn't have been as nice or expressive as Javascript though. But it also wouldn't have required hacks like stitching together a giant string to be `eval`', for example. So there's a tradeoff.
It may be more work, but if you're not going to build an actual native app, why bother? These apps are built as a sales point ("look, we have a Mac app!"), without the customer in mind.
What alternative real native GUI clients are there for Git on Windows?
I rather use tools that embrace the native platforms.
Why is there so much interest in HTML + Javascript based normal applications? They are slow, the langauges are awful, but besides Qt they are the ultimate portability. So sacrifice all those hz gains and power efficiency to make the developer workload minimal.
Theoretically all of this problems can and will be solved. The advantage would persist.
But agree. Reality looks often different
Even my mum complains every day about it. "Can’t be that a 4 year old smartphone can’t run a chat app like whatsapp fluently"
But she refuses to buy a new phone, because that would just fuel this even more.
I see it myself, upgraded from Huawei Ideos X3 (2.3.7) to Motorola Moto G (5.0), and it’s just as slow as the old phone was. Despite being twice as expensive.
This answers it all.
Also, any similarities to Atom are superficial at best on OS X. We use WebKit (where Electron/Atom use Chromium) and most of the app is native code.
I'm less knowledgable about the Windows side, so I can't comment on it.
Maybe these companies prefer the web stuff because most developers know it anyway.
That was already the only thing I used GitHub for Windows for, and that's only because Visual Studio doesn't speak SSH.
External tools is how you access things like SSH or the developer console in visual studio.
http://stackoverflow.com/questions/21476588/where-is-develop...
From VS2013 Menu Select "Tools", then Select "External Tools". Enter as below:
Title: "VS2013 Native Tools-Command Prompt" would be good
Command: C:\Windows\System32\cmd.exe
Arguments: /k "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd.bat"
Initial Directory: Select as suits your needs.And they have the balls to post it on a blog with "Engineering" in its title.
Then again, this appears to be the new standard of doing things. We consider the browser to be today's operating system, and modern apps (Spotify, Visual Studio Code, Atom, etc.) bring their own operating system. Fire up your editor and jot down a quick note? Yeah, why not make coffee while it's loading. Back to the future, I guess.
I'm curious - when is Servo going to be smacked inside Firefox? We need that lovely thing right now.
A better solution would have been something like OpenGL.
(I realize at least the OSX version probably predates Electron, still might have paid off to completely rewrite.)
Rewriting from scratch in an unfamiliar environment would have taken a lot more work. There are tradeoffs to both approaches, but using the existing native apps let us ship a less buggy release more quickly.
With CEF (which I've used, as have many other big companies - search your Windows PC for the dlls if you don't believe me), you're guaranteed every user has the same version of Chromium.