Announcement
Collapse
No announcement yet.
Open-Source HTML5 Terminal Emulator To Support X11
Collapse
X
-
Why not just eliminate the middle man and all the bloat like the web browser and then proxy code, and instead use real native apps with decent performance?
-
@sarmad:
you write"use asm";
Leave a comment:
-
Originally posted by dstaubsauger View Posthow does this use ssh (mentioned in the article)? Is there some new Javascript API that allows websites to do raw TCP/IP? Also, which browsers does it work on?
It works in IE10+, Chrome/Chromium, Firefox, Safari (if you don't use a self-signed certificate), and Opera. Probably others too. The only major requirement is that the browser support WebSockets and Web Workers (never seen a browser that supported one but not the other).
Leave a comment:
-
Originally posted by devius View PostSo, in theory can I install it on a server, point a DNS to it, and use it to have a terminal I can always use whatever the device I'm on?
Does it have access to the local file system? Or just SSH?
I'd also like to point out that if you just want to access the server remotely you can configure Gate One to run 'setsid /sbin/login' instead of or in addition to the 'ssh_connect.py' command. That will be pretty much exactly like logging into the server's console. In fact, it will work even if you stop sshd.
Leave a comment:
-
how does this use ssh (mentioned in the article)? Is there some new Javascript API that allows websites to do raw TCP/IP? Also, which browsers does it work on?
Leave a comment:
-
Originally posted by Pajn View PostAsm.JS is a subset of Javascript and is effectively Javascript compatible binary code.
Asm.JS is produced by compiling C/C++ to Javascript and doesn't contain
dynamic objects, duck typing, garage collection or anything like that. It doesn't
even contain strings!
So normal apps that doesn't require performance can be run in pure Javascript
(many programs is written in Python and works good, Javascript is faster in todays
browsers).
And apps that require performance can be compiled to Asm.JS and receive near native
performance (for browsers that support it, browsers that don't will run it as Javascript
so it'll work but slower).
Leave a comment:
-
So, in theory can I install it on a server, point a DNS to it, and use it to have a terminal I can always use whatever the device I'm on?
Does it have access to the local file system? Or just SSH?
Leave a comment:
-
Originally posted by sarmad View PostNope, not true and never going to be true. Yes, it's going to be near native performance of apps that are written in a dynamic way (dynamic objects, duck typing, garbage collection, etc) but that's different from writing your app in C++ with static objects and high performance memory management.
Asm.JS is produced by compiling C/C++ to Javascript and doesn't contain
dynamic objects, duck typing, garage collection or anything like that. It doesn't
even contain strings!
So normal apps that doesn't require performance can be run in pure Javascript
(many programs is written in Python and works good, Javascript is faster in todays
browsers).
And apps that require performance can be compiled to Asm.JS and receive near native
performance (for browsers that support it, browsers that don't will run it as Javascript
so it'll work but slower).
Leave a comment:
Leave a comment: