Trying Jai Language for the First Time

  Рет қаралды 86,064

Tsoding Daily

Tsoding Daily

Жыл бұрын

References:
- A Programming Language for Games Playlist: • Ideas about a new prog...
- Source Code: github.com/tsoding/tetris-jai

Пікірлер: 92
@RickeyBowers
@RickeyBowers Жыл бұрын
Thank you, for continuing to post videos during these difficult times. Much respect and love.
@bloodredtape
@bloodredtape Жыл бұрын
"it's like boy_next_door but events_this_frame"
@meh1672
@meh1672 Жыл бұрын
Would love to see more of this. Thanks for giving us a look in the process!
@julkiewicz
@julkiewicz Жыл бұрын
About swift, wooooow. So the joke "it works on my machine" became "I'll ship you my machine, so it works for you too". That's some next level lazy to have a compiler run in a Docker container. Madness
@DiegoSandoval-cs5oo
@DiegoSandoval-cs5oo 7 күн бұрын
The problem is that there's no such thing as a Linux platform. Each distro releases a new version with new, backwards-incompatible libraries every few years, and ideally you want to support more than one distro, so you end up supporting dozens of platforms in order to support "Linux". Docker is a cheap (but suboptimal) way to work around that problem. Windows, with all of its problems and user hostility, at least provides a stable API that you can rely on. Fifteen year old executables keep working on the newest version of Windows.
@vlad071096
@vlad071096 9 ай бұрын
Showing us the language we won't be able to use until Half-Life 3 is unfair!
@soitchy6084
@soitchy6084 Жыл бұрын
I really like how all the syntax is the same no matter the context.
@ISKLEMMI
@ISKLEMMI Жыл бұрын
When you were writing the code to determine the size of the grid at compile time, you mentioned that the C preprocessor can also accomplish the same thing. This is true, but like you mentioned earlier in the video, Jai brings the syntax of compile-time code and run-time code much closer together, which is quite nice.
@jonatan.cirqueira3925
@jonatan.cirqueira3925 7 күн бұрын
lol I just watched this after watching his first zig stream and he is much more comprehensive with the unfinishedness of Jai, I guess we are all emotional sometimes
@dushyantm9579
@dushyantm9579 Жыл бұрын
Man, love this channel!
@Narblo
@Narblo Жыл бұрын
I use odin that has almost the same syntax and the thing I like the most about it is that when searching for a declaration of a type that I dont know if it is a struct/union/enum or function I just search for :: and that's it (intellisense is not rreliavable all the time)
@Muskar2
@Muskar2 8 ай бұрын
I'm so jealous. It looks absolutely incredible. I hope I get accepted too at some point, but I'll try Odin too since it seems close for the things I'd like in a language.
@dromedda6810
@dromedda6810 5 ай бұрын
i've been using odin with raylib for about a month now, and it's pretty nice, i think i prefer odin over c for game dev-y things atleast for now
@wijiler5834
@wijiler5834 Жыл бұрын
Finally jai video
@lame_lexem
@lame_lexem Жыл бұрын
24:57 deb is so stable. this uptime is 😳
@john.dough.
@john.dough. Жыл бұрын
haha yeah, I've had like 3 months on my laptop one time
@MurtagBY
@MurtagBY Жыл бұрын
Well, I have not rebooted my mac for last year
@mgord9518
@mgord9518 Жыл бұрын
@@MurtagBY Has it rebooted itself?
@crides0
@crides0 Жыл бұрын
Arch with 83days
@frechjo
@frechjo Жыл бұрын
This comment reminded me of SUSE's glorious hit, "Uptime funk". Don't reboot it just patch!
@jespa003
@jespa003 Жыл бұрын
I have an older laptop more or less like yours and I hope it longs for more years ^_^
@Muskar2
@Muskar2 8 ай бұрын
1:56:03 Does Jai have something like Odin's "where" clause, i.e. compile time sanity checks for function calls?
@glowiak3430
@glowiak3430 3 ай бұрын
25:47 If it contained one, the who compiler would receive a DMCA from the tetris corporation, or even its dev would be sued. Sad reality.
@danielya8634
@danielya8634 Жыл бұрын
Does it have algebraic data types and match expression with decomposition? And is it expression based in general?
@c4llv07e
@c4llv07e Жыл бұрын
>>1:05:40 subword-mode is the thing, by the way. Best minor mode in the emacs.
@Aleksandar0100
@Aleksandar0100 Жыл бұрын
>using capital letters on folders ngmi what's next, quotes and spaces?
@lame_lexem
@lame_lexem Жыл бұрын
emotes are the current meta :kappa:
@berthold64
@berthold64 Жыл бұрын
You mean based?
@miracleteastudios8877
@miracleteastudios8877 Жыл бұрын
Really wanna try Jai at somepoint
@yoij-ov3sd
@yoij-ov3sd Жыл бұрын
fantastic
@skeleton_craftGaming
@skeleton_craftGaming Жыл бұрын
Could also be using implicit #define and in the shell parser is just parsing it correctly
@dwightk.schrute8696
@dwightk.schrute8696 Жыл бұрын
Never watched the office, oh well!
@lollol-dv9ri
@lollol-dv9ri Жыл бұрын
Got it!
@brvtalcake
@brvtalcake Жыл бұрын
shebang works only because the OS recognizes it, and I guess the OS then just ignore the first line with the shebang (btw the snake game could probably be working with release flag)
@blvckbytes7329
@blvckbytes7329 5 ай бұрын
I had a similar thought, as there's no way that Jai actually ignores the first line of a file if it's in the format of a shebang... That would be such a hack, doesn't sound like Jon. But I don't believe that it's the OS, it's actually the shell that notices the shebang and pipes everything below it into the jai compiler's STDIN. That then compiles it and creates the executable, while also running main, because of the run directive. A script that leaves behind an executable each time you call it... Maybe there would be a flag to only run but not produce a binary. On the other hand... why, haha.
@GmanGavin1
@GmanGavin1 Жыл бұрын
Video title: Jai The logo 😮 Me: That's a fancy B!
@brxnni
@brxnni Жыл бұрын
oh you used jai. i actually thought you wrote the wasm for your atari game by hand
Жыл бұрын
The execution is soooo fast!
@iDoComputers
@iDoComputers 5 ай бұрын
i ALWAYS ask myself one thing; How can i get on the dc server?
@bertrodgers2420
@bertrodgers2420 Жыл бұрын
Was there a part two?
@pandoorloki1232
@pandoorloki1232 11 ай бұрын
Porn folder: 9.2 GiB
@nefrace
@nefrace 7 ай бұрын
too smol PepeHands
@10bokaj
@10bokaj Жыл бұрын
over 30 000 that insane!?
@mariobroselli3642
@mariobroselli3642 2 ай бұрын
Do you know a functional lang with easy Syntax High Speed?
@julkiewicz
@julkiewicz Жыл бұрын
Heh, did he just say "cucumbersome" that should be a word in English, I mean come on
@geeksuperstar8564
@geeksuperstar8564 Жыл бұрын
Will you try Odin?
@RoadToFuture007
@RoadToFuture007 6 ай бұрын
12:20 Maybe the shell itself removes the first line with shebang?
@uncoherentramblings2826
@uncoherentramblings2826 Жыл бұрын
Finally
@user-fr1no2ir3r
@user-fr1no2ir3r 5 ай бұрын
I use language that have same syntax (odin) and feel more productive now
@lozohe
@lozohe Жыл бұрын
claro jai
@Little-bird-told-me
@Little-bird-told-me 3 ай бұрын
15:44 Wow using Debian Buster (10). Debian itself is old and Debian version 12 is already out, so this must be really really old system.
@andrewm6788
@andrewm6788 5 ай бұрын
is it "Sailor" cause u actually didnt get an invite and u pirated the compiler or?
@timeyyydaman
@timeyyydaman 5 күн бұрын
anyone got a jai invite link?
@simonsemmler9804
@simonsemmler9804 Жыл бұрын
Please turn on subtitles they are so convenient! :)
@Caellyan
@Caellyan Жыл бұрын
I think he'd have to transcribe the entire video himself. YT doesn't generate subtitles for long videos.
@Muskar2
@Muskar2 8 ай бұрын
Outdated info at this point - auto-generated subtitles are available for longer videos now
@arjuningole7863
@arjuningole7863 Жыл бұрын
what font and theme do you use ?
@fabricatorzayac
@fabricatorzayac Жыл бұрын
You can look at his github, he has his emacs config there
@arjuningole7863
@arjuningole7863 Жыл бұрын
@@fabricatorzayac Thanks :)
@Zephyrus_Music
@Zephyrus_Music Жыл бұрын
So, its basically jit compilation, compilation -> immediately run obj during compile time -> link -> output binary. i think thats how it works?
@Simon-xi8tb
@Simon-xi8tb Жыл бұрын
Dude, you need neo vim and telescope plugin :D
@MicroGeant
@MicroGeant 5 ай бұрын
Is this language ever going to be released?
@sfulibarri
@sfulibarri 4 ай бұрын
Yes but only after JBlow reinvents every wheel.
@HeyPumpkin
@HeyPumpkin 4 ай бұрын
​@@sfulibarri I wonder how he'll take it when people complain about how x/y/z in Jai is a bit slow or suboptimal and it therefore sucks.
@thebatchicle3429
@thebatchicle3429 28 күн бұрын
@@HeyPumpkinhe probably won’t care about their opinions, because he actually knows what he’s doing
@MariusGames
@MariusGames Жыл бұрын
@TsodingDaily pardon my direct comment, but I humbly ask to gain access to the Jai beta 🙏 I’ve been following a while and have some creativity that needs an outlet. (Don’t know where to go to ask.)
@PetaPelikan
@PetaPelikan 3 ай бұрын
26:26 "... And that's what software development is about. It's not about knowing the language completely... It's about copy&pasting." xdd yea, I have my ctrl+c ctrl+v ready, can I go to google and make millions now?
@georgecop9538
@georgecop9538 Жыл бұрын
never heard of this language. These languages appear every day.
@stephenkamenar
@stephenkamenar Жыл бұрын
what? no they don't. there's only like less than 6 languages in this category
@zeyonaut
@zeyonaut Жыл бұрын
Not really. People have been clamoring for Jai to be publicly released for years now. I've honestly long given up on the hope of ever seeing it come out.
@stephenkamenar
@stephenkamenar Жыл бұрын
@@zeyonaut been waiting about 7 years now
@stephenkamenar
@stephenkamenar Жыл бұрын
@@christianseibold3369 christmas came early, i'm a secret beta member
@AnoopMasterCoder
@AnoopMasterCoder Жыл бұрын
What's that white text at the very bottom of the screen at 00:02 ???🤣🤣🤣
@anispinner
@anispinner 7 ай бұрын
But can it run Snake? 😂
@ExCyberino
@ExCyberino Жыл бұрын
How did you get your hands onto this language ? Did you ask Jhonathan Blow himself or got indicated by someone or smth else? I wish i could play with it
@origamibulldoser1618
@origamibulldoser1618 7 ай бұрын
The landscape of native programming languages seems like it's in complete chaos these days, with everybody pining for leaving C++ behind, but nobody really knows in which direction it should go. (Yes, I know YOU know which way you THINK it should go, but that's not the same as productive consensus). I suppose it's exciting times, but it's really hard to know where one should focus.
@gaurangshukla8235
@gaurangshukla8235 5 ай бұрын
That's how, progress is made. There was a similar chaos about cpu architecture and x86_64 won. I don't know what you are trying to imply.
@jearsh
@jearsh 4 ай бұрын
what kind of monster uses capital letters in filenames? `Basic.jai`...smh
@arioamin
@arioamin Жыл бұрын
How did you get beta access? :D
@kobe4460
@kobe4460 Жыл бұрын
0:59
@NeZversSounds
@NeZversSounds Жыл бұрын
Watch and from beginning!
@TheWintrover
@TheWintrover Жыл бұрын
ß
@kobe4460
@kobe4460 Жыл бұрын
@oliveryt7168
@oliveryt7168 Жыл бұрын
Ein scharfes "S" 😏
@flleaf
@flleaf Жыл бұрын
"should_quit_game" thats kinda toxic ngl
@mbarrio
@mbarrio Жыл бұрын
Is there a universe where twitch.tv/j_blow and tsoding would collab in a project together?
@thakeenathees2342
@thakeenathees2342 Жыл бұрын
In universe-41 they'll did a collab yesterday, you can still catch up if you use an inter-galactic-time-machine
@Overminddl1
@Overminddl1 Жыл бұрын
I have to ask if something is wrong with your system, because compiling that same rust file here takes: ``` ❯ time rustc ./hello.rs rustc ./hello.rs 0.16s user 0.05s system 114% cpu 0.184 total ``` And that's from a cold compile and this system is nearing 13 years old? o.O There's *no* way it should have taken that long unless it was waiting on file I/O from the filesystem or something (this ancient system does have a 12 year old SATA SSD that somehow still lives), and loading the standard library is indeed not that tiny. And just for completion, the file: ``` ❯ cat hello.rs fn main() { if true { println!("hello"); } } ```
I Tried JAI, Can It Replace C++?! (Programming Language)
21:05
The World's Fastest Cleaners
00:35
MrBeast
Рет қаралды 131 МЛН
Glow Stick Secret (part 2) 😱 #shorts
00:33
Mr DegrEE
Рет қаралды 32 МЛН
Follow @karina-kola please 🙏🥺
00:21
Andrey Grechka
Рет қаралды 11 МЛН
小路飞姐姐居然让路飞小路飞都消失了#海贼王  #路飞
00:47
路飞与唐舞桐
Рет қаралды 23 МЛН
Is C++ better than C?
1:46:10
Tsoding Daily
Рет қаралды 15 М.
Is John Carmack Right about UI?!
1:52:02
Tsoding Daily
Рет қаралды 25 М.
Jonathan Blow on scripting languages
9:30
Jeru Sanders
Рет қаралды 118 М.
Will Ada Replace C/C++?
44:57
Tsoding
Рет қаралды 66 М.
Where People Go When They Want to Hack You
34:40
CyberNews
Рет қаралды 108 М.
I regret doing this...
1:20:07
Tsoding Daily
Рет қаралды 60 М.
Jai vs Odin systems programming languages (Non-spicy takes!)
20:10
Context Free
Рет қаралды 66 М.
Simulating Life on my Computer like a Scientist
1:51:08
Tsoding Daily
Рет қаралды 30 М.
Hash Table in C
2:11:31
Tsoding Daily
Рет қаралды 54 М.
Paid Zig Stream
3:20:37
Tsoding Daily
Рет қаралды 83 М.
How about that uh?😎 #sneakers #airpods
0:13
Side Sphere
Рет қаралды 8 МЛН