[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Is Lua+C+SQLite the Holy Trinity of simplicity, speed and sexiness?
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 39
Thread images: 4
Is Lua+C+SQLite the Holy Trinity of simplicity, speed and sexiness?
>>
>>54980037
>lua
>SQLite

C's the only good one of those.

God tier: APL, Coq, FORTH, Idris
>>
>>54980288
>apl
>coq
found the macfag
>>
>>54980311
>found the macfag
>implying APL has anything to do with Apple
>>
>>54980037
>C
>simplicity
Try writing anything longer than fizzbuzz in C and calling it 'simple'.
>>
>>54980328
APL=Apple
Coq=Cock

You tried to fool us -- you fooled no one

You fool
>>
>>54980342
>Every api in C ever
>allocate
>access struct and do shit
>free

>Java
>no function pointers
>no macros
>1000 lines and it still does fucking nothing
>>
>>54980543
RAM is so cheap these days free() belongs to the past
>>
>>54980584
Not for real-time systems, where *any* kind of non-deterministic delay results in no longer being fit-for-purpose.
>>
>>54980584
Have fun with memory leaks idiot
>>
>>54980543
>C
>no lambdas
>have to download an external library just to do basic shit like vectors
>no namespaces, so either everything has a retardedly long name, or you risk conflicts with said external libraries
>retarded struct and enum syntax
>unreadable code due to retarded function names (good luck guessing what ftw does if you don't already know it)
>>
File: qz1etRX.png (260 KB, 1920x1080) Image search: [Google]
qz1etRX.png
260 KB, 1920x1080
>>54980584
Tell that to the Rust game devs
>>
>>54980669
you can implement lambdas with macros, function pointers and gnu c (standard c doesn't allow functions to be defined within other functions)
>>
>>54980779
Buy more RAM jesus christ it's fucking cheap
>>
>>54980037
Lua's syntax is an eyesore
>>
File: cover-full.jpg (132 KB, 540x666) Image search: [Google]
cover-full.jpg
132 KB, 540x666
>>54980037
C + Perl + PostgreSQL. This is your Holy Trinity OP.
>>
>>54980037
that's the holy trinity of no productivity.
>>
>>54981150
>C
>No productivity

What are you, new?
>>
>>54980669
>no lambdas
useless anyway
>external library for vectors
jscuck, amirite? no leftpad either
>no namespaces
you clearly don't know C if you don't know it has namespaces
>guessing
jscuck confirmed! actual programmers know to read documentation, no need for guessing
>>
>>54981084
but postgres isn't lightweight
>>
>>54980037
replace Lua with tcl
>>
>>54981209
>lambdas are useless
thank you for input pajeet
>>
>>54981241
no problem, retards such as yourself need to be educated
for what do you think you NEED lambdas? I'll school you even further
>>
>>54981209
>having to read documentation for every single called function to even have any general idea about what the code is supposed to do
>not understanding lambdas, closures and their use and therefore calling them useless
>thinking that wanting to use anything more useful than bare-bone arrays is automatically a JS user
There's a reason nobody uses them in C++, Java, C# and other languages that actually come with features. C is shit and minimalism in languages leads to shitty code due to having to work around all the lacking features.
Good luck trying to use C's built in function to sort an array of indices (of another array) by the values of the other array without closures, and without using some shitty workaround that makes an one liner in a decent language have 50 lines of code.
>>
>>54981278
For what do you think you NEED anything else than assembly?
It's not about NEEDING them, it's about making the code cleaner and shorter. Especially when dealing with C's lack of closures.
>>
>>54981344
>backpedaling
oh, so now it's closures? I never said anything about closures, I said lambdas are useless; let me guess, you think they're the same thing, right jstard? fuck off
>>54981382
>dealing with C's lack of closures
lambdas are not closures you shit stain """html programmer"""
>>
C, Lua and SDL in my case.
>>
>>54981412
>waaah, my favourite language is an antic piece of shit with no features, so everyone who doesn't like it is a web dev
Kill yourself, retard. Lambdas in any decent language automatically imply closures, see C++, C#, Java. For any situation you run into, you can pick one of those 3 languages and be better off than with C. For performance, C++, and for everything else, C# or Java.
>inb4 muh bloat
>>
Java and python and ruby is good
>>
The poo is strong with this one
>>54981779
>>
lua is shit

this guy has the right idea: >>54981221
>>
>>54981617
Java supported closures before it even got lambdas
>>
http://article.gmane.org/gmane.comp.version-control.git/57918
>>
File: 1463609770533.jpg (138 KB, 720x720) Image search: [Google]
1463609770533.jpg
138 KB, 720x720
>>54982236
>>
>>54982152
And C supports neither.
>>
>>54982481
GNU C supports nested functions, which you can use like lambdas using a well-written macro.
Only gcc and clang support it tho.
>>
>>54981084
>perl
You should stop using this insecure POS.
>>
>>54982248
nice shop
>>
>>54981617
>I don't know the difference between lambda and closure
>I got rekt hard
:^)
Thread replies: 39
Thread images: 4

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.