Show HN: Native apps for the browser
arc.io
arc.io
Sure, if this gets popular like Flash once got popular then it might work (and it might be the best thing since sliced bread, really), but as long as it doesn't, how is this different from just packaging ffmpeg into a plugin and having users install that? (to take the "Why" link's example case)
Arc is a daemon that runs on your system, like DropBox. Browsers can use arc.js and instruct Arc to run native code in lightweight Linux virtual machines.
Arc is a stronger approach than maintaining browser plugins. Arc apps, like web apps, are up-to-date every time they're opened. They also have full access to their Linux virtual machine and can use Linux programs as-is. Browser plugins can't provide that.
It really doesn't seem like a bad idea, though, so long as the sandboxing is done safely and securely.
And great suggestion; it could certainly be made clearer. Thank you.
1. Different virtualization/container engine: Different platforms have different good stuff. I would use LXC/docker for Linux since it's super lightweight, and disposable. Even NaCl should be an option.
2. Standardizing would also help defining how resources should be allocated/re-used on local machines.
3. People who make web apps gets to use a single standard instead of tracking different technologies. (Think about Java Applet vs Flash vs Silverlight) Any site should be able to access it through a port on localhost. It's THE port, using THE protocol. And that's it; it should work on all hosts that have the service installed.
4. It brings a chance to have it accepted by major browsers makes as a core service, which makes it easier for wide adoption.
Well, ok, it has advanced some it appears and has significantly more/better documentation than it did.. but I'm still waiting for it to work on my Linux box :(
I agree with points that there is a distribution challenge, but I think if Arc can get small enough, it'll be like SilverLight or Flash. This could make a huge difference for in-browser games that don't want to mess with asm.js.
I don't know if it is just in "maintenance mode", but it seems still alive.
So there's never going to be support for this to be able to run on a Chromebook.
Now the con's: With great possibilities come great responsibilities. Where do you want to start to avoid having a super-amount of unsecure boxes? Package a ready-to-use program into the box with a "just one click in your browser to start"-button, having users who run code they never look at, from people they never saw (but for some weird reasons trust), in boxes they just one-click-download-and-run? Or did I just got something wrong?
I think this is a valid resubmission. Also, he submitted it before and got burnt down. Apparently (if you see the set of comments here right now), people's moods are better today.
- arc.io with documentation, demos, and examples in Python, C, Ruby, and Node.js.
- Support for other developers to build and ship Arc apps.
- Installer is 60MB, down from 140MB.
- Updated to the latest VirtualBox v4.2.18.
- Bug fixes, security fixes, and performance improvements.
49 days ago Arc was ready for a blog post. Now it's ready for laps
around the track.For size, Arc's installer will continue to shrink (it's down to 60MB from 140MB). A custom built VirtualBox should be quite small. However, VirtualBox does require admin to install while qemu does not.
In the future, Arc will be agnostic and support multiple hypervisors. One could use qemu, VirtualBox, HyperV on Windows, kvm on Linux, etc.
But also has the potential to turn into another "Please download and install Adobe Flash player and refresh the page in order to view this content" thing.
It would be brilliant if browsers supported this natively (but then, I doubt IE ever would).
Dear Grun - Go you!
As for documented, good timing :) Just today the first bits of the preview documentation were released: https://developers.google.com/native-client/pnacl-preview/
$ open /Applications/Arc.app
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Arc.app.Kidding. Arc is registered with launchd, Apple's daemon manager.
To halt Arc, unload it from launchd with
launchctl unload ~/Library/LaunchAgents/com.arc.arcd.plistWould it be possible to run those virtual machines there as well?
In the future, Arc will be agnostic and support multiple hypervisors. One could use LXC on Linux, HyperV on Windows, VirtualBox, etc.
Kudos
Nonononononononononononononononononononononononoo. No. No thanks. Nuh-uh.
cool story bro. probably some cool hacks in here but no one is going to use this.