TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Node.js for Android committed on github

3 pointsby ldesegurover 13 years ago
Yesterday, I posted my initial port of Node.js for Android on github (https://github.com/ldesegur/nodejs-android). This is a very early work, as my main job has kept me away from making more progress. However, results are showing some promises. I am sharing this code so other people are able to help.<p>So far, v8 and libev seem to work. libeio needs some more work on the I/O side. I’ve wrapped all the missing bionic kernel calls, so they are emulated correctly on the thwarted libc available on Android. They appear with ANDROID defines. Maybe node.js main could take those back into their repo? I have yet to modify the makefiles, conforming to ndk-buiid, to generate JS2CC files, so for now, the translated js to native are committed in the repo<p>Running basic eval commands with node.js returns results in the log files. I believe that Node.js can be used client side too. It offers a very simple way to write JavaScript code in multiple modules with export and require declarations. The V8 bridge is simple and will allow other libraries to be developed as local and remote modules. My goal, as I move forward with this project, is to offer all functionalities that a modern browser DOM would supply (including webgl), to the client JavaScript executables.

no comments

no comments