Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/theanarkh/No.js

No.js:基于V8和io_uring的JS运行时,只支持Linux5.5及以上
https://github.com/theanarkh/No.js

Last synced: 9 days ago
JSON representation

No.js:基于V8和io_uring的JS运行时,只支持Linux5.5及以上

Lists

README

        

No.js:基于V8和io_uring的JS运行时,只支持Linux5.5及以上

一 使用
1 执行make编译
2 ./No your js file or 软链到系统路径:sudo ln -s /Users/name/code/tmp/demo/No.js/No /usr/local/bin/No
3 执行test目录下的例子

二 调试
1 选择代码打断点
2 修改launch.json的args配置为你执行的文件
3 点击vscode左侧的小虫子开始调试

三 core dump 排查
1 sudo su
2 echo "/core/%e.core.%p" > /proc/sys/kernel/core_pattern
3 exit && ulimit -c unlimited
4 gdb ./No coredump文件的路径

四 文章
[No.js---基于V8和io_uring的JS运行时](https://zhuanlan.zhihu.com/p/407085340)