Live data from Hacker News

Qt for WebAssembly Technology Preview

blog.qt.io

11–20 of 196 posts

Re: Qt for WebAssembly Technology Preview

#11
post #8

"Because you can doesn't mean you should." -common sense. But then again, since 2017, anything that can happen will.

On the one hand, I find it funny that people are using bloated electron to avoid writing Qt code, and now you can write Qt code even on the web!

On the other hand, if you already do have a Qt application, then you can maybe get a webapp for almost free?

Re: Qt for WebAssembly Technology Preview

#12
post #8

"Because you can doesn't mean you should." -common sense. But then again, since 2017, anything that can happen will.

On the one hand, I find it funny that people are using bloated electron to avoid writing Qt code, and now you can write Qt code even on the web! On the other hand, if you already do have a Qt application, then you can maybe get a webapp for almost free?

See, this is what I get for procrastinating.

I've been asked by a customer to port my recent Qt app to iOS. Got the equipment, was about to get the development environment set up, got XCode installed....and now this.

This is pretty exciting if it all works as expected.

EDIT: aaaaaaand after trying some of the demos at https://github.com/msorvig/qt-webassembly-examples using a brand new iPad (iOS11/A10 Fusion core) using Safari, half the examples run out of memory, and the other half aren't touch enabled. Hmm.

EDIT2: Firefox iOS, same set of crashes.

Re: Qt for WebAssembly Technology Preview

#14
post #9

How long until someone uses this to make an Electron app?

Once we compile Chromium to webassembly, we can run Qt in Chromium in Chromium in Slack!

See also https://www.destroyallsoftware.com/talks/the-birth-and-death...

You jest, but this sort of thing probably is the death of almost all native software, sadly.

Re: Qt for WebAssembly Technology Preview

#15
This reminds me of a time, when I used to work for a very large company. After an unfortunate amount of meetings and powerpoint presentations about ubiquity and compatibility, we ended up putting a Flash VM inside a Java client, to read HTML.

Oh boy, sometimes you just walk away from a crash, but you're never the same.

Re: Qt for WebAssembly Technology Preview

#16
Say what you will, we need these kind of projects in order to push forward WebAssembly (and eventually JavaScript may not be the only dominant language for front-end web development). I'm curious how much of the canvas they're taking advantage of if any of it. It's quite exciting. I might wind up porting one of my existing Qt applications just to try this out and see what that would be like.

Re: Qt for WebAssembly Technology Preview

#18
post #14
post #9

Earlier quoted context omitted.

Once we compile Chromium to webassembly, we can run Qt in Chromium in Chromium in Slack!

See also https://www.destroyallsoftware.com/talks/the-birth-and-death... You jest, but this sort of thing probably is the death of almost all native software, sadly.

There are some things we mourn. Nobody mourns cross platform distribution of native apps. Anyone who does hasn’t had to manage the insanity of installer apps and of papering over a million different OS versions and app versions.

It’s 2018 and we still don’t have a common, wide spread, OSS framework for self-updating native apps that runs on all the major desktop operating systems. And let’s not even go into app store territory...

Re: Qt for WebAssembly Technology Preview

#19
post #15

This reminds me of a time, when I used to work for a very large company. After an unfortunate amount of meetings and powerpoint presentations about ubiquity and compatibility, we ended up putting a Flash VM inside a Java client, to read HTML. Oh boy, sometimes you just walk away from a crash, but you're never the same.

Right in the feels bro...
Post reply on HN