Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
QuickJS JavaScript Engine (bellard.org)
12 points by _gmkt 67 days ago | hide | past | favorite | 1 comment


Nice snug self-contained binary with no dependencies :D

  qjsc -e -o file.c file.js
  cc -static -L /usr/local/lib/quickjs -I /usr/local/include/quickjs -o filejs file.c -lquickjs -lm -lpthread
  errno ~/Downloads $: ldd filejs
  filejs:
        Start            End              Type  Open Ref GrpRef Name
        0000063faca58000 0000063facbaa000 dlib  1    0   0      /home/errno/Downloads/filejs




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: