Navigate Select ESC Close

Roblox Creates React In Lua

2024-06-22 Science & Technology
97.3k
3.1k
315
ThePrimeTime
ThePrimeTime
1.1m subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Recorded live on twitch, GET IN ### Reviewed Tweet https://x.com/zack_overflow/status/1803612884196532432 By: https://x.com/zack_overflow ### My Stream https://twitch.tv/ThePrimeagen ### Best Way To Support Me Become a backend engineer. Its my favorite site https://boot.dev/?promo=PRIMEYT This is also the best way to support me is to support yourself becoming a better backend engineer. MY MAIN YT CHANNEL: Has well edited engineering videos https://youtube.com/ThePrimeagen Discord https://discord.gg/ThePrimeagen Have something for me to read or react to?: https://www.reddit.com/r/ThePrimeagenReact/ Kinesis Advantage 360: https://bit.ly/Prime-Kinesis Get production ready SQLite with Turso: https://turso.tech/deeznuts

Top Comments (10)

@glauco_rocha 2024-06-22

HERE WE GO, LADS: LUA MENTIONED

309 6 replies
@RenderingUser 2024-06-22

man, if only roblox didnt permaban linux as a platform Edit: 2025 jan. Sober works nicely as a roblox launcher on Linux

234 46 replies
@mxruben81 2024-06-23

Roblox actually did this a long time ago. It's mainly used to write ui code in their engine. Afaik they aren't actually using lua for their website? Also, fun fact, their fork of lua (called luau) has a type system and some other goodies such as compound assignment and continue statements in loops. It does this while still staying simple. Best part is that it's open source and you can use it freely (although their c API documentation is lacking). I haven't wanted to go back to vanilla lua since.

220 10 replies
@EdmondDantèsDE 2024-06-22

cursed title

58 1 replies
@omri9325 2024-06-22

You better hope the cricket won't DMCA this video, he seems determined.

57 3 replies
@aarond309 2024-06-22

Lua’s length operator is actually even *more special* than you think. #tbl returns the length of the table *only* when the table is a “sequence” (ie contains sequential keys only). If any keys are non-sequential (think nils or strings), the result of #tbl is undefined and up to implementations.

49 5 replies
@bharatdoesstuff 2024-06-22

Redis has embedded Lua, which lets you write Lua scripts that are atomic. Fun language to work with.

28 1 replies
@berkormanli 2024-06-27

As a part-time fun based Lua developer, there is a beautiful thing in Lua called Metatable and Metamethods. Since Lua lacks classes, these two can mimic some of object oriented behavior. You can easily change a table's behavior by using those metamethods. If you want to create an Array class, you would change the _newindex metamethod (this will be called when there is an assignment, _index will be called when there is an access.) to count its length and also set it with rawset() method. You can also change the behavior of the length operator (#). Using Lua made me furious because it lacks so many things like data structures and some algorithms/functionality you would consider a standard but later on after spending some time trying to implement things, this made me actually realize how much someone can forget the basics because using a library is a lot easier. It is a crazy small and core language that can be a lot more by using what it provides.

19
@triducal 2024-06-29

as a roblox dev react-lua is extremely useful for creating declaritive ui functionality and makes it alot easier to put together large projects.

17 1 replies
@felipheallef 2024-06-22

Brazil mentioned!

7

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot