C++ Tutorial - Write Your Own Javascript Runtime Software (Like Node js)

preview_player
Показать описание
You should use Linux to follow this tutorial.

In this tutorial you will learn how to program a simple Javascript runtime environment application that works by the same principles as for example Node js does. We will use a framework called Lemon which i recently wrote to create the program. I do not go in depth about how everything works because the video would become to long, but this should be enough to get you started.

Chrome V8 engine docs:

Lemon currently has build support for Linux only. If you want to create a makefile for Lemon on windows i think you can probably do that.

I had to record this on Linux for the first time so the video quality might not be perfect.
Рекомендации по теме
Комментарии
Автор

Great library! I'm planning to integrate it with a graphics library so I can use JavaScript for the more complicated stuff and C++ for the more memory-intense stuff.

smvnt
Автор

Lemon Framework is great. LIghtweight and easy to install.
You said it is possible C++ to call JS.
Please provide an example on how to do this. Thanks.

balanagendrabetha
Автор

13:42 - Helpers class is removed, instead use

FullstackDevelopment
Автор

is it hard to work directly with V8 than using libraries like Lemon?

mystwalker
Автор

how to share it.. like a dll can control the main exe v8 .. exe so fat xD wanted to make plugin base

backupmemories
Автор

I think it's about how to write your own js vm)

miroslavbelov