News for hackers. Stuff that matters.
Re:Building a fast Electron app with Rust by matthewmacleod on Sunday March 18, 2018 @07:19AM (#16611406)
I have no doubt that native UI development for multiple platforms is tricker than a single cross-platform browser-based implementation. But I do think the level of those barriers to entry can be overstated. Building a simple MacOS GUI is not complex; likewise for Windows and say QT for Linux. It requires a little bit of thought and a little bit of research, and more time than a single implementation. The output is also better by quite a few metrics, and my general feeling is that an application where most of the complexity is hidden away in a cross platform library with a very simple API is the best possible case for this approach.
Re:Building a fast Electron app with Rust by Aaargh20318 on Sunday March 18, 2018 @07:22AM (#16611421)
> I have no doubt that native UI development for multiple platforms is tricker than a single cross-platform browser-based implementation.

I would argue the exact opposite is true for anything more complicated than 'hello world'

Re:Building a fast Electron app with Rust by matthewmacleod on Sunday March 18, 2018 @07:31AM (#16611454)
I can agree with that from the perspective of a single front-end. If I were building multiple front-ends for different platforms, I’m less sure.

I do think that developers who have previously only worked with web tech have a distorted idea about native platforms though. I spent my whole career working on the web, intimidated by the complexity of native apps. It turned out that native UI toolkits really are very well suited to building native UIs with minimal effort!

Re:Building a fast Electron app with Rust by Aaargh20318 on Sunday March 18, 2018 @01:13PM (#16612943)
> I do think that developers who have previously only worked with web tech have a distorted idea about native platforms though. I spent my whole career working on the web, intimidated by the complexity of native apps.

As a native developer I have the exact opposite view. Web development is insanely complicated compared to native. It's a complete jungle of flavour-of-the-day frameworks all designed to make web-development somewhat workable (and all of them failing in some ways.

If you're building a website, you have little choice, but if you're actually building a desktop app it's totally insane to use web based UI.

Re:Building a fast Electron app with Rust by _Tev on Wednesday March 21, 2018 @09:07AM (#16637664)
Maybe you have distorted view as well.
Re:Building a fast Electron app with Rust by postfacto on Sunday March 18, 2018 @02:42PM (#16613509)
> I do think that developers who have previously only worked with web tech have a distorted idea about native platforms though.

There’s an irony that people who will drop whatever they’re doing to learn this week’s hot crazy brain-bending quasi-DSL JavaScript framework think that learning Swift is too hard and don’t want to have to learn something new.

Re:Building a fast Electron app with Rust by _Tev on Wednesday March 21, 2018 @09:09AM (#16637679)
Frankly you have no clue about web development if you think they are learning every "this week’s hot crazy brain-bending quasi-DSL JavaScript framework"