Running V8 Javascript Engine Standalone

前端 未结 9 1880
悲&欢浪女
悲&欢浪女 2020-11-27 09:05

I want to run a Javascript console on top of V8. How do I do this?

9条回答
  •  死守一世寂寞
    2020-11-27 09:52

    If you're planning to embed V8, then by all means build it and play with "d8".

    If on the other hand, you do not plan to extend V8 or treat it as optional, then just use Node.JS. Don't bother with pure V8.

    Node.js has truly rich I/O, extensions, libraries (like Perl CPAN, Python Eggs, Ruby Gems), and community.

提交回复
热议问题