Trying Jai Language for the First Time

  Рет қаралды 87,640

Tsoding Daily

Tsoding Daily

2 жыл бұрын

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

Пікірлер: 93
@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
@bloodredtape
@bloodredtape Жыл бұрын
"it's like boy_next_door but events_this_frame"
@RickeyBowers
@RickeyBowers Жыл бұрын
Thank you, for continuing to post videos during these difficult times. Much respect and love.
@meh1672
@meh1672 Жыл бұрын
Would love to see more of this. Thanks for giving us a look in the process!
@soitchy6084
@soitchy6084 Жыл бұрын
I really like how all the syntax is the same no matter the context.
@vlad071096
@vlad071096 10 ай бұрын
Showing us the language we won't be able to use until Half-Life 3 is unfair!
@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.
@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)
@danielya8634
@danielya8634 Жыл бұрын
Does it have algebraic data types and match expression with decomposition? And is it expression based in general?
@Muskar2
@Muskar2 9 ай бұрын
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 6 ай бұрын
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
@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 6 ай бұрын
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.
@wijiler5834
@wijiler5834 Жыл бұрын
Finally jai video
@Muskar2
@Muskar2 9 ай бұрын
1:56:03 Does Jai have something like Odin's "where" clause, i.e. compile time sanity checks for function calls?
@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!
@miracleteastudios8877
@miracleteastudios8877 Жыл бұрын
Really wanna try Jai at somepoint
@dushyantm9579
@dushyantm9579 Жыл бұрын
Man, love this channel!
@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?
@jonatan.cirqueira3925
@jonatan.cirqueira3925 Ай бұрын
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
@jespa003
@jespa003 Жыл бұрын
I have an older laptop more or less like yours and I hope it longs for more years ^_^
@skeleton_craftGaming
@skeleton_craftGaming Жыл бұрын
Could also be using implicit #define and in the shell parser is just parsing it correctly
@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.
@c4llv07e
@c4llv07e Жыл бұрын
>>1:05:40 subword-mode is the thing, by the way. Best minor mode in the emacs.
@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 9 ай бұрын
Outdated info at this point - auto-generated subtitles are available for longer videos now
@iDoComputers
@iDoComputers 6 ай бұрын
i ALWAYS ask myself one thing; How can i get on the dc server?
@RoadToFuture007
@RoadToFuture007 7 ай бұрын
12:20 Maybe the shell itself removes the first line with shebang?
@yoij-ov3sd
@yoij-ov3sd Жыл бұрын
fantastic
@bertrodgers2420
@bertrodgers2420 Жыл бұрын
Was there a part two?
@geeksuperstar8564
@geeksuperstar8564 Жыл бұрын
Will you try Odin?
@brxnni
@brxnni Жыл бұрын
oh you used jai. i actually thought you wrote the wasm for your atari game by hand
@lollol-dv9ri
@lollol-dv9ri Жыл бұрын
Got it!
@mariobroselli3642
@mariobroselli3642 3 ай бұрын
Do you know a functional lang with easy Syntax High Speed?
@rusty6172
@rusty6172 4 күн бұрын
Ah yes, I was 18 when jai started getting beta testing. I'm now 26. I guess my children will get a chance to try it, hopefully.
@dwightk.schrute8696
@dwightk.schrute8696 Жыл бұрын
Never watched the office, oh well!
@10bokaj
@10bokaj Жыл бұрын
over 30 000 that insane!?
@andrewm6788
@andrewm6788 6 ай бұрын
is it "Sailor" cause u actually didnt get an invite and u pirated the compiler or?
@GmanGavin1
@GmanGavin1 Жыл бұрын
Video title: Jai The logo 😮 Me: That's a fancy B!
@andreffrosa
@andreffrosa 5 күн бұрын
where is part2?
@user-fr1no2ir3r
@user-fr1no2ir3r 5 ай бұрын
I use language that have same syntax (odin) and feel more productive now
@lozohe
@lozohe Жыл бұрын
claro jai
@uncoherentramblings2826
@uncoherentramblings2826 Жыл бұрын
Finally
@julkiewicz
@julkiewicz Жыл бұрын
Heh, did he just say "cucumbersome" that should be a word in English, I mean come on
@pandoorloki1232
@pandoorloki1232 11 ай бұрын
Porn folder: 9.2 GiB
@nefrace
@nefrace 8 ай бұрын
too smol PepeHands
@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 :)
@timeyyydaman
@timeyyydaman Ай бұрын
anyone got a jai invite link?
@Little-bird-told-me
@Little-bird-told-me 4 ай бұрын
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.
Жыл бұрын
The execution is soooo fast!
@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?
@MicroGeant
@MicroGeant 5 ай бұрын
Is this language ever going to be released?
@sfulibarri
@sfulibarri 5 ай бұрын
Yes but only after JBlow reinvents every wheel.
@HeyPumpkin
@HeyPumpkin 5 ай бұрын
​@@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 Ай бұрын
@@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.)
@AnoopMasterCoder
@AnoopMasterCoder Жыл бұрын
What's that white text at the very bottom of the screen at 00:02 ???🤣🤣🤣
@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
@Simon-xi8tb
@Simon-xi8tb Жыл бұрын
Dude, you need neo vim and telescope plugin :D
@jearsh
@jearsh 5 ай бұрын
what kind of monster uses capital letters in filenames? `Basic.jai`...smh
@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?
@anispinner
@anispinner 8 ай бұрын
But can it run Snake? 😂
@arioamin
@arioamin Жыл бұрын
How did you get beta access? :D
@kobe4460
@kobe4460 Жыл бұрын
0:59
@NeZversSounds
@NeZversSounds Жыл бұрын
Watch and from beginning!
@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
@origamibulldoser1618
@origamibulldoser1618 8 ай бұрын
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 6 ай бұрын
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.
@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 regret doing this...
1:20:07
Tsoding Daily
Рет қаралды 62 М.
Coding in Go while Google is Spying on Me
2:31:36
Tsoding Daily
Рет қаралды 36 М.
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 161 МЛН
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 36 МЛН
I Tried JAI, Can It Replace C++?! (Programming Language)
21:05
Is this the Future of Programming Languages?
2:53:18
Tsoding Daily
Рет қаралды 62 М.
Zig for Impatient Devs
9:48
Isaac Harris-Holt
Рет қаралды 64 М.
Game Engine Programming: Point Light Sources
2:53:39
Jonathan Blow
Рет қаралды 100 М.
Jonathan Blow on scripting languages
9:30
Jeru Sanders
Рет қаралды 120 М.
I tried React and it Ruined My Life
1:19:10
Tsoding Daily
Рет қаралды 113 М.
2 Years Of Learning C | Prime Reacts
22:24
ThePrimeTime
Рет қаралды 240 М.
WHY did this C++ code FAIL?
38:10
The Cherno
Рет қаралды 136 М.
I fixed Lua
2:16:48
Tsoding Daily
Рет қаралды 43 М.
Карточка Зарядка 📱 ( @ArshSoni )
0:23
EpicShortsRussia
Рет қаралды 662 М.
📱 SAMSUNG, ЧТО С ЛИЦОМ? 🤡
0:46
Яблочный Маньяк
Рет қаралды 1,9 МЛН
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Рет қаралды 2,8 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 1,6 МЛН
Main filter..
0:15
CikoYt
Рет қаралды 1,3 МЛН