Programming w/o Language

preview_player
Показать описание
Enable Subtitles for Twitch Chat

References:

Support:
- BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
Рекомендации по теме
Комментарии
Автор

> Programming w/o Language
> look inside
> a language

GillesLouisReneDeleuze
Автор

Next up is writing an ELF directly in hex.

Mozartenhimer
Автор

58:48 LLVM does all of the hard work that most people don't have the time for, and by the time they start having the time to manage a backend themselves it's often the better choice, yes. Being a competitive optimizing compiler for multiple targets is no easy task. If you're not looking to be an optimizing compiler, don't use LLVM in 2024 yeah, keep doing your own simple backend code generation. If you're trying to be competitive, then early on supporting LLVM primarily gets you much of the way through so you can keep experimenting with the higher level language semantics, and once you're more stable you can think about replacing LLVM entirely. Zig, as an example, now has the funding to do this, and some motivations that many other projects can't afford to have yet. This trend is leading to more people trying to build lighter LLVM alternatives which is great, we compiler writers may be able to target and stick to a completely different backend without much worry in the near(ish) future and I'd love to have that monopoly broken.

nashiora
Автор

Next step: Making cpu with from scratch with silicon dioxide

killedinit
Автор

clang generates extra stuff cuz it's needed for other targets, remember llvm IR is a universal assembly as you said :) (align being a prime example, in other targets it might not work with the default alignment, so clang makes sure to specify it)

AnastasisGrammenos
Автор

First 15 minutes is what peak programming looks like.

oserodal
Автор

"you don't need any of that crap" is such a vibe, I live for it.

donkeyy
Автор

What at 42:00 Tsoding mention is really true. Also Casey Muratori and many other told about it how broken this system is (take Open Source and don't pay). It's a shame for the companies who make money with it and give nothing back. It was even a long discussion in the company where I work. The understanding was very slowy. Until the "openssl-drama". After that they decided to support financial the developers, who spend their free time to create programs or OS what we use. Here is an extra idea in my mind... For every video, where Tsoding or other people show non profit software etc. like Raylib, I will give a donation (even I already do). With the notice like "Tsoting ( or who ever) send me..." . Who came in this "club"? Must not much... Even 1 Euro or Dollar or whatever is a message to say: Thank you!
P.S.: And don't forgot Tsoding for the "Marketing" ;)

lixlip
Автор

Me: Programming without using my brain

varshneydevansh
Автор

The recipe for a great Tsoding video: literally anything + Raylib. And it always works

arcxm
Автор

Count how many times he picks up his tea without drinking it...thats how focused he was...it was killing me, just wanted him to take a damn sip of the tea! :)

findjonmoses
Автор

A fun thing with LLVM IR is that if you compile your own language with it, or for example brainfuck to start simple. And you add all the line reference debugging tags to the llvm ir output, you can actually use lldb (gdb, but for llvm) and debug your own language, stepping instruction by instruction. I did it with brainfuck, and I could step through the brainfuck code, and it even highlights what character you are currently on in the brainfuck source file :D

haakonness
Автор

LLVM is basically just a decomposition of C into its constituent parts - LLVM IR being the "next C" isn't an unreasonable statement in that light. It's why if you're writing a language that looks and acts vaguely like C/C++, LLVM is good (if not heavy) place to start if you don't want to compile to machine code yourself. The real benefit with LLVM is the architecture support - that alone can make it a worthwhile backend target.

neil
Автор

Tsodin is absolutely the most talented software engineer/developer/etc person I have seen on the web. He's an inspiration to those who are learning the ropes!

khusros
Автор

"x86... arm... leg... i mean i'm sorry there's no leg"
- žežin z bažin močálem se plíží 2024

mthia
Автор

For real, one of my favorite courses in university was machine coding.
My neurotic brain wasn't able to just accept "loop goes so machine code simplified it a lot made it intuitive

Siroitin
Автор

I like the part when tsoding casually strips off 80% of bloat and the ir still compiles

tianned
Автор

Hmm, this channel is gold. Where was I to discover it only now.

warren
Автор

Funny thing about LEG is when I took a CPU Architecture Design that was the name of the ARM subset we were required to implement. So i do have a VHDL simulator written for "LEGv8" somewhere.

Have you ever delved into hardware design languages? They're super interesting

IconOfCyn
Автор

Llvm might never have been a virtual machine but I feel like llvm-ir still can be seen as operating a virtual machine that just hasn't been built. It's like a virtual virtual machine. Should have named it llvvm

Jutastre