|
Quote: I feel like I am missing something not knowing enough on how C and Assembler works that we can't just compile to those languages and ship?
Correct. However you neeed the various compiling tools and, above all, you have to recompile for all the different platforms every time.
|
|
|
|
|
maze3 wrote: "It will run anywhere" that some runtime has been written for it just as java runtime is required writing for the platform that you want to run it on. It's unavoidable. Computers only run machine code, which is inherently non-portable. If you make a translation layer, well then that still only works on platforms that have had that ported to them. C is nowhere closer to a solution, and assembly is non-portable.
There is no solution of the kind that you want.
|
|
|
|
|
I hate to break it to you, but you're getting old. The obvious sign is that you look at the latest shiny thing and think "yeah, we already tried that".
However, in this case WebAssembly is a little different from Java in that, at the time, hardware and systems weren't up to the task. For Java to work everywhere you had to ensure all your users had the correct version of Java installed. Even if you got over that, Java itself was slow, a memory hog, and the UI was always so clunky and dated. It was a terrible user experience for everyone.
Fast forward and we're in a world where the vast majority of users have browsers that auto-update, so versioning is not as big a deal. Bandwidth is a little better than 20 years ago, as is CPU power, so downloads and execution time are not the issues they were.
We're also in a world where we already consume many of our apps online, whereas 20 years ago it was a bit of an ask to assume people would be happy and able to download Java apps and run them on thin clients (I remember sitting in on a very painful demo in 1996).
Basically: instead of trying to convince everyone to move in the direction of the solution Sun was providing (a solution to a problem people didn't think they had), we're now looking for solutions to problems we know very well that we have: We're executing applications on thin clients served from remote mainframes and everything is in place, the market is here, it's part of our daily life, and it's all based on JavaScript. Because JavaScript was the only language everyone hated the least and managed to keep its head down long enough to survive. But it's slow. Not as slow as Java was, but to get to the next step we need something better than a scripting engine to run our apps.
Hence WebAssembly.
I hope it works. I truly do. I never, ever want to know how to code in raw WebAssembly - that's what compilers are for - but I want to know I can code in whatever language I want to and it will be compiled into a language that will run as fast as possible on every device my users will be using.
cheers
Chris Maunder
|
|
|
|
|
TLDR; WebAssembly is a universal "machine language" that runs within modern browsers that act as the CPUs that will run that universal "machine language".
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
maze3 wrote: Java is supposed to be this language where you can deploy anywhere, except it's you still need to compile for a platform and ship the bytecode file. (please feel free to correct any ignorance) The gist is there, but you only need to compile once, and not for a specific platform since the JVM acts as the buffer between the bytecode and the hardware.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
So long as you have the right version of Java installed on the target machine.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
In the browser realm, I see the main difference being that Java was installed to the OS, and was a plugin for the browser; as opposed to Web Assembly as being a part of the browser and installed with it.
Then there is the licensing and such not
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
Think of WebAssembly as a universal machine language and our modern browsers as the compatible CPUs that will run that universal machine language.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Cricket produces mild irritations (8)
|
|
|
|
|
BUGBEARS?
Cricket BUG
produces BEARS
mild irritations
I'm not sure about it though.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
FleaBites?
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
|
Chirping
I can't justify the answer other than it's a mildly irritating sound that crickets produce.
|
|
|
|
|
Cheaters
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Hi All,
Win 10 has done something odd, I use two monitors on my Work desktop it booted on Monday and was treating monitor 2 as 1 and 1 as 2. So open Device Mangler and set them back the correct the order and set them. However the icons at the right are still on screen two. The boot this am the right screen was still favoured. Windows for things open on the right still. Any ideas...
|
|
|
|
|
Did you do the "make this my main display" option thingy?
|
|
|
|
|
Success, Why did I not remember that!
|
|
|
|
|
It doesn't help that you have to scroll down a bit to see it/remember it exists!
|
|
|
|
|
glennPattonWork wrote: Win 10 has done something odd Just ONE thing???
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
I've had the same "problem", but I really haven't cared enough about it to investigate it...
Win 10 constantly messes with my display settings, or maybe it's a problem with the Dell driver, I don't know...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
I've got three, and Windows only messed them up a couple of times, when it did upgrades, I think - it was a while ago for the last time, so I can't remember exactly.
I use NVidia drivers, though - and those have messed up my displays with upgrades a lot more often than Win10!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I think my drivers are Nvidia as well. I suspect that a lot of the problems with my current Dell are due to those drivers...
Strange how big a difference there can be between computers of the same make. My previous Dell worked like clockwork and I never had ANY problems with it. When the memory and harddrive started to get a little insufficient for my work, I got a new Dell, 3 times as expensive as the old, and I've had nothing but trouble with it. The screen freezes all the time, and I get BSOD at least once or twice a week. Furthermore, when it freezes, it's completely impossible to restart as there is no reset button. So I have to unplug it and wait till the battery runs out. There's a half days work gone right there...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
I'd send it back - I've never had a BSOD with Win10 on desktop, WookieTab, or Surface: I lose the mouse pointer in Chrome on the Surface occasionally, but a quick restart of Chrome fixes that.
The WookieTab is freeze, once - but that was terminal so it probably doesn't count.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Yeah, well. I suspect they'd insist that I try reinstalling the works first, and I really don't want to spend 3 days on that, so I'm just trying to hold out until it's time for a new computer again...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|