runtimejs / runtime

[not maintained] Lightweight JavaScript library operating system for the cloud
http://runtimejs.org
Apache License 2.0
1.93k stars 127 forks source link

NetBSD Hardware Drivers #89

Open kenOfYugen opened 8 years ago

kenOfYugen commented 8 years ago

Are the NetBSD kernel drivers a viable solution for real hardware?

Reading this makes me wonder: https://blog.netbsd.org/tnf/entry/kernel_drivers_compiled_to_javascript

piranna commented 8 years ago

The link doesn't work... :-/

kenOfYugen commented 8 years ago

Hm it's working for me.. what about the cached version? http://webcache.googleusercontent.com/search?q=cache:4yE02pUbc6oJ:https://blog.netbsd.org/tnf/entry/kernel_drivers_compiled_to_javascript+&cd=1&hl=en&ct=clnk

piranna commented 8 years ago

Sorry, it was the link on the email, the one here at GitHub is good. I've read the link but didn't found any actual code there...

kenOfYugen commented 8 years ago

It isn't very helpful by itself, but the actual JS code is given uncompressed.

If you're interested in comparing the generated javascript with the C sources [1], you can also look at the unoptimized version (14MB) [2].

[1] http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/ [2] http://ftp.netbsd.org/pub/NetBSD/misc/pooka/rump.js/rump.jsO0.txt

More information would be useful.

Another interesting post is here: https://blog.netbsd.org/tnf/entry/a_rump_kernel_hypervisor_for

It appears that Antti Kantee, the author, is on GitHub as anttikantee. He is the major contributor of the Rump Kernel project

iefserge commented 8 years ago

@kenOfYugen Interesting, would be pretty cool to make those work