Do you like bazillian language?
>>109875412More like bazedilian language am I right?
>>109875412
>>109875412yes
>>109875412extremely overrated
>>109875447Lua is an overhated language actually
>>109875434Whoever sexualizes Lua should be placed against a concrete wall, sedated, and then shot behind the ear with a .22 caliber hollow point.
>>109875491there's nothing sexual here? it's just cute, no?
>>109875491>sees cute girl>immediately thinks of sexYour problem
>>109875501>>109875505You know exactly what you're doing. I won't waste my time reasoning with archonic parasites that wear the face of humans. Fuck you both.
>>109875505There is no problem.> Lua chanSEX
>>109875522???get well soon
>>109875546Extremely weak gaslighting attempt.I'll be well when you're rotting in the ground. So sick if you lolicon degenerates shitting up every single website you touch and then crying victim when you get called out. Fuck you. If this was the Wild West I'd quick draw your crusty weeb ass.
>>109875568Lua is old though.
Uh oh melty
>>109875434>>109875436>programmers imagining themselves as womenas always
>>109875412I'm thankful for it because it became the standard videogame modding language and simplified a lot of things related to it but I still think it's "Python, but worse"
>>109875568literally nothing you said applies to me, i only like men
>>109875638Based faggot
>>109875412More like bazinga language!>>109875505Rapist board sadly
>>109875505There isn't a single image where she is wearing pants, also the maid costume is sexual.
>>109875632Python but good you mean>>109875436how does Lua-chan feel about her older C-ster?>>109875491Nothing wrong with liking cute girls
>>109875412Please someone do the sneedful and port love2d and lovr to web.
Daily reminder the most sophisticated malware was written in Lua.
>>109875758Wouldn't that be stuxnet? >>109875600The programmer isn't pictured, the language is.
>>109875753https://github.com/Davidobot/love.js
>>109875412Nobody likes sl polluting huehuehue fags except other retarded sl polluting huehuehue fags and even then its few and far between.
>>109875810It doesnt work.
>>109875838It doessource: was using it myself several months ago
>>109875888Have you tried it with a real game once?
>>109875418you are not. more like bozollian language
>>109875916Yes it's easy. If the game targets the wrong LOVE version you can just fix that on a case by case basis. And some features are disabled because they don't make sense for web, so just stub them out. Also use the compatibility mode.
sexo
>>109875933Maybe I'm a retard. Never could make my games run on it but there are a lot of browser playable games that uses love2d on itchio.
>>109875412I'm learning it because some gamedev and networking stuff I've been looking at uses it and once again it reinforces my observation that no good language ever becomes popular.Just embed a Scheme instead of coming up with nth half-assed scripting language, damn it.It's better than Python and JS for its intended use cases, but less convenient to use than them.
>>109875412what do you even do with it outside of video game scripting
>>109876137pychan needs bigger boobs, and be fatter and more bloated in general
What makes Lua do cute and embedable?
>>109876137>Don't make scripting languagesYou expect 4chan scriptkiddies to write compilers?
>>109876196learn to read fag
I like it a lot. Everytime I encounter something with some DSL, I just end up thinking "this should really just have been lua". Using lua as the config language is also just the objectively best way to handle configs.
>>109876556Learn to be less gay fag
I used to mess around with lua and love2d years ago, now I learned C and made a little game with it, it was a lot of fun and I want to make another. I think integrating lua with C and using both would be interesting, but I don't really know what for, which parts should I use lua for. Anyone here has done something like it?
>>109875412No I only like scala
>>109876887The classic C+Lua combo is to write the engine and rendering code in C, and then use Lua for gameplay scripting (expose primitives to it like creating entities and changing game state flags and such)This is the way Lua was meant to be used
>>109875568Are you hiding skeletons in your closet? It's a tale as old as time when it comes to harassing lolicons
>>109876137>some gamedev and networking stuffjust say roblox
>>109877375This is a PUC Lua thread, fuck off.
>>109875436>>109875434Is Lua-chan Catholic?
>>109875412No. Lua sucks
>>109875412Portuguese? I'm indifferent to it.
>>109879399NO. PICK LEFT OR RIGHT GOY
>>109877679Yes, only oral and anal until marriage.
>>109875455This, I've never seen more hate for a language thats as unfounded as the hate for Lua. It's the only embedded language worth using.
would be perfect if not for the 1 based indexing
>>109880396It's a non-issue1 based indexing is possibly one of the biggest programming midwit filters of all time
>>109880435I just prefer it to match the data offset, I'm not saying that it's a big issue however it's something to remember when coming from most other languages
>>109880557Lua tables are mixed value key/value pair dictionaries with no fixed size or offset, and the array component is an implementation detail that isn't in the spec.
>>109880435I tend to agree with you, however Lua is probably the last language I would think such a design decision makes sense. Lua was conceived to be inserted into C code so of all the languages it is the one I would expect to follow C's conventions closely.
>>109875412>>109876937What fun projects do you guys recommend to learn C and Lua simultaneously?
how's openresty? i want to check it out.
>>109882478Seconding this
>>109882478a simple x11 window manager would be cool
scripting languages aren’t really worth using. they’re for people who don’t know how to program and for sandboxing and that’s about it.
>>109882478Write a program in C, compile it like a library and then orchestrate it from Lua.
>>109882478Don't
>>109883690Whyn't?
>>109883739Lua nigger and C sucks
>>109883744Proper English please.
>>109883744Respond in English instead of 4Chan brainrot please.
>>109883757jinx!
>>109883219They're for runtime configuration and scripting of a pre-existing compiled program, idiot nocoder.
>>109883765You can easily do those in C unless you're talking about orchestrating C functions from Lua... which can still be done in C but Lua is actually slightly easier by that point.
>>109883782What do you do when the program is already compiled and you need to extend it somehow?
>>109883797Then you'e designed the program inefficiently, you should be easily able to recomp while maintaining a consistent API with strategy, facade and factory (if OOP) patterns doing the heavy lifting, the implementation/definitions should be broken up in to smaller files for faster and more modular recomp. Don't get me wrong bro I love Lua a lot but I do worry that some devs rely on it too much as a crutch.
>>1098830Hyprland uses Lua now. You could contribute to the project.
>>109883765if you’re using a 30k loc dependency for “runtime configuration” you are deranged. you might as well wrap your program in electron because that’s how much of a niggerlicious retard you’re beingand “scripting” is worse than hot reloading by every metric unless again, you explicitly need sandboxing
>>109884177I agree but you are absolutely insufferable.
>>109883797Then you'd still need to recompile it to use the script unless you randomly save a path for a script that might be used which in turn means you just badly designed your program.
>>109882897It's good, for backend web dev try Lapis
>>109884244But sometimes you do want to add some extra customization without needing to recompile. Such as creating plugins, mods, or really flexible settings.For example I like using lua scripts to make easily configurable state machines for my devices, particularly mice and game controllers. Really lets you step out of the boundaries of simple remappers.
My favorite chan platform was written in Lua. I have modified it to be hacker proof.
When I was still a teen and knew zero things about programming, I downloaded a Minecraft mod that added computers that ran Lua scripts, so I basically bruteforced myself to learn programming just for a game. I never use it nowadays but it holds a small place in my heart.
>>109883219Lisp is an interpreted language and was used to create operating system, older than C.You're a retard and a zoomer.
>>109885089Lapis chan is coolI hope you open sourced your version
many great creators take inspo from bazil
>>109885110ComputerCraft is real gangster shitThere's still a version of it available today https://tweaked.cc
>>109876137>Just embed a Scheme instead of coming up with nth half-assed scripting languageScheme is a half-assed scripting language
>>109885174
>>109884177use assembly if you care about performance, fucktardC is still abstracted
>>109884177LoC is a niggerlicious way to measure the size of a library, comparing it to electron is disingenuous since Lua only adds 100kb-200kb to your binary
>>109885166Its pico and I will eventually release it once I can get in touch with the original author and get them to put a license in it.
>>109885210you're talking to a retardhe's seething at an embedded language designed to make mods/plugins, comparing it to compiled language, which makes no fucking senseembedded and compiled languages serve different purposehe's typing this shit while his compiled web browser uses extension written in js, using his logic then he should write the extension in C and recompile the web browser every time he adds new extensions
>>109885210>>109885292I was pointing out what a bad idea it is to make an entire scripting language a hard dependency for a config parser.>200kbit's not about size (though size correlates), it's about onloading additional complexity needlessly. you can count semicolors if that makes you feel better instead. the point is if you just wrote the thing that minimally does what you need would be more like 5kib max instead of 200the rest of this is is just strawmanning and being disingenuous, I explicitly acknowledged the need for sandboxing.>>109885195assembly isn't portable and you don't need to use assembly to not pessimize your software for no good reason