►
From YouTube: What's new in F# 4.5
Description
F# 4.5 has been developed entirely via open RFCs (requests for comments), with significant contributions from the community. This release brings together a collection of new features, fixes, and performance enhancements that will surely improve your F# applications.
In this episode, Phillip Carter (@_cartermp) returns to talk to us about many of the new additions in F# 4.5. He also gives us some insight into the RFC process and some of the other decisions that went into creating this release.
[00:43] - Going from F# 4.1 to 4.5
[03:49] - Getting the F# 4.5 bits
[06:20] - New features demo
[25:20] - Making contributions to F#
[29:30] - Compiler relaxations
A
B
A
B
B
B
B
B
A
B
A
A
B
B
B
This
will
give
you
f#
4.5
inside
of
it.,
so
basically,.
If
you
install
.net
core,,
you
already
have
f#
actually,,
but
if
you
don't
have
.net
core
for
some
reason,,
this
is
definitely
the
easiest
way
to
get
started,
because
this
will
work.
Obviously
across
platform,
it
works
inside
of
visual
studio,.
It
works
in
vs
for
mac,
vs
code,,
basically
anywhere
you
want.,
so
not
only
too
do
I
get.
B
B
well,.
They
have
their
own
templates,,
and
so
you
can
actually
use
the
.net
cli
to
just
do.
.Net
new,
well,,
there's
like
a
way
to
install
templates
from
a
nuget
package,,
and
so
you
can
just
have
that..
So
there's
also
a
lot
of
community
stuff
out
there
that
you
can
get
by
using
different
libraries.
B
B
B
B
B
A
A
B
B
There
are
a
lot
of
scenarios
where
you've
got
to
do
that
anyway..
So
it's
not
something
that
you
should
necessarily
avoid
at
all
costs,,
but
there
are
a
lot
of
people
who
are
saying,
"yeah,,
but
I
just
want
to
not
allocate
a
ton
and
a
ton
of
strings
by
doing
like
really
basic
programming,",
and
so
we
sort
of
said,
"okay..
B
B
B
B
B
B
B
B
So
in
this
case,
I've
defined
a
value
called
num,,
which
is
initially
a
value
12..
This
is
an
immutable
value..
I
can't
change
this
without
the
code
compiling.,
but
I
can
still
actually
pass
a
reference
to
that,
like
a
pointer
to
that
value
to
the
print
function,
because
print,,
it's
just
a
read,
only
thing.
B
B
B
B
B
B
B
B
B
A
B
B
B
B
B
B
B
B
B
B
B
B
B
A
A
B
B
This
thing
now
needs
to
have
a
really
high
load
coming
into
it,"
and
then
all
of
a
sudden,
all
those
allocations,.
They
really
start
to
really
hit
you
over
long
spans
of
time,
because,.
I
mean,
honestly.
The
difference
for
a
single
run
between
four
seconds
versus
1.5
seconds
is
not
like
that
big
of
a
deal,.
B
But
that
memory
allocation
is
huge
because
if
this
thing
is
running
for
like
hours
at
a
time
or
basically
just
running
perpetually,
well,
each
time,
you're
sort
of
saying,
"oh,,
I'm
allocating
a
gig.,
I'm
allocating
a
gig.,
allocating
a
gig,"
and
then
the
gc
eventually
has
to
come
in
and
clean
stuff.
Up,.
B
B
B
B
B
B
B
B
B
B
B
B
B
A
valuesome
if
I
got
it,,
otherwise
I
produce
a
valuenone.,
so
this
is
just
okay.
match
on
the
value.,
pretty
straight-forward.,
most
f
sharp
programmers
know
how
to
do
this.
All
over
the
place..
It's
usually
one
of
the
first
things
you
learn
how
to
do
when
you're
learning,
f,
sharp
in
the
first
place.