- Видео 8
- Просмотров 4 572
Coding File
Великобритания
Добавлен 23 ноя 2019
My language is bad at math | Better C Compiler Development [3]
Here I'm adding math support to my bc compiler. For this to happen I implemented parsing of math expressions and emitting assembly.
Playlist: ruclips.net/video/Ur3-EFUuGgo/видео.html
Chapters:
00:00 Into
01:14 Parsing math
34:27 Generating assembly
Playlist: ruclips.net/video/Ur3-EFUuGgo/видео.html
Chapters:
00:00 Into
01:14 Parsing math
34:27 Generating assembly
Просмотров: 1 234
Видео
How computers understand programs? | Better C Compiler Development [2]
Просмотров 9714 дней назад
How to write a tokenizer/lexer and why? How does it work? It's an important part of parsing a programming language. And here I'll implement a lexer. Playlist: ruclips.net/video/Ur3-EFUuGgo/видео.html
Let's Create a Compiler | Better C Compiler Development [1]
Просмотров 2 тыс.21 день назад
Simplest compiler will produce the smallest program ever to exist, here's how I built it. Playlist: ruclips.net/video/Ur3-EFUuGgo/видео.html
Eepers any% speedrun [2:18]
Просмотров 3118 месяцев назад
Here I'm checking out (speedrunning) a game made by @TsodingDaily You can try it out yourself by installing .zip file from this repository github.com/tsoding/eepers/releases/tag/v1.0 Music made by Type 42: soundcloud.com/type42 www.youtube.com/@Type42 type42.bandcamp.com/
Cube Wave Animation
Просмотров 2683 года назад
This video shows an animation of the spread of cubes in the form of a wave. The code with which I made this animation is here: github.com/0dminnimda/Cube_Wave I made this video, inspired by the video from the Coding Train: ruclips.net/video/H81Tdrmz2LA/видео.html (cool video, I advise you to watch) Music from the video is June - made by Bobby Richards: ruclips.net/channel/UCT5LDJ8VYAKfY2e8dExo2Cw
Animated Tesseract
Просмотров 3243 года назад
This tesseract is animated in a program that I am creating (4d animator), as soon as I can I will let you know that it can be downloaded and tested! More about tesseracts here: bit.ly/3rsDgtK Music: Adapted Dopplerette by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/by/4.0/ Source: incompetech.com/music/royalty-free/index.html?isrc=USU...
Fourier series approximation to a sawtooth wave
Просмотров 2174 года назад
here are links to some information on the Fourier series that I used: bit.ly/2QKYWBV 0:00 - Explanation 0:20 - Animation
Аpproximation to a square wave by rotation or the first hundred partial sums of the Fourier series
Просмотров 1174 года назад
#Fourier_series #Fourier #Math #Square_wave hello, this is my first video, I hope you liked it, well, here are links to some information on the Fourier series that I used: bit.ly/2QKYWBV 0:00 - Explanation 0:43 - Animation
No way i found zozin 2
Enjoy! 😊
10th dimentinal boys?
Why not 4096 dimensional? Llama 3 embeds tokens in that space 🚀
Great video! Would love to see a video on why compilers are still a big deal in 2024, or what kinds of features Better C could improve over more conventional languages - many devs just use C/C++ as it is without thinking about things like that.
Hahaha, You got me with the ASMR at the beginning, definitely a huuuge improvement :)
Check out the next video in this series! ruclips.net/video/jnTgLp06wLo/видео.html
Check out the next video in this series! ruclips.net/video/YsUKX_6HP9Q/видео.html
nice video.
Thank you! 🥰
@@CursedOneShot nice balls
man Im pissed!!!
This question stands, still, but as Linus said it is yet to be seen a better than C language. Take for example the Quicksort, love such etudes as playground, having played with it for months, my understanding is that the weak point is in hardware support, not in the language itself, for instance the pivoting/partitioning is the major bottleneck and when comparing uint64_t (sorting UQWORD elements) there is not such intrinsic in AVX2 extension - it was added in AVX512 which was a stupid blunder from Intel. I wrote an intrinsic doing that, but it is slow. If you wanna expand on your vision, consider using Quicksort for explanation.
C is amazing for it's original purpose - an easier assembly for writing unix. But today we can see flaws in it's design, like "." vs "->", no built in arrays with size and capacity, instead arrays decay into just pointer, etc all the things which slow you down unnecessary. Furthermore it can be seen that instead of using preprocessor it's much better to allow execution of any code at compile time, this gives you unprecedented power, now you don't need no build system, no shell scripts, just your language, which is by definition more expressive than any of the above (systems programming language). It also ties very nice into minimalist genetics, instead of c++ std::enable_if, and other crazy fuss, you just run a function at compile time to validate types. Built-in support for SoA or SSE will also make a life of a programmer much easier. And also one of the important parts is ability for fast compilation. It's crusual to have quick edit-compile-run cycle. I hope this clarifies things a bit!
@@coding_file You kinda deviate from your very first sentence. Indeed, C is portable Assembler, once talked to one of the original creators of pre-C, he claimed literally this. I claim and enjoy nothing outside this compiler legacy. Of course humans are greedy and constantly want more and more functionality, but as you know this arises (at least it is clear to me) from the stupid bypassing/neglecting the optimizations of basic etudes/APIs - when a coder cannot code properly even a simple etude the compiler is not to be blamed. If you look at Linux kernel e.g. the btrfs uses variant of Btree called ctree written by Oracle, now how many nifty implementations of the superb Bayer trees are out there? Especially written for general usage with a simple API and being superfast?! To me, even Linus Torvalds have huge gaps (unfinished work) in providing those so-needed GLIBC-like functionality, the war between FSF and his ego as a small planet was pathetic. My point, it is better one to focus on optimizations entirely in C instead of using other languages in hope they are better.
Bro consider audio quality, good stuff tho
Will do, thanks!
Updated my mic, is it better now? ruclips.net/video/jnTgLp06wLo/видео.html
@@coding_file Wow, it's so much better!
by reading the title I though this would be about zig )
I guess it is a bit of a click bait 😅 I think the end product will be as good! Though, what do you most like in zig?
The game is turn-based, so there can be a category with lowest number of turns.
Agreed. Same as vim golf :) Just need to have a step counter built-in for easier comparison!
Hey, @TsodingDaily, really cool game, especially since you made it in just 20 days! Also sorry for the quality of the video recording, I really need to set up obs to run properly on my laptop 😅
Yooo! Congrats on the World Record!
Hmm, it's like a jellyfish: 3
If you have any comments, for example, you liked something or, on the contrary, did not like it, you can express it in the comments, I will try to answer everything!
4d ?? wow ... well, it looks interesting
the coolest thing is that it is very difficult for us to imagine 4d, but computers can easily calculate how it would look
What about the sawtooth wave?
Already done, nice point
not bad