This Library Turns C into Go

  Рет қаралды 28,892

Tsoding Daily

Tsoding Daily

Күн бұрын

Пікірлер: 119
@wagsman9999
@wagsman9999 2 күн бұрын
Tsoding has motivated me. I have compiled Raylib. Learned a little Make. And can now draw a red circle. Using c, and Notepad++. It's not much, but it's a start.
@nohandlepls15
@nohandlepls15 2 күн бұрын
That's how you start doing anything:)
@simargl2454
@simargl2454 2 күн бұрын
Big if true
@isaacalves6846
@isaacalves6846 2 күн бұрын
Keep it up
@darthtrex9356
@darthtrex9356 2 күн бұрын
Journey of a thousand miles begins with one step. Godspeed soldier 🤝
@aquilafasciata5781
@aquilafasciata5781 2 күн бұрын
Keep it up, brother 💪 You should learn Vim at some point; it saves you a lot typing 😊
@HarrisonSmith-tw8be
@HarrisonSmith-tw8be 2 күн бұрын
i like the new style of your videos where you add a few highlights and then the X hours earlier format. Not sure how much extra effort for you it is but I appreciate it Mr. Tsoding :)
@labsendeyshent
@labsendeyshent 2 күн бұрын
C3 influencer posted
@phonkee
@phonkee 2 күн бұрын
Just to mention, the author is author of ZeroMQ
@TsodingDaily
@TsodingDaily 2 күн бұрын
This actually explains why the library is such a banger
@hughesadrian
@hughesadrian 2 күн бұрын
@@TsodingDaily you should look into libdill, his successor version of libmill
@elgalas
@elgalas 2 күн бұрын
​@@hughesadrian Watch the full video ;) he did check it out
@Pi7on
@Pi7on 2 күн бұрын
Zozzin have you seen Clay (C layout library)?
@CookieGod24
@CookieGod24 2 күн бұрын
YES, this. I’d love for him to talk about Clay (and Nuklear).
@Pi7on
@Pi7on Күн бұрын
@CookieGod24 yo I didn't know about nuklear! Looks sick!
@whydw2283
@whydw2283 Күн бұрын
Go take a look for clay 🎉🎉🎉🎉🎉
@paulkanja
@paulkanja Күн бұрын
mahn i'm so bummed Clay refused to work for me first time but i'm working on fixing the issues (mostly Raylib ones) to try it out
@wiseskeshom4673
@wiseskeshom4673 2 сағат бұрын
Yep, please help check out Clay
@abhishekkadam2999
@abhishekkadam2999 2 күн бұрын
10:41 probably the best definition of coroutine I've heard by far.
@andreffrosa
@andreffrosa Күн бұрын
futures/promises are an abstraction for the "handlers" of asynchronous/concurrent "tasks", which can either run on a separate OS-thread or a "app"-thread (a.k.a. coroutines). goroutines are go's rebranding of coroutines. The futures themselves are not an asynchronous execution primitive/model as you seem to be explaining but rather a "high-level" synching/coordination primitive, like channels. Its the "high-level" equivalent of joining a thread and fetching the result (and in the case of js you can also conveniently chain them). In the case of go, the goroutines do not return an intrinsic future and instead you usually use a channel for returning a result to the caller or similar to indicate the task has finished
@angelos9800
@angelos9800 2 күн бұрын
Tsoding is the reason I started learning more stuff man. He motivated me to start making a rasterizer... in vanilla JS (I am sorry)
@talideon
@talideon Күн бұрын
libdill is the follow-up to this, but it's also abandoned.
@lolcat69
@lolcat69 2 күн бұрын
30:17 we're betraying raysan with this one 🗣🗣🗣
@IvanKovalenko-u8u
@IvanKovalenko-u8u 2 күн бұрын
the thumbnail of this video looks really amazing
@Asdayasman
@Asdayasman 2 күн бұрын
25:52 actually CLEAN.
@pftq2401
@pftq2401 2 күн бұрын
sorry for offtopic, but how to make github show me ssh link by default instead of https, like it did at 4:01 ?
@kiosmallwood576
@kiosmallwood576 2 күн бұрын
You have to be logged into github and give them your ssh public key in your profile.
@pftq2401
@pftq2401 2 күн бұрын
@@kiosmallwood576 nope, problem is i have to change tabs to "ssh" every time i click this green "Code" button, but i want it to be default, it seems it only defaults to ssh when i'm in repo that i own
@DeerDesigner
@DeerDesigner Күн бұрын
If you have an ssh key added and click on the SSH tab once, as long as you’re logged in that will be the default
@froop2393
@froop2393 2 күн бұрын
you can learn so much from this channel... its freaking entertaining... and its for free 😮.... crazy...
@Feal-flf
@Feal-flf 2 күн бұрын
It's impossible for tsoding to not code in C. I respect that
@sumedh-girish
@sumedh-girish Күн бұрын
1:38 is so perfect I want the skill to do that lmfao
@atiedebee1020
@atiedebee1020 2 күн бұрын
This reminds me of cilk, which is similar to this but built into the compiler. I believe older versions of gcc supported it
@richardsh8770
@richardsh8770 2 күн бұрын
I see the library author's repo for a dialect of go with structural concurrency. I suppose it's a good idea to look what he means by that.
@TheCommunistRabbit
@TheCommunistRabbit 2 күн бұрын
Also you can compile C to Go using a compiler called C for Go
@NikhillRao27
@NikhillRao27 2 күн бұрын
Interesting, does Go have an unsafe library to let you manage memory?
@stefanalecu9532
@stefanalecu9532 2 күн бұрын
Isn't that just cgo?
@msxmlable
@msxmlable 2 күн бұрын
3:30 into the video, already liking it
@elgalas
@elgalas 2 күн бұрын
1:07:32 oh that's a new argument I'll be using when lurking around the web
@crankshaft99k85
@crankshaft99k85 Күн бұрын
This means we can have Go in C3 also. Who needs Go anymore!
@nexovec
@nexovec 2 күн бұрын
"coroutine is a computer program component that allows execution to be suspended and resumed" Great, so now python generators became goroutines. I'm not even confused anymore I just gave up a long time ago.
@StitchesForScars
@StitchesForScars Күн бұрын
You can think of the generator as the underlying mechanisms, coroutines are just more powerfu because the "yield" can dynamically move around
@nexovec
@nexovec Күн бұрын
@@StitchesForScars But still, it's within that definition. Only proves Alexey's point that it's tough to define.
@alexeydmitrievich5970
@alexeydmitrievich5970 2 күн бұрын
CLay library for layouts in C next!
@monad_tcp
@monad_tcp Күн бұрын
12:49 of course they had to mess with the stack frames
@softwet4341
@softwet4341 Күн бұрын
Tsoding, have you seen CLAY?
@TheCommunistRabbit
@TheCommunistRabbit 2 күн бұрын
Try out Clay, it's a C layout library
@kiosmallwood576
@kiosmallwood576 2 күн бұрын
!clay
@RukopisyNarnie
@RukopisyNarnie Күн бұрын
Inc files re also "header files" of fasm.
@sknown
@sknown 2 күн бұрын
Hi Tsoding. I have been writing code in C for some time now. Was looking at all the new languages that promise to be worthy successors of C. Don’t like Rust. Zig is good. But I hear you often criticizing Zig and recently you have been working with C3. I need something more mature than C3 for my projects. What would you recommend? I would like to try Jai but it is still in the weird closed beta thing for a very long time now. Would love to hear your thoughts on it.
@Tezla0
@Tezla0 Күн бұрын
Zig is the best imho (Jai is looking better though, but it's not public). The only problem is that it hasn't released yet, which means it has a lot of bugs and will have major breaking changes that you might or might not like.
@thesenamesaretaken
@thesenamesaretaken Күн бұрын
You could consider Odin. More importantly try not to be discouraged by internet memeing. If you want to have fun making a thing then do it.
@sknown
@sknown Күн бұрын
@@thesenamesaretaken Have you tried both Zig and Odin? I have tried Zig but not Odin. What would you say are the main reasons to choose Odin over Zig?
@DevilTheMan
@DevilTheMan 15 сағат бұрын
@@sknown it's more like jai or go and it has some nice build-in features for graphics programming, e.g vectors and quaternions as default types. if you want to do game development or anything 3D or 2D related I would use Odin instead of Zig. And maybe the learning curve with Odin isn't as steep as with Zig.
@TheCommunistRabbit
@TheCommunistRabbit 2 күн бұрын
That thumbnail is top notch brother
@naranyala_dev
@naranyala_dev Күн бұрын
where is the future, bed, and kitchen apis
@2ndbrain108
@2ndbrain108 2 күн бұрын
is someone using jujutsu for vcs?
@chepossofare
@chepossofare 2 күн бұрын
TBH if something like this lands in C3 it would be great.
@bazilm1
@bazilm1 2 күн бұрын
Can't c3 just use this library directly anyway?
@chepossofare
@chepossofare 2 күн бұрын
@bazilm1 yep, but i'd vet it before, it's not so manteined and imho has a not so great ergonomy
@baranjan6969
@baranjan6969 2 күн бұрын
10:16 My friends are msvc users!
@DadundddaD
@DadundddaD 8 сағат бұрын
С первых секунд понятно, что Tsoding русский или славянин, по обилию мата.
@Antipolitisch
@Antipolitisch Күн бұрын
I need go. Thanks for asking.
@oidpolar6302
@oidpolar6302 2 күн бұрын
Other architecture than x86 to have would be nice
@John-yg1cq
@John-yg1cq 2 күн бұрын
Damn, I did something similar for my Master Thesis, but for embedded. Didn't know about libmill tho! Should have included that in my sources.
@drownwarlord7581
@drownwarlord7581 2 күн бұрын
now im more interested to read your thesis, where can i access it
@maybenot909
@maybenot909 2 күн бұрын
bump
@PolarisMyWay
@PolarisMyWay Күн бұрын
another Sustrik's libary is ZeroMQ lib, quiet popular
@danko95bgd
@danko95bgd 2 күн бұрын
43:16 ahahaahah 😂
@skope2055
@skope2055 2 күн бұрын
"millf" function lol
@Grave1001
@Grave1001 Күн бұрын
12 out of 10 for this libraries :)
@FocusAccount-iv5xe
@FocusAccount-iv5xe 2 күн бұрын
Engaging.
@faridguzman91
@faridguzman91 2 күн бұрын
Millf
@blu3m0nkey
@blu3m0nkey 2 күн бұрын
Librarby
@hectorjazz7
@hectorjazz7 Күн бұрын
interesting library, really. Magnificent transmission, a very interesting library! Here is an interview with the creator of Libmill, which I find very illustrative. Greetings, tsoding, and thanks for all your content! kzbin.info/www/bejne/sIanmZaEYp2ih9E
@DuskyDaily
@DuskyDaily 2 күн бұрын
Tsoding first
@mac2875
@mac2875 Күн бұрын
Why make a video on this? Go fans and the new hyper community coming to ruin this too 🤦‍♂️ now.
@binitrupakheti4246
@binitrupakheti4246 2 күн бұрын
Sorry I use Rust btw. Go is not for smart people.
@FocusAccount-iv5xe
@FocusAccount-iv5xe 2 күн бұрын
🙄
@maybenot909
@maybenot909 2 күн бұрын
lmao
@SingleTheShot
@SingleTheShot 2 күн бұрын
smh not even haskell
@TheCommunistRabbit
@TheCommunistRabbit 2 күн бұрын
Most bearable, and Least annoying rust user:
@RustIsWinning
@RustIsWinning 2 күн бұрын
​@@TheCommunistRabbitWhat's the most annoying Rust user?
The BEST Mechanical Display You've EVER Seen!!!
13:51
Tin Foil Hat
Рет қаралды 295 М.
Retro MS-DOS Coding - Recreating the Iconic Award BIOS Screen
18:16
NCOT Technology
Рет қаралды 67 М.
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
Just Because Its New Doesn't Mean Its Good (neovim) | Prime Reacts
20:50
I tried Swift and came out a different person
1:56:59
Tsoding Daily
Рет қаралды 130 М.
The Oldest Unsolved Problem in Math
31:33
Veritasium
Рет қаралды 13 МЛН
The Genius of the N64's CACHE Instruction
21:15
Kaze Emanuar
Рет қаралды 125 М.
Coding Adventure: Rendering Text
1:10:54
Sebastian Lague
Рет қаралды 804 М.
Is SDL3 Ready For Production?
1:37:32
Tsoding Daily
Рет қаралды 34 М.
I Will Not Write Rust Again
7:19
ThePrimeTime
Рет қаралды 206 М.
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН