Тёмный

Zig Compiler Internals - Andrew Kelley 

Zig SHOWTIME
Подписаться 11 тыс.
Просмотров 25 тыс.
50% 1

From Zig SHOWTIME #5
zig.show
0:00 Title
0:52 Talk
33:56 Interview

Наука

Опубликовано:

 

5 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@familyshare3724
@familyshare3724 5 месяцев назад
Would love a compiler summary update "state of the art" in 2024
@jeanemmanuelndjenkoua4614
@jeanemmanuelndjenkoua4614 8 дней назад
This will be great idea. Please we need an update
@KomariSpaghetti
@KomariSpaghetti 4 года назад
Recursion considered harmful. Great talk!
@tux1968
@tux1968 3 года назад
Relationship breakups considered helpful.
@Verrisin
@Verrisin 2 года назад
My question would have been, why is the IR flat. That intuitively seems harder to optimize and work with, to me. - I know Kotlin uses tree IR, and that just makes sense to me. (tree IR is quite different from AST, of course)
@yvvkiRika
@yvvkiRika 9 месяцев назад
Whatever on the bottom left is, it's keeping my focus on like subway surfers. Amazing talk!
@prateeknischal5170
@prateeknischal5170 2 года назад
There was a talk from the Go team where they mentioned about supporting exotic architectures. Any one who wanted to implemented a new target GOOS, GOARCH, they could implement that translation layer GOASM -> machine code and bam! support for a new target. And according to them, the translation layer is simple.
@hank-uh1zq
@hank-uh1zq 3 года назад
The problem with Zig is documentation. I can see that goes for the code as well...this needs to get way better. Maybe the Foundation can hire someone to write documentation?
@inkryption3386
@inkryption3386 2 года назад
Honestly, it hasn't been much trouble for me. Once you understand the syntax and are aware of the conventions (which there aren't too many anyways), the code becomes its own documentation. Which I imagine is part of the objective of Zig.
@jackmordaunt5410
@jackmordaunt5410 2 года назад
AFAIK, Documentation will be a focus post 1.0. Doesn’t make so much sense to document while things rapidly churn.
@darkfllame
@darkfllame 2 месяца назад
the only doc i need is with the build system, that's all, everything else is pretty straight forward
@astphaire
@astphaire 2 года назад
I heard that Zig can call functions at compile time. How is this done? Is the IR stepped through like a bytecode?
@DF-ss5ep
@DF-ss5ep Год назад
There is no need for that. If your compiler has AST nodes that it understands, it can implement their behavior as C++ functions and then modify the AST with the results
@numeritos1799
@numeritos1799 Месяц назад
@@DF-ss5ep essentially interpreted at compile time right?
@leffivanov3127
@leffivanov3127 4 года назад
What software are you using for this kind of streams?
@kristoff-it
@kristoff-it 4 года назад
OBS, Discord, laplace.madeby.monster/
@nathanruben3372
@nathanruben3372 Год назад
What is the licence of this language?
@y.vinitsky6452
@y.vinitsky6452 Месяц назад
MIT
@GK-rl5du
@GK-rl5du 2 месяца назад
What is the difference between un-typed and typed Zig IR?
@darkfllame
@darkfllame 2 месяца назад
duh, typing 💀the untyped zig IR does not generate errors with types
@GK-rl5du
@GK-rl5du 2 месяца назад
@@darkfllame If I recall correctly, Andrew mentioned that first compiler converts the source code to untyped IR. Then at some later stage untyped IR is converted to typed IR. I was wondering why not directly start with typed IR as the code author already declares the variable types. As you can tell I'm a compiler noob. If this is something obvious please let me know I'll do more research
@numeritos1799
@numeritos1799 Месяц назад
I think Andrew was just referring to the comptime approach that they implemented. I'm not certain that what he described here still holds true today though. The video here is almost 4 years old, back when Zig was at 0.6.0.
@KalleJillheden
@KalleJillheden 8 месяцев назад
Held my curiosity for a while, but the technical issues made it unbearable to watch. All the flickering, and Andrew talking about code that's not loaded on the screen yet... quite a mess. From Andrew's other talks, I can tell that he's a great speaker, but for this video in particular, it's getting a thumbs down from me. Would love to see a re-take though.
@ranam
@ranam 3 года назад
Can you compile zig compiler to compile darknet with cuda
@Stopinvadingmyhardware
@Stopinvadingmyhardware Год назад
why would I use this? I don’t see the point.
@megamaser
@megamaser Год назад
Systems and embedded programming.
@josephlunderville3195
@josephlunderville3195 9 месяцев назад
You're probably not missing anything, it's still not all that mature. It's an interesting language and I'm playing with it, and I think it has a brighter future -- but if you want to solve an actual problem right now today, there are other languages that are good enough and which have much better library support. For systems and embedded you're probably making smaller programs and so the lack of libraries is less of a problem, but you'll still get up and running faster with existing frameworks in C/C++ or even Rust, so if you're being paid to do the work you might choose one of those.
@lepidoptera9337
@lepidoptera9337 11 месяцев назад
You know that something is dead when it has 18 comments on RU-vid in three years. ;-)
@megamaser
@megamaser 11 месяцев назад
Zig is new and just beginning to pick up steam.
@lepidoptera9337
@lepidoptera9337 11 месяцев назад
@@megamaser Dude, the video is from three years ago. I will give you attention, anyway. :-)
@megamaser
@megamaser 11 месяцев назад
Yeah and? 3 years is nothing in the lifecycle of a programming language.
@lepidoptera9337
@lepidoptera9337 11 месяцев назад
@@megamaser True. Cobol is still around. I didn't care about it, either. :-)
@josephlunderville3195
@josephlunderville3195 9 месяцев назад
Trolls be trollin
Далее
A Look at Zig's Built-ins - Loris Cro
1:20:11
Просмотров 3,7 тыс.
Впервые дал другу машину…
00:57
Trying Zig Part 1
1:30:00
Просмотров 80 тыс.
Zig with Andrew Kelley
56:26
Просмотров 7 тыс.
Hare Programming Language
1:39:25
Просмотров 47 тыс.
Zig in Production - Jens Goldberg
39:02
Просмотров 14 тыс.
Async Rust Is A Bad Language | Prime Reacts
28:46
Просмотров 89 тыс.
Why Clojure? - Derek Slager
41:59
Просмотров 61 тыс.
3 things you might like about Zig
39:32
Просмотров 19 тыс.
Solving Common Pointer Conundrums - Loris Cro
54:57
Просмотров 11 тыс.
The Road to Zig 1.0 - Andrew Kelley
59:48
Просмотров 127 тыс.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
Просмотров 168 тыс.
Сложная распаковка iPhone 15
1:01
Просмотров 12 тыс.