In the last video, we taught our compiler to output bytecode. In this video, we'll write a little Ruby to read that back in and decode it! About the Project: Natalie is a work-in-progress compiler for the Ruby programming language. I make videos about the work that goes into...
In the last video, we taught our compiler to output bytecode. In this video, we'll write a little Ruby to read that back in and decode it!
About the Project: Natalie is a work-in-progress compiler for the Ruby programming language. I make videos about the work that goes into the project and what I'm learning as I go.
GitHub: https://github.com/natalie-lang/natalie
Twitter: https://twitter.com/timmrgn
Discord: https://discord.gg/hnHp2tdQyn
YouTube: https://www.youtube.com/timmorgan
#programming #compiler #ruby #bytecode
Our little compiler has an intermediate representation - a set of instructions that power our C++ generation *and* our little toy VM. Wouldn't it be cool if we could serialize those instructions out to a file and read them back in again?? Let's create our own bytecode! About...
Our little compiler has an intermediate representation - a set of instructions that power our C++ generation *and* our little toy VM. Wouldn't it be cool if we could serialize those instructions out to a file and read them back in again?? Let's create our own bytecode!
About the Project: Natalie is a work-in-progress compiler for the Ruby programming language. I make videos about the work that goes into the project and what I'm learning as I go.
GitHub: https://github.com/natalie-lang/natalie
Twitter: https://twitter.com/timmrgn
Discord: https://discord.gg/hnHp2tdQyn
YouTube: https://www.youtube.com/timmorgan
#programming #compiler #ruby #bytecode
Natalie is our little Ruby compiler that keeps getting better! So many things have happened in the last few months and I wanted to get an update out about what's new and where we are. Thanks for watching! 0:00 Intro 0:52 Just for Fun 1:25 YARP/Prism Parser 6:33 Date class...
Natalie is our little Ruby compiler that keeps getting better! So many things have happened in the last few months and I wanted to get an update out about what's new and where we are. Thanks for watching!
0:00 Intro
0:52 Just for Fun
1:25 YARP/Prism Parser
6:33 Date class
7:10 Self-hosted
8:28 OpenSSL Stuff
9:00 publicsuffix-ruby
9:53 Are we Ruby yet?
10:30 Self-hosted binary
12:16 PrettyPrinter
13:39 Useless Hacktoberfest PRs
14:22 Misc Herwin PRs
15:02 38 Contributors
15:41 FUN!
GitHub: https://github.com/natalie-lang/natalie
Twitter: https://twitter.com/timmrgn
Discord: https://discord.gg/hnHp2tdQyn
YouTube: https://www.youtube.com/timmorgan
#programming #compiler #ruby
We're diving back into this months-old project to give it some new life... a JIT built with LLVM! Here's the repository we're working on: https://github.com/seven1m/mya 0:00 Intro 2:07 Setting up LLVM in Ruby 3:31 Integers 15:41 Strings and Segfault 37:38 Success #ruby...
We're diving back into this months-old project to give it some new life... a JIT built with LLVM!
Here's the repository we're working on: https://github.com/seven1m/mya
0:00 Intro
2:07 Setting up LLVM in Ruby
3:31 Integers
15:41 Strings and Segfault
37:38 Success
#ruby #compiler #jit #programming #llvm
In our quest to generate a Fibonacci sequence, we need IF/ELSE. Shouldn't be too hard right? (See thumbnail for confused face.) :-) #ruby #compiler #vm #programming #virtualmachine #booleans #if
In our quest to generate a Fibonacci sequence, we need IF/ELSE. Shouldn't be too hard right? (See thumbnail for confused face.) :-)
#ruby #compiler #vm #programming #virtualmachine #booleans #if
OK, moment of truth. We've been compiling for a made-up stack-based Virtual Machine, but will that even work? Let's make a little VM to see what happens! #ruby #compiler #vm #programming #virtualmachine
OK, moment of truth. We've been compiling for a made-up stack-based Virtual Machine, but will that even work? Let's make a little VM to see what happens!
#ruby #compiler #vm #programming #virtualmachine
Ahh, types. We need a way to track type information across the program. Let's use a dependency tree. I know the compiler nerds out there are screaming "unification algorithm" but I'm just plugging my ears, living in this fantasy world where things work the way I want them to!...
Ahh, types. We need a way to track type information across the program. Let's use a dependency tree. I know the compiler nerds out there are screaming "unification algorithm" but I'm just plugging my ears, living in this fantasy world where things work the way I want them to! :-)
#ruby #compiler #vm #programming #types
For the month of December, I wanted to experiment with some... stuff. I don't know exactly where this going; stay tuned for more to come! #ruby #compiler #vm #programming
For the month of December, I wanted to experiment with some... stuff. I don't know exactly where this going; stay tuned for more to come!
#ruby #compiler #vm #programming