►
Description
AssemblyScript compiles a variant of TypeScript (basically JavaScript with types) to WebAssembly using Binaryen. It generates lean WebAssembly modules while being just an npm install away.
Join @bdougie and @torch2424 in learning how to leverage AssemblyScript to integrate WebAssembly with the existing Web ecosystem.
Connect with us.
Facebook: http://fb.com/github
Twitter: http://twitter.com/github
LinkedIn: http://linkedin.com/company/github
About GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Millions of people use GitHub to build amazing things together. For more info, go to http://github.com
A
So
my
name
is
aaron.
I
go
by
torch2424
on
the
internet.
I
made
that
name
when
I
was
six
and
I've
just
always
kept
it.
That's
why
it
doesn't
make
any
sense,
but
what
I
do
in
open
source
mostly
is
work
on
a
project
called
assemblyscript.
It's
a
typescript
like
language.
So,
like
huge
emphasis
on
the
typescript
like
it
looks
and
feels
like
typescript,
but
what
it
does
it
compiles
the
webassembly,
which
is
a
new
binary
format
for
code.
A
You
can
run
in
the
browser
on
the
web
and
things
and
it's
going
all
types
of
interesting
places,
internet
of
things
and
like
server,
side,
applications
and
so
on
and
so
forth.
But
essentially
it's
a
portable
binary
format
and
I
could
ramble
on
about
so
many
things
already
and
I
probably
should
also
mention
I
work
at
fastly,
doing
working
on
the
webassembly
team,
just
kind
of
like
pushing
what
was
something
out
to
the
ecosystem
and
working
on
them.
This
new
serverless
product
thing
we're
working
on
so
yeah.
B
A
Yeah
totally
so
probably
the
biggest
use
case
is
just
to
boil
it
really
down.
Is
that
essentially,
it
depends
on
so
whether
something
can
do
a
lot
of
different
things.
That's
why
I'm
kind
of
like
hesitating
here
yeah,
so
it
depends
on
what
you're
coming
from.
So
I
like
to
explain
it
in
the
context
of
like,
let's
say,
you're,
a
friend
of
developer,
you
write
a
lot
of
javascript
on
the
web,
and
things
like
that.
A
Well,
webassembly
fits
in
for
you
is
that
a
javascript
is
interpreted
it's
kind
of
slow
because
you
have
to
run
it
in
a
just-in-time,
compiled
runtime
like
v8
and
it
needs
to
be
compiled
over
and
over,
and
essentially
it
makes
assumptions
about
your
code.
Those
assumptions
go
wrong.
Your
code
gets
really
slow
because
it
has
to
go
and
kind
of
like
relearn.
What's
going
on,
whereas
webassembly
it's
it's
a
bytecode,
so
it's
just
compiled
straight
down
to
like
machine
code
essentially
and
running
a
vm,
so
there
is
no
like.
A
Oh,
let
me
just
figure
out
what
this
web
assembly
is
doing.
It's
just
fast
from
the
beginning.
So
you
you
get
that
predictable
performance
and
that's
really
like
the
huge
point
here
is
predictable
performance
so
that
you
can
kind
of
like
you,
don't
have
to
it's
really
good
for
things
like
games,
because
we
need
that
predictable
performance.
We
can't
just
like
you
know,
be
doing
bullet
physics
and
all
of
a
sudden,
it's
like!
Oh
well,
sorry,
we
made
a
wrong
assumption
about
where
this
bullet
was
going.
Let's
just
slow
down
the
whole
game.
Sorry
is.
A
Oh,
that's
a
good
question,
I
know
so
I
actually
have
a
website
called
made
with
webassembly
that
I
help
maintain.
I
don't
know
yeah.
B
A
Yeah,
so
you
can
see
in
the
top
you
can
type
games
and
then
we
can
look
at
a
bunch
of
games
assembly
perfect.
So
so
I
don't
know
why
some
of
the
icons
broke
recently,
but
you
can
see
things
like
rinpai
web
weizenboy
is
a
project
of
mine
we'll
get
into
that
later:
unity
duh!
So
unity
is
a
super
popular
game
engine
and
they
have
a
web
export
and
it
used
to
export
this
thing
called
asm.js,
which
was
like
kind
of
a
precursor
to
webassembly
yeah.
A
It
would
do
things
like
force
since
javascript
is
dynamically
typed.
It
would
do
things
like,
oh,
let's
or
on
an
integer
there
to
like
force
v8
to
know.
Oh,
this
is
going
to
be
an
integer
because
it
just
has
to
be,
but
now
that
we
have
webassembly,
we
don't
have
to
make
these
assumptions
or
play
around
with
dynamic
types,
they're
all
statically
typed.
So
we
can
make
faster
assumptions
when
we
compile
that
compile
time.
So
you
need
to
pretty
much
there's
a
long
way
to
say
you
need
to
switch
from
amazon.js
to
webassembly.
A
Yeah
totally
so
using
this
website's
kind
of
complicated,
but
essentially
the
way
I
got
into
webassembly
is
that
I
think
it
went
stable
and
all
black,
I
guess,
committed
in
all
browsers
around
2018
and
then
like
right.
When
I
hit
all
browsers,
it's
like.
Oh,
no,
I'm
already
late,
this
technology's
proven
it's
in
all
browsers.
A
I
got
to
build
something
today,
so
I
was
still
a
senior
in
college
and
like
it
was
just
kind
of
funny,
because
I
had
this
like
weird
schedule
where
I
could
work
at
like
three
in
the
morning
and
like
not
have
to
go
to
for
class,
because
I
had
all
night
classes
anyways.
A
I
just
started
working
on
a
game
or
an
emulator
in
my
free
time
that
I
want
to
like
run
on
the
web,
and
then
I
end
up
working
out,
and
essentially
this
is
just
the
game
boy
emulator
that
I
built
about
yeah.
I
don't
you
work
on
it
as
much
just
because
I've
been
quite
busy
lately,
but
yeah.
If
you
go
to
just,
I
guess
just
show
it
off.
A
If
you
go
to
widgets
in
the
top
left
as
well-
and
let's
say:
let's
go
to
cpu,
for
example,
and
then
you
can
go
to
just
state
and
you
can
see
it,
you
can
move
around
the
tabs
and
stuff
if
you
anyways,
but
essentially
it'll
show
you
what's
going
on
in
like
in
the
cpu.
So
essentially
it's
an
emulator.
So
it's
really
emulating
what
the
chips
do
on
the
game,
boy,
how
the
electricity
runs
through
the
system
and
everything
and
you
can
see
how
it's
executing
through
the
program
counter
it's
very
low
level,
but.
A
B
That's
amazing,
yeah,
that's
pretty
awesome!
I
have
to
ask:
do
you
have
any
have
you
built
any
games
or
is
this
more
of
you
just
sort
of
testing
it
out.
A
So
I
built
a
demo
once
I
wanted
to
make
like
a
super
smash
brothers
type
game
for
game
boy,
and
I
had
it
all
planned
out
and
then
I
just
never
got
the
time.
I
got
to
the
level
point
where
I
could
jump
yeah
and
then
I
was
like
okay,
that's
too
much
work.
A
B
Why
I
work
on
the
web
instead,
yeah,
that's
pretty!
That's
pretty
legit
and
pretty
cool.
A
B
Cool
example
too,
as
well
and
like
the
shout
out
to
the
fact
that
this
is
open
source
folks
drop
in
the
drop
a
star
over.
There
show
some
some
love
on
some
wasn't
boy
for
sure.
Yeah.
A
So
I'm
that's
probably
the
the
most
like
flashy
demo,
I
have
of
webassembly.
That
being
said,
I
could
go
through
this
real
quick.
I
have
like
a
little
article
that
someone
wrote
okay,
I'll
switch
over.
B
A
Screen
cool
so
yeah.
This
is
a
let
me
zoom
in
boom
boom
cool.
So
this
is
an
article
by
marshall
nguyen,
essentially
a
lot
of
the
times
you
get
the
question
of
like
okay,
webassembly,
that's
cool,
you
have
an
emulator
going,
but
like
who's
using
it
in
production-
and
this
is
a
great
example,
I
think.
Essentially
they
work
on.
Am
I
my
creole
storytelling?
A
Essentially,
it's
like
a
you
know,
little
tool
where
you
can
like
do
visual
storytelling
and
things
on
the
web,
which
is
like
really
cool
and
it's
like
a
whole
little
storyboarding
thing,
but
essentially
they
have
a
story
about
how
they
used
to
only
use
javascript
in
the
browser
to
do
all
their
rendering
and
I'll
just
scroll
down
here
real
quick
to
show
like
the
flashy
stuff.
Essentially
they
pretty
much
took
a
lot
of
that
javascript
code
and
they
converted
it
to
the
assemblyscript
language.
A
I
was
talking
about
the
typescript
like
language,
and
they
got
some
really
cool
benefits
from
it,
and
let
me
see
if
I
can
find
the
numbers
I
don't
want
to
like
just
make
up
numbers,
because
then
I'd
feel
bad
after
it's
a
long
article.
So
if
you're
interested
in
webassembly,
this
is
like
especially
want
to
use
it
in
production.
A
They
had
rewritten
in
some
of
the
script
that
their
bundle
size
essentially
like
almost
cut
in
half
by
just
you
know,
instead
of
replacing
all
that
like
extra
javascript
code
with
the
webassembly
module,
which
is
really
cool,
they
did
a
bunch
of
other
benchmarks
here
and
you'll,
see
here
that,
like
they're,
using
way
less
cpu
cycles,
which
is
cool
because
now
you're,
for
example.
A
If
you
were
on
your
phone,
let's
say
if
your
application
was
mobile,
then
like
now
you're
just
using
way
less
battery
you're
using
a
lot
less
cpu
cycles,
it's
gonna
feel
more
snappy
and
smooth
and
all
in
all,
I
think
it's
just
really
cool
to
see
stuff
like
this,
because
I
don't
know
about
you,
but
when
I
was
first
learning
javascript.
I
eventually
hit
that
point
where
I
was
like.
A
You
would
expect
to
run
in
c
type
applications,
but
in
the
web,
which
is
really
cool,
and
I
guess
right
here-
yeah
65,
less
cpu
used
so
like
just
you
know
all
the
cpu
cycles
you
use
way
more
efficiently
and
they
got
way
a
lot
of
performance
benefits
out
of
it.
So
yeah.
A
B
A
Yeah,
definitely
let
me
I
think
this
is
probably
the
best
example
to
show
right
here.
A
So
essentially
what
I
tell
people
is
the
summer
script
is
what
I
mean
by
typescript
like
is
that
if
you
can
read
and
understand
typescript
and
write
typescript,
you
can
pretty
much
use
assembly
script
for
the
most
part,
the
difference
is
where
it
comes
in
is
because
again
we
have
the
static
typing
in
things.
Essentially,
what
assemblyscript
does
is
take
typescript
and
just
add
the
little
like
extra
flares
that
webassembly
needs
to
be
compiled
to
so,
for
example,
here
normally
you
would
write
like
okay.
This
parameter
right
here.
A
This
would
be
a
number,
but
because
webassembly
has
that
static
typing.
You
need
to
say
this
is
a
number
that's
an
integer
of
32
bits
and
that's
you
know
like
you,
have
to
be
more
specific
with
our
typing
and
when
you
do
that
to
your
typescript
using
assembly
script,
you
can
then
compile
the
webassembly
and
reap
those
benefits
that
webassembly
offers.
You
know
what
I
mean
so,
but
it
and
again
like
I
want
to
say
it's
so
typescript
like
because
a
lot
of
the
project
is
very
grassroots.
A
Like
I
started
off
with
just
the
author
that
wrote
it
and
then
I
started
building
the
wisem
boy
thing
and
then
I
started
helping
out
with
issues
and
things
and
eventually
compiling
or
I
do
a
few
contributions
compiler
here
and
there,
but
mostly
like
libraries
and
things
of
that
sort.
And
then
another
person
came
along
and
now
it's
grown
into,
like
a
really
large
community
choose.
A
A
Yeah,
but
essentially
what
I
did
is
I
took
my
emulator
and
again
I
mentioned
that
since
they're
so
similar,
we
can
use
the
same
source
code
for
the
emulator
and
compile
it
with
the
typescript
compiler
to
javascript
and
then
compile
it
with
the
assembly
compiler
to
webassembly
and
compare
the
two
and
then
I
have
a
bunch
of
graphs
here
and
stuff.
But
what
you'll
mostly
notice
is
that
essentially
you
get
about,
at
least
in
my
use
case.
A
A
Like
you
know,
low
end
device
usage,
you
start
to
see
like
a
way
biggest
way,
bigger
performance
delta
and
usually
that
I
guess,
like
you,
see
about
a
60
increase
in
performance,
so,
as
the
hardware
gets
slower
and
slower,
the
more
that
web
assembly,
I've
noticed
starts
to
help
out
in
these,
like
real
world
type
use
cases
when
you're
building
games
and
things
of
that
sort.
So
I
know
these
numbers
might
seem
a
lot
bigger.
I
forgot
these
numbers
are
big.
There
is
oh
yeah,
but
no
this.
This
is
true.
A
Then,
okay,
cool,
my
bad
2.59
times
as
fast.
There
was
a
bug
with
firefox,
and
that
was
really
cool
too
building
this
project
I
found
like,
I
think
I
found
a
bug
in
every
browser
and
like
their
web
assembly
implementation,
which
is
like
kind
of
funny
to
say,
yeah.
That's.
A
Yeah,
so
I
guess
another
really
popular
use
case
that
we're
seeing
a
lot
of
serverless
kind
of
you
know.
I
guess
I
almost
alluded
to
it
with
the
javascript
inside
the
web
assembly
thing,
but
this
idea
of
sandboxing
untrusted
code
is
essentially
what
serverless
does
at
scale.
A
You
know
on
a
server
somewhere
for
you
so
because
of
that
we're
starting
to
see
a
lot
of
like
companies
popping
up
with
like
serverless
solutions
that
are
really
powered
by
webassembly
because
of
their
security
benefits
such
as
like
their
capability-based
security
model,
where
webassembly
can
only
really
do
what
you
give
it
access
to
that
linear
memory.
Again,
that's
really
great
because
you
don't
want
people
escalating
out
touching
other
people's
memory.
A
If
your
runtime
supports
that
and
things
of
that
sort,
so
yeah
I
would
see
serverless
is
a
big
one
gaming.
I
think
another
good
use
case
I
could
think
of
on
top
of
my
head
is
figma,
which
is
a
popular
design
tool.
They
do
a
lot
of
their
rendering
and
web
assembly
interesting.
So
yeah
a
lot
of
like
I
guess,
browser
applications
and
maybe
one
last
thing,
just
I'm
rambling
so
hard
right
now,
I'm
sorry,
but
no.
A
Another
big
one,
I
think,
is
kind
of
the
idea
of
containerization.
I
don't
know
if
you
saw
the
tweet
from
solomon
hikes,
it's
kind
of
like
famous
or
infamous.
I
don't
know.
I
don't
know
how
to
use
that
word,
but
they
pretty
much
said
like
if
wasm
and
wazzy
wazzy's
the
webassembly
system
interface,
it's
kind
of
like
node
for
webassembly,
like
you,
can
access
file,
system
and
stuff,
it's
terrible
generalization.
A
What
was
some
of
the
security
benefits,
plus
that,
like
those
capabilities
that
you
would
provide
to
do,
what
docker
does
like
this
idea
of
containerization
of
like
code
and
things
of
that
sort,
so
we're
starting
to
see
a
lot
of
movement
in
that
space
and
open
source
projects
that
are
kind
of
like
hey
instead
of
like
you
know,
using
a
whole
container
with
all
the
os
primitives,
we
could
just
use
a
webassembly
runtime.
It
would
be
way
lighter
and
we
can
start
to
containerize
our
code
and
things
of
that
sort
using
webassembly.
B
A
Yeah
in
terms
of
like
high
level
road
map
goals
or
like
what's
next
on
our
road
map,
things
of
that
sort,
yeah.
B
I
mean
you'd
mention
so
assembly
script.
It's
not
it's
not
backed
by
anything
to
a
company.
It
has
an
open
collective,
so
you
guys
have
a
sort
of
core
team.
I
imagine
yeah
that
has
thoughts
and
ideas
so
like
who's
part
of
the
core
team,
who's
driving
the
road
map
and
like
what
are
the
things
that
we
should
be
looking
out
for
to
be
able
to
try.
A
Cool
so
yeah
we
do
have
a
core
team.
We
have
a
repo
called
core,
you
know
and
I'm
on
the
core
team,
but
we
have
a
list
of
people
so
right
now,
like
pretty
much,
we
have
a
you
know
we
have
a
core
team,
but
more
rather
than
like
you
know,
say
these
are
the
three
people
you
should
talk
to.
A
A
So
yeah
this
is
pretty
much.
The
core
team
here
like
daniel
is
the
author
max
is
like
daniel
and
max
are
pretty
much
like
the
co-partners
on
like
building
the
actual
compiler.
I
do
a
lot
of
like
outreach,
libraries,
buildings
and
stuff
joshua
tenor
wrote
an
amazing
just
like
testing
library
that,
like
anyone
using
a
summon
super
production,
pretty
much
uses.
So
that's
like
really
cool
and
a
bunch
of
other
folks.
Here
I
don't
want
to
name.
You
know
sit
here
for
like
10
minutes.
B
Good
to
know
too,
as
well-
and
I
don't
know
if
a
lot
of
other
projects
have
like
core
repo
yeah
but
yeah.
This
is
super
useful.
A
I
actually
took
notes
so
another
thing
about
me
is
I
used
to
work
on
the
amp
team
at
google
and
honestly,
I
learned
a
lot
from
just
working
on
like
a
larger,
open
source
project
from
google,
and
I
was
like
okay,
that's
so
they
have
a
similar
thing
where
they
have
a
core
repo,
and
I
was
like
that
was
a
good
idea.
Let
me
let
me
bring
this
over
to
some
of
the
scripts
yeah,
but
what's
going
to
say
about
this,
but
you
asked
about
our
roadmap
and
things.
A
So
personally,
I
think
we
all
honestly
have
different.
You
know,
goals
and
things,
but
I
think
the
big
one
we've
all
kind
of
like
agreed
upon
is
the
next
or
like
the
last
big
thing
that
we
need
for
the
compiler
is
closures.
So
the
idea
of
like
passing
functions
around
it's
kind
of
like
fundamental
to
like
how
an
advanced
javascript
developer,
writes
their
javascript
applications.
A
So
it's
one
like
our
last
big
sticking
point.
Is
that
we're
missing
that?
Because
you
know,
writing
compilers
is
hard,
but
I
think
that's
the
last
one
and
then
after
that
I
think
we
might
start
considering
things
like
1.
1.0
in
the
project
and
this
of
that
sort.
Another.
The
other
last
sticking
point
was
red
wreckage
regex,
but
that
was
written
by
colin.
They
built
an
assembly
for
projects,
library
which
isn't
like
fully
fleshed
out,
but
people
are
using
it
and
it's
working
for
them.
A
So
we're
like
alright
cool
like
check
that
one
off
the
box
I
mean
in
the
meantime,
but
yeah
does
that
answer
the
question:
yeah
the
enclosure's,
probably
like
the
biggest
thing
that
yeah
it's.
B
Good
to
know
and
yeah
that
was
going
to
catch
up
on
like
things
that
are
missing
too
as
well,
but
so
I'm
curious.
How
would
folks,
if
they're
interested
in
you
getting
started
with
webassembly,
maybe
want
to
build
a
project
like
what
would
your
recommendation
be?
Oh.
A
Yeah,
so
another
website
I
maintain
is
wasn't
by
example.
So
what
this
is
is
essentially
it's
like
a
very
hand-holdy.
I
don't
know
if
you're
familiar
with
go
by
example.
Yes,.
A
A
So,
for
example,
here
we're
talking
about
the
whole
concept
of
linear
memory
and
one
other
thing
I'll,
take
a
step
back
real,
quick,
there's
a
language.
So
you
can
choose
what
language
you're
comfortable
in
and
do
these
examples,
which
is
like
I'm
pretty
stoked
on,
and
then
we
also
try
to
do
some
translations.
I
think
we
only
have
rush
translated
to
portuguese,
but
someone
was
like
hey.
I
know
portuguese
they'll
translate
okay,
cool
yeah!
A
Thank
you,
but
we'll
do
a
summary
script
here,
just
because
I'm
on
the
chord
team
there
it's
easiest
for
me,
but
for
example,
here
you
know
we'll
say
like
let's
say
we
want
to
play
linear
memory.
This
is
all
using
pointers,
just
because
I
want
to
show
the
concept
of
like
here's,
how
you
pass
things
between
that
javascript
and
webassembly
boundary
in
the
browser,
so
yeah
pretty
much
it's
like
you
know.
I
have
a
bunch
of
commented
code
here
saying
this
is
what
this
does.
A
This
is
what
that's
doing
you
know,
let's
compile
using
the
compiler
and
things
of
that
sort,
so
on
and
so
forth.
You
know
words
about
webassembly
and
stuff,
so
I
would
definitely
go
through
here.
It's
been
funny
too,
because
it's
been
really
like
inception,
because
I've
been
doing
like
interviews
with
people
now
and
they're
like
oh
yeah,
I
learned
about
what
was
something
from
by
example,
and
I'm
like
what
I'm
like.
No,
I
don't
know
I
built
that
they're,
like
yeah.
We
know
you
built
that
like
no
way
oh
yeah.
A
Yeah
but
yeah
so
pretty
much.
This
will
show
you
how
to
like
get
started
web
assembly
in
the
browser.
Again,
you
know
there's
lots
of
folks
that
want
to
want
to
use
it
for
serverless
and
things
that
knowledge
still
transfers
over
and
it
does.
This
does
start
off
a
little
bit
more
low
level,
but
it
eventually
shows
how
to
do
like
more
of
the
high
level
stuff.
Because,
again
not
everyone
wants
to
use
pointers
for
like
their
for
their
stuff.
A
So,
like
there's,
hey
how
to
do
like
passing
high
level
types
and
stuff
and
classes
and
kind
of
the
introduction
of
that
wow
thing.
I
was
talking
about
that
kind
of
node
for
web
assembly
that,
like
kind
of
server
side
usage
how
to
get
started
there
so
yeah.
I
think
this
is
mostly
people
have
told
me
like
yeah.
I
like
started
here
and
like
now,
I'm
doing
web
assembly
professional
and
stuff.
I
mean
not
that
like
this
is
a
professional
guy,
but
you
know
this
is
a
starting
point.
I
verified.
A
I
have
proof
someone
learned
from
this
point,
yeah
so
yeah.
I
would
start
with
blazing
by
example,
or,
let's
say
you're
like
a
really
big
rust
fan.
Rust
has
amazing
web
assembly
documentation.
You
can
start
there
as
well.
If
you
want
to
start
from
that
perspective,
rather
than
like
the
front
end
browser
person
perspective
yeah,
so
yeah.
B
I
mean
this
is
great
too,
as
well,
because
you're
you're
giving
us
a
lot
of
context
and
a
lot
of
content
for
for
folks
to
sort
of
jump
in
and
get
started.
I'm
curious,
though,
about
the
adoption.
So
you
had
mentioned
the
bite
size
by
code
alliance,
yeah.
A
B
All
those
folks
on
the
list,
they're
all
notable
companies
that
we've
we've
heard
of,
but
I'm
curious
about
adoption.
Do
what?
What
do
you
see
where
on
the
trajectory
of
the
adoption
curve
when
it
comes
to
webassembly?
So
like
I
get
that
firefox
is
leveraging
in
fastly
and
cloudflare
and
all
these
other
companies
are
using
it
for
these
really
intense
use
cases.
But
when
you
think
webassembly
is
going
to
become
like
a
normal
thing,
that
people
will
pick
up
and
grab.
A
Yeah
so
another,
I'm
glad
you
mentioned
this,
so
I
think
it
depends.
If
I
could
crystal
ball
a
little
bit,
I
think
we're
going
to
see
a
lot
of
some
of
the
usage
first
in
the
serverless
space
yeah.
A
Type
things
so
one
thing
about
it.
Being
a
module
is
that
it's
really
easy
to
package
to
an
npm
module,
for
example.
So
you
can
go
ahead
and
upload
the
webassembly
to
like
npm,
for
example,
and
then
just
wrap
in
a
little
bit
of
javascript
shim
type
thing
and
use
it
in
the
background
so
like,
for
example,
unity,
for
example.
You
know
we
already
talked
about
is
using
web
sum
in
the
background,
there's
a
lot
of
like
js
game
engines
that
are
now
implementing
web
assembly.
A
In
the
background,
so
you
could
be
using
webassembly
and
not
even
know
it
at
some
point,
so
I
think
we'll
I
guess
maybe
the
end
goal
will
be
not.
You
know
the
industry
end
goal,
but
in
my
personal
opinion,
what
I
think
will
happen
is
that
webassembly
for
jobs
developers
will
probably
sit
more
in
the
background
and
like
some
of
the
folks
that
like
really
want
to
use
it,
but
I
would
like
to
like
my
personal
desire
for
the
world
would
be
cool.
A
Like
you
know,
we
all
start
learning
the
web
with
html
css,
sending
it
to
javascript,
and
then
once
you
know,
once
you
get
those
three
nailed
down,
then
I
think
webassembly
would
be
like
okay.
What's
the
last
key,
I
need
to
like
go
build
that
video
editor.
Now
that
I'm
like
feeling
really
comfortable
my
developer
skills.
B
Level
one
level
deeper
into
having
access,
but
also
performance
that
you
can
unlock
with
like
a
regular
javascript
runtime,
which
I
I
want
to
ask
like.
Are
there
web
assembly
runtimes,
like
you,
you
mentioned
in
passive
about
that
so
like
I
can
use
actually?
Are
there
any
examples
out
there.
A
Yeah,
so
probably
the
one
I
would
most
suggest
is
called
wasm
time.
It's
built,
you
know,
kind
of
like
sponsored
by
the
by
code
alliance,
and
things
are
sponsored.
The
right
word,
you
know,
buy
code
alliance
does
stuff.
B
A
It
so
yeah,
it's
a
you
know,
has
a
runtime
there
and
you
can
download
it
and
like
run
different
webassembly
modules,
but
what's
cool
about
wisem?
Time
too,
is
that
let's
say
again
we're
building
some
like
application,
maybe
like
a
web
browser,
maybe
like
a
video
game
itself,
and
we
want
to
provide
like
a
scripting
tool.
A
So,
for
example,
let
me
think
of
a
good
one
like,
for
example,
a
lot
of
smart
contract
folks
you're
using
things
like
wisem
time
to
go
ahead
and
execute
their
smart
contracts,
and
then
they
pretty
much
run
whatever
the
smart
contract
is
as
a
webassembly
module,
get
the
result
that
like
to
just
outputs
and
then
they
can
like
do
whatever
they
want
to
do
in
their
larger
application,
so
yeah
that
makes
sense.
I
know
it's
hard.
B
B
Yeah,
it
makes
sense
to
me
because,
like
the
example
I
have
in
the
example,
I
use
to
experiment
with
different
javascript
runtimes
is
the
tool
we're
using
right
now
to
stream
this
to
twitch?
It's
called
obs
and
obs.
A
B
A
it
uses
the
regular
browser
runtime
for
node,
which
is,
I
forget,
whatever
the
anyway
the
basic
one
v8
it
uses
that
and
I
can
interface
with
it
as
if
I'm
using
it
on
my
terminal
or,
if
I'm
using
it
in
chrome,
but
the
problem
with
that
is
I'm
shipping
this
up
and
shipping
at
this
point,
what's
the
numbers
3300
kilobits
per
second
for
the
stream,
so
that
way
our
faces
are
not
choppy
and
we're
not
dropping
frames,
but
would
be
really
nice
if
I
can
get
this
down
to
like
zero
percent
cpu
usage
and
still
have
the
animations
and
go
like
between
here
to
to
here
to
back
to
here,
yeah.
A
B
My
setup
is
pretty
simple,
but
it's
pretty
simple,
because
I
know
if
it
gets
more
intense,
I
could
drop
frames
so
with
that
being
said
like
I
would
love
to
see
like
an
obs
implementation
that
uses
like
waxy
time
or
all
these
other
brand
new
javascript
runtime.
So
that
way
I
can
ensure
me
streaming
through.
The
internet
is
as
fast
as
possible
and
perhaps
even
containerized
enough
that
I
I
don't
have
to
worry
about
again
dropping
frames.
A
Let's
see
if
that
like
gives
me
over
the
performance
hump
that
I
need
to
do
my
thing
so
yeah,
but
to
your
point
as
well
yeah,
this
webis
has
a
scripting
language
inside
of
it,
so
you
can
do
custom
like
plugins
and
things
right
now,
it's
in
javascript,
but
you
know
if
they
were
to
use
something
like
why
some
time
I
don't
want
to
like
just
be
like
we'll
be,
if
you
need
to
go,
do
this
live
on
twitch
like
we're
just
brainstorming
here
they
could.
B
Yeah
yeah
and
like
I
I
mentioned
that
example
a
lot
because
it
is
a
pain
point
for
me
when
I,
when
I
do
streaming,
I've
had
to
upgrade
my
computer
or
get
a
graphics
card
and
all
of
this
stuff,
because
I
need
to
make
sure
I
can
do
this,
but
it'd
be
great
if
I
get
this
stream
from
twitch
from
my
mac
laptop
without
the
extra
cables
and
wires
and
stuff
like
that,
is
needed
to
to
make
sure
nothing
goes
down,
live
on
air,
which
has
happened
on
occasion.
A
B
More
and
more
tools
and
folks
trying
to
get
you
know
a
lossless,
compression
and
stuff
like
that.
For
stream,
your
live
events
we
saw
hop
in
get
acquired,
or
you
know,
hop
in
acquired
stream
yard
streaming
being
a
tool
to
stream.
Like
that's
all
stuff,
that's
all
built
in
the
browser
and
like
using
webrtc
so
like
do.
A
B
A
Yeah,
so
exactly
another
thing
where
it's
just
like
webassembly,
I
think,
will
eventually
be
this
thing
that
just
kind
of
powers
the
web,
but
like.
No
one
really
knows
it
unless,
like
you're
in
the
scene,
so
as
it
grows,
it'll
become
more
apparent,
but
like
yeah
zoom
for
web
uses
webassembly
they,
if
I'm
not
mistaken,
they
have
enough
scripting
code
base
and
they
just
compiled
that
c
plus
plus
code
base
to
the
web
and
that's
how
they
do
all
their
like
decoding
stuff
or
something
like
that.
Yeah.
B
I
mean
I
think
people
are
googling
right
now
as
we
speak,
but
I
mean
that's
it's
mind-boggling
too,
as
well
and
as
you
explain
a
web
assembly
sort
of
doing
the
work
in
the
background
and
not
sort.
A
B
Trying
to
teach
you
how
to
write
some
sort
of
syntax
or
a
new
language
or
a
new
library
and
frameworks.
I
think
it's
something
that
also
introduced
me
to
rust
early
on
back
in,
like
again
around
the
time
I
learned
about
webassembly,
my
intro,
the
rust
was
when
I
was
writing
ruby
code
and
the
first
thing
I
ever
learned
how
to
build
was
create
a
ruby
gym
using
rust.
A
B
It's
like
with
ruby
a
lot
of
people
have
problems
with
ruby
and
like
the
maybe
it's
too
slow
or
doesn't
do
what
they
wanted
to
do
and
rust
was
a
way
to
build
a
ruby
gym
inside
like
build
and
rust
code
and
then
have
that
point
to
the
the
rubygems
file
in
the
libraries,
and
I
thought
that
was
like
mind-boggling
that
you
could
sort
of
inject
another
whole
another
language
inside
of
the
language
that
you're
normally
writing.
B
So
it
sounds
like
webassembly
could
do
something
very
similar,
especially
like
your
zooming
sample
being
able
to
have
like
webrtc
in
the
browser
and
actually
leverage
byte
code,
as
opposed
to
you
know,
javascript,
runtimes
and
stuff,
like
that,
so
absolutely
fascinating.
Yeah.
A
B
I'm
definitely
gonna
be
going
through
that
made
with
a
web
maple
blossom
example,
and
just
like
going
through
that.
I
think
it's
at
this
point.
A
couple
hundred
different
125
projects,
so
yeah
gonna
definitely
check
that
out.
A
I
think
that
I
think
we
did
a
pretty
good
round
of
the
round
of
the
rounds.
Yeah
yeah.
B
It
was,
it
was,
it
was
quite
a
tour
for
sure
yeah.
B
A
It
so
another
thing
is,
since
you
know,
there's
talks
and
things
I
assume
since
you're,
watching
a
twitch
stream.
You
probably
like
watching
talks
and
things
as
well.
There's
a
lot
of
great
youtube
content.
So
webassembly
summit
is
a
conference.
I
help
run
with
serma.
You
know
jefferel
from
google,
like
das
serma,
I
think
on
twitter,
but
there's
a
lot
of
great
content
here
as
well.
I
would
say,
like
there's
a
lot
of
great
speakers
here,
this
one's
like
from
brian
weber.
A
Another
great
use
case
is
so
they
work
at
wikimedia.
Essentially,
they
need
to
write
like
an
open
source
decoding
thing
and
they
couldn't
use
like
mp4
video
for
like
copyright
reasons,
so
they
ended
up
writing
their
own
decoder
and
webassembly
as
their
video
player,
and
it
worked
out
great
for
them
because
again,
like
javascript,
they
even
showed
some
examples
in
javascript
it
was
just
kind
of
too
slow
the
way
it
was
like
processing
the
frame.
A
So
so
it's
a
web
assembly
with
like
threads
and
things
it
was
just
like
boom,
just
a
good
video
player.
So
the
idea
here
would
be
like
future
poly
filling
using
web
assembly,
which
I
think
is
another
like
kind
of
unspoken
thing
on
the
browser:
you're
not
really
unspoken,
but
I
was
highlighted
yeah
and
another
great
channel
is
so.
This
is
funny.
Guy
google
thinks
this
google
earth
video
is
about
the
flat
earth
like
it's
just
a
funny.
A
I
don't
know
why,
but
webassembly
sf
is
a
another
great
resource,
that's
where
we
met
at
that
one
event,
but
they've
had
so
many
events.
Now
that
they've
recorded
all
the
talks
that
there's
some
really
good
use
cases
here.
A
B
Tolka,
I
guess
if
I
got
that
t-tolka
mentioned
web
components
is
actually
now
powered
by
webassembly.
Oh.
B
I
believe
that
web
components
it
does
specifically
the
google
project,
which
I
I
assume
that's
what
you're
you're,
referring
to
with
the
capital
semantics,
but
yeah
yeah,
so
good
shout
out
there
as
well
yeah.
It
seems
like.
A
B
Web
assembly
is
kind
of
sliding
in
a
lot
of
different
places,
where
we've
come
a
long
way
from
just
sort
of
having
lots
of
talks
and
presentations
on
how
cool
it
is
to
now,
it's
actually
being
implemented
in
quite
a
different,
a
few
different
places.
It
makes
me
want
to
pick
up
assembly
script
and
sort
of
kick
the
tires
a
bit
and
see
how
I
can
benefit
benefits
of
my
projects
using
some
some
webassembly
for
sure.
A
Yeah
definitely,
and
to
your
point
I
didn't
want
to
since
we're
just
here
chatting
if
obs
is
using
v8,
you
should
in
theory
be
able
to
load
webassembly
in
there.
What
you
could
do,
even
if
it
doesn't
allow
you
to
mold
multiple
files
and
you're
not
supposed
to
do
this,
but
you
can
technically
base64
encode
a
webassembly
module
decode
it
in
js,
real,
quick
and
then
try
to
kick
it
over
and
see.
A
B
B
The
thing
but
yeah
I
I
guess
I
should
probably
just
start
kicking
the
tires
and
open
up
a
pr.
If
I
can,
if
I
can.
B
Work
yeah.
B
Weekends
before
I
before
I
get
something
working
but
yeah
yeah
great
point,
and
I
would
love
to
have
honestly
if
there's
like
a
lighter
version
of
obs,
I
would
love
that.
So
I
think
streamyard
does
a
great
job
of
building
on
top
of
some
of
these
technologies
and
gives
me
a
lighter
version
of
it.
I'd
love
to
have
that
but
open
source.