23. High Performance in Dynamic Languages

  Рет қаралды 16,061

MIT OpenCourseWare

MIT OpenCourseWare

Күн бұрын

Пікірлер: 17
@valeriuok
@valeriuok 3 жыл бұрын
Pat yourself on the back if you went through the whole course. Great stuff!
@DrewryPope
@DrewryPope 2 жыл бұрын
this was amazing thank you i went out and bought a book on julia right after this, amazing
@leixun
@leixun 3 жыл бұрын
*My takeaways:* 1. Julia 3:51 2. Why Julia can be fast 10:16
@skyrim7183
@skyrim7183 2 жыл бұрын
🤣
@academicalisthenics
@academicalisthenics 3 жыл бұрын
Very insightful, great lecture!
@ВадимН-о9х
@ВадимН-о9х 2 жыл бұрын
it's actually not that insightful if you have been programming in dynamic languages, cause if you did, you would intuitively know pretty much everything from this lecture, like i did, cause at my day job i use PHP and JS
@luisepinos
@luisepinos Жыл бұрын
Insightful and useful content. Congrats!
@nikolayzapryanoff1032
@nikolayzapryanoff1032 2 жыл бұрын
Amazing lecture!
@JustHereForDaContest
@JustHereForDaContest 3 жыл бұрын
Holy crap jupyter is cool!
@zsoltbr
@zsoltbr 3 жыл бұрын
I would have never thought computer programming is that a physical activity: he's clearly out of breath at the end of the lecture. :)
@chuanqisun
@chuanqisun 2 жыл бұрын
The professor squeezed out yet another 1.4x improvement by overclocking his brain.
@PhuongNguyen-gq8yq
@PhuongNguyen-gq8yq 10 ай бұрын
Well 49:31 multiple dispatch is just cheating
@MrSmeeds
@MrSmeeds 2 жыл бұрын
At 1:15:30 - "there's a small core [of Julia] that's implemented in C for bootstrapping". Would it be possible to implement the whole language in julia?
@8292-d6n
@8292-d6n 2 жыл бұрын
nope, there always has to be 1 little thing that knows how to initiate this bootstrapping mechanic. However you could write a small compiler in C that compiles Julia Core to Assembly, let's call that C1 and then write a full Julia compiler in Julia which we can call C2. Now you can compile C2 with C1 and get the binary for a full Julia compiler. Now you can throw away C1 and only use C2 which is entirely written in Julia and compiles Julia code but you have to keep the binary so you moved the C portion of the compiler to a binary file.
@green6578
@green6578 2 жыл бұрын
As the guy with the number-as-a-name said, you ALWAYS need something to implement the bootstrap compiler initially. You don't have to do it in in C; if you want to be a maximum completionist you can do it in machine code, if you want to be a little lazier you can do it in assembly, if you want to be practical it is always done in C. This is because C is fast and the most portable language to ever exist (C can be compiled for basically any architecture). As the lecturer said, they already convert to LLVM to do machine-level code generation, so even if all of their code was in Julia they'd still be dependent on tons of C and C++.
13. The Cilk Runtime System
1:21:47
MIT OpenCourseWare
Рет қаралды 10 М.
21. Tuning a TSP Algorithm
1:20:53
MIT OpenCourseWare
Рет қаралды 10 М.
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 8 МЛН
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 91 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 52 МЛН
18. Domain Specific Languages and Autotuning
1:11:22
MIT OpenCourseWare
Рет қаралды 10 М.
1. Introduction and Matrix Multiplication
1:00:21
MIT OpenCourseWare
Рет қаралды 198 М.
Computer Science - Brian Kernighan on successful language design
1:00:06
University of Nottingham
Рет қаралды 309 М.
Birth of BASIC
38:13
Dartmouth
Рет қаралды 1,2 МЛН
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
15. Cache-Oblivious Algorithms
1:21:47
MIT OpenCourseWare
Рет қаралды 10 М.
10. Measurement and Timing
1:21:28
MIT OpenCourseWare
Рет қаралды 18 М.
8. Analysis of Multithreaded Algorithms
1:17:34
MIT OpenCourseWare
Рет қаралды 27 М.
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 8 МЛН