Search found 38 matches

by evölbug
Sun May 07, 2017 7:28 am
Forum: General
Topic: Looking for Lua Teacher
Replies: 4
Views: 610

Re: Looking for Lua Teacher

I know that there's hundreds of thousands of material at my disposal, like Google, Youtube, Lua forums, or even the reference manual for Lua. But i don't like working by myself. When i try to do it by myself, my thought process goes blank. The lua reference manual, said it yourself. There's also ht...
by evölbug
Fri May 05, 2017 5:21 am
Forum: General
Topic: Terminal-based workflows: what are you rockin'?
Replies: 8
Views: 785

Re: Terminal-based workflows: what are you rockin'?

terminal: xfce4-terminal; because it doesn't have a lot of dependencies and is customizable. shell: bash; gool ol' bash, i'm used to it editor: micro; i found this editor by accident and i've fallen in love with it. it's customizable, well made and fast. music: cmus; a customizable and small music p...
by evölbug
Tue May 02, 2017 5:23 am
Forum: Libraries and Tools
Topic: Error handler that asks user to report crash
Replies: 26
Views: 2070

Re: Error handler that asks user to report crash

Oh hey, this looks quite useful! Never knew I wanted a custom handler until I saw this one :P
by evölbug
Fri Apr 28, 2017 4:43 am
Forum: Libraries and Tools
Topic: Textured Polygons for All!
Replies: 134
Views: 18239

Re: Textured Polygons for All!

I highly doubt you'd get sued, the forum post itself strongly suggests that the user wants you to use their project. You can credit the user (because it's a nice thing to do). After hours of thinking and math, here's what everyone's been waiting for! ... I'm so excited to see what people will make w...
by evölbug
Tue Apr 25, 2017 7:06 pm
Forum: Libraries and Tools
Topic: clasp - tiny class library
Replies: 29
Views: 2184

Re: clasp - 8 lines of class

oh, missed about the proto, fixed it and clumped the lines more, now it's 4

thanks for the tests!
by evölbug
Tue Apr 25, 2017 6:30 pm
Forum: Libraries and Tools
Topic: clasp - tiny class library
Replies: 29
Views: 2184

Re: clasp - 8 lines of class

I posted it for both feedback and announcement, and really thanks for all the suggestions and inspiration. but as you're aware you haven't figured out how to "do it decently" yet, it would be good to let people know that it's not ready for actual use. Well, it was/is in theory ready for use, maybe s...
by evölbug
Mon Apr 24, 2017 6:31 am
Forum: Libraries and Tools
Topic: clasp - tiny class library
Replies: 29
Views: 2184

Re: clasp - 8 lines of class

It's not so slow that I'd give up the readability of objects for a few nanoseconds of performance. Parsing the whole class structure and copying down everything on inheritance is not much better, even if it only happens once in declaration. Just 3 levels of inheritance creates an unreadable cyclic f...
by evölbug
Mon Apr 24, 2017 5:20 am
Forum: Libraries and Tools
Topic: clasp - tiny class library
Replies: 29
Views: 2184

Re: clasp - 8 lines of class

I'm not that concerned about performance as it appears to be a bit faster than middleclass according to its performance test. Now, it isn't a real world scenario so I don't know if it's actually faster on heavily packed classes.
perf.png
perf.png (13.95 KiB) Viewed 955 times
by evölbug
Mon Apr 24, 2017 4:52 am
Forum: Libraries and Tools
Topic: clasp - tiny class library
Replies: 29
Views: 2184

Re: clasp - 8 lines of class

Reading metamethods directly from class will break their inheritance on longer chains, because pairs() doesn't read the __index tree, which is mandatory for them to be inherited correctly. Of course I could manually check for each individual metamethod to trigger __index lookup, but that'd expand th...
by evölbug
Sun Apr 23, 2017 8:22 pm
Forum: Libraries and Tools
Topic: clasp - tiny class library
Replies: 29
Views: 2184

Re: clasp - 13 lines of class

though your spread out approach inspired a more compact solution i have arrived at now