https://github.com/tlrobinson/node-jslinux
https://github.com/tlrobinson/v8-typed-array
I included a little command line wrapper so you should be able to type:
1) npm install jslinux
2) jslinux
Or you can call boot() from the "jslinux" module:
$ node
> require("jslinux").boot()
[Node.js switching to raw mode. Hit Ctrl-C four times in a row to exit.]
{ base: '/usr/local/lib/node/.npm/jslinux/0.0.1/package/external/',
terminal:
{ handler: [Function: Jf],
...
boot: [Function] }
> Starting Linux
Linux version 2.6.20 (bellard@voyager) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)) #1 Wed May 18 23:22:20 CEST 2011
BIOS-provided physical RAM map:
...
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 124k freed
Welcome to JS/Linux
~ # echo hello node
hello node
~ #
Enjoy!
-tom
p.s. I'm still waiting for someone to get Node in jslinux working. We need to go deeper!
Yo dawg, I heard you like node, so we put a node in your node, so you
can run JavaScript while you run JavaScript? ;)
Thanks Tom! Please consider letting Fabrice know; I was in contact
with him a couple of days ago inquiring about non-minified sources.
He hasn't decided yet but perhaps if he sees active interest from
developers (like what you've done here) he may be more inclined to
open source his code.
Cheers,
--
Scott Elcomb
@psema4 on Twitter / Identi.ca
Atomic OS: Self Contained Microsystems
http://code.google.com/p/atomos/
Clerk of the Pirate Party of Canada
http://www.pirateparty.ca/
After a while, my pc starts to get slower.
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
I'm not thinking about that but maybe virtual hosting using virtual
node machines. The only problem is jslinux does not have networking
working properly yet (I think).
No, but a websocket-based device in /dev might do the trick. :-)
This was caused by a bug in the optimizing compiler.
If you are using V8 3.3.x consider upgrading to 3.3.8.1
If you are using V8 3.2.x consider upgrading to 3.2.10.10
V8 3.1.x should not be affected by the problem.
--
Vyacheslav Egorov
Very cool :-)
> --
> You received this message because you are subscribed to the Google Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
>
--
Laurie Harper
http://laurie.holoweb.net/
The author is currently learning JavaScript, so it might be a bit. In
the meantime the easiest way to try it out is probably to download a
copy of Firefox 4 <http://www.mozilla.com/en-US/firefox/all.html>
I had to do the same, but was worth it to see linux running
in-browser. (Of course now I'll just be using Tom's module - at least
until there's an update to JS/Linux.)
simulate the whole networking thing over one single websocket-connection.
Git repo:
https://github.com/ewiger/jsmodem
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
--
Linus G Thiel
Hansson & Larsson
http://hanssonlarsson.se/
+46 709 89 03 85
I look forward to trying this out - and it may help with a
proof-of-concept I'm working on. I also have partial networking in
place: basic ethernet devices and an emulated network. I expect to
have full networking (along with other useful improvements) sometime
next month.
I'm working on a project authorized by Mr Bellard (for research &
demonstration only) for a Toronto presentation I'm giving in October.
I'd be happy to bring jsmodem up next time I speak with him, though
it'll likely be several weeks before I do.