Let’s build a JavaScript Engine in Rust by Jason Williams | JSConf EU 2019

preview_player
Показать описание
Have you wondered how JS engines work? This past year I built an engine from scratch in Rust. It was fun, weird, exciting and sometimes exhausting. I will share my experience as well as what it is like to work on the specification, collaborate with TC39, and lessons from engines in use today.

Рекомендации по теме
Комментарии
Автор

if your name is json you have to write a js engine

ZapOKill
Автор

Q: So what do you do for a living?
A: coding
Q: So what do you after work?
A: coding

Yetipfote
Автор

Finally, a way to run JS in the browser! /s


Seriously though, this was really amazing to see, I'm learning Rust now and the possibilities like this fuel me.

Mephistel
Автор

This was a very good presentation; very good display of Rust's capabilities!

qcpresto
Автор

I would love to have a runtime/engine that runs Typescript natively

LNTutorialsNL
Автор

Functions declared in the outside scope with the function keyword are generally parsed/compiled immediately, not only once they are run.

thekwoka
Автор

Bro, are you amazing) I have making js runtime, but on c++) I was started it just like hobby. Rust is exotic thing for me)

Tunec_s_hlebom
Автор

I hope Rust takes over the world (no pun intended) so that memory management and the vulnerabilities that often result from it, are a thing of the past.

alekseysoldatenkov
Автор

That's so exciting! Thanks for this talk!

impssngr
Автор

When you started the talk I started thinking about that final demo. And you made it. Is it an updatable JS engine? Future is beautiful.

RY-gjyb
Автор

super interesting presentation, thank you!

qazyhn
Автор

aw Super coool, great presentation !!

philippejean
Автор

I love JS and Python 3! And im a IT Professional....

Software Engineer Soon!

lagimmediafiles
Автор

What would be the difference in using the Gc that you have vs just a Rc from std? Is there a real benefit?

thekwoka
Автор

What is the name of the theme of his vscode dough. Is beautiful hahaha

sagojez
Автор

I’m that one weirdo that actually wonders how this stuff is built. I may build my own engine actually. But, I’ll make it run on TypeScript instead. Maybe I can make it so we can run TypeScript on the browser without transpiring to JS. Lol. Idk. All I know is I wanna build my own engine and/or my own language.

Viviko
Автор

So if you're a rust programmer, you can no longer get away with saying you're rusty.

bobweiram
Автор

can anybody confirm ?
he just translated that js code into rust code ?
thats it ?

artahir
Автор

why stop there, thinking of building an interpreter(engine) for python, scala, f#, sql

googlr
Автор

can't find this guy on twitter what the heck

ZachBradyisBrachZady
welcome to shbcf.ru