[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua-l Digest, Vol 5, Issue 130
- From: Shamun toha md <shamun.toha@...>
- Date: Mon, 27 Dec 2010 09:54:23 +0100
Hello Experts,
This is not to underestimate LUA power, nor critic LUA (do not misunderstand my texts).
This is just a bad experience with LUA. I jump to LUA with a very bright future plan, and i stop my team working with PureBasic/JAVA/Python and as Team leader assigned them to use 1 PROGRAMMING LANGUAGE LUA (so that everybody focus 1 and make expertise on 1 language) and guided them please follow MurgaLua/FLTK/ProteaAudio/Luakit/...
After all it took 8 months, 5 developers cant solve it, nothing is done, and they explain also none of LUA is a working libraries, and they require next few years (which was not the reason to try with LUA). I just feel like, i give up tried my self and it looks true.
I am feeling like a loser just advising this to others, facing lot of trouble fixing those, and finally decided, i cant do in a small time frame all those ProteaAudio fix for Lua.
Therefore, i wrote here what exacly LUA and my target was. I also tried to contact ProteaAudio, but alas its a dead ship, no contacts available. At the end i am realizing that its IMPOSSIBLE with LUA.
LUA is just a scripting language. And all other libraries that pops up in google, is just a third party maintained add-ons, which is really hard to get on time, and launch a project faster. Which we did with PureBasic language, just plug and code and deploy. This is not the same concept for LUA.
Thanks & RegardsShamun
--
************************************************************************
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material.
Any review, retransmission, dissemination, or other use of this information, or taking of any action in reliance upon it by persons or entities
other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
Message: 1
Date: Mon, 27 Dec 2010 00:51:38 +0100
From: "H. Diedrich" <hd2010@eonblast.com>
Subject: Re: Strange with Lua, very upset.
To: Lua mailing list <lua-l@lists.lua.org>
Message-ID: <4D17D50A.60106@eonblast.com">4D17D50A.60106@eonblast.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi Shamun,
you absolutely want to use VB!
It has a strong, responsive company behind it, you can always turn to in =
times of need, the community might be a way better fit for your =
demanding - schedule. You can avoid that low level C hassle, God speed, =
all that. VB! Or, of course, Java maybe.
Henning
Shamun toha md schrieb:
> Hello Experts,
>
> It seems like i was very excited with Lua, but many good features of =
> Lua does not exist (flavor exist but not working, cant smell the test =
> yet), which could have allowed me to move with the speed of light or =
> at least speed of sound!!, for solving all my JAVA/VB.net related =
> projects.
> =
> - Lot of common programming language features and libraries are well =
> organised and completely bit other languages. =
> - Few very important module that i required for my fast deploy =
> project, does not exist or not completely working, having bug or etc =
> etc issues (not just plug and code)
>
> Example:
> - Luakit for WebKit
> - Lua for Proteaaudio
> - Lua for latest greatest FLTK
> - MurgaLua
> - Lomp
> * rest no idea, maybe same like above ? It will be then a nightmare =
> trying with Lua ( i should just go to PureBasic/Vb.net or stick with QT ?)
>
> Is it still a good idea to move forward with Lua for Micro/Low level =
> audio software development ? Or its better not now do it after 2/3 =
> years later ? I am confused, did tried ProTeaLua but its a hell still, =
> i need to prepare whole C/C++ code compatible for Lua. After that i =
> can test how it works.
>
> Please kindly advise or suggest, how can i focus Lua for this ?
>
> Thanks & Regards
> Shamun
>
> -- =
>
> ************************************************************************
> The information transmitted is intended only for the person or entity =
> to which it is addressed and may contain confidential and/or =
> privileged material.
> Any review, retransmission, dissemination, or other use of this =
> information, or taking of any action in reliance upon it by persons or =
> entities
> other than the intended recipient is prohibited. If you received this =
> in error, please contact the sender and delete the material from any =
> computer.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://vlists.pepperfish.net/cgi-bin/mailman/private/lua-l-lists.lua.o=
rg/attachments/20101227/154167d6/attachment-0001.htm
------------------------------
Message: 2
Date: Sun, 26 Dec 2010 16:02:27 -0800
From: beo wulf <beowulf@intamp.com>
Subject: Re: SLB vs LuaBind
To: Lua mailing list <lua-l@lists.lua.org>
Message-ID:
<AANLkTimFRbow3Wi4jNeTvHMfhEGoGKoVpVD=Mr0k1TME@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi Jose,
I just tried Luabind + lua 5.2 -- doesn't compile (due to function
environments, which are not replaced with lexical environments). Any plans
to port SLB to work with lua 5.2?
Thanks!
On Sun, Dec 26, 2010 at 11:07 AM, Jose Luis Hidalgo <
joseluis.hidalgo@gmail.com> wrote:
> Hi starwing,
>
> On Sun, Dec 26, 2010 at 7:23 PM, starwing <weasley.wx@gmail.com> wrote:
> > Does SLB support function overload? it's a useful feature.
> >
>
> Mmm... sorry, but no. The problem is lua type marshaling with C++
> types, there are many ways a type can be "converted" from lua to a C++
> function/method signature. Overloading could be possible for different
> number of arguments, though, but no for different signatures with the
> same number of arguments, and I didn't want to support partial
> overloading.
>
> BTW, the search for the proper method to call will add a significant
> overhead, SLB is meant to be as faster as possible, near to a
> hand-coded wrapper. What I usually do with overloading is register
> each function with a different name in lua, which is not as handy as
> overload support, but it works.
>
> Cheers,
> JL.
>
> PS: I'm working on registering accessors to instances' attributes,
> but, I'm not sure about how use it from lua properly, do you have any
> insights?
>
> --
> Jose L. Hidalgo Vali=F1o (PpluX)
> ---- http://www.pplux.com ----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://vlists.pepperfish.net/cgi-bin/mailman/private/lua-l-lists.lua.o=
rg/attachments/20101226/09bfd503/attachment-0001.htm
------------------------------
Message: 3
Date: Mon, 27 Dec 2010 11:55:23 +0900
From: ???(callin) <callin2@gmail.com>
Subject: jQuery like lua table query lib
To: lua-l@lists.lua.org
Message-ID:
<AANLkTinRxNPzxQ26O6COcupnvXrwZKtEZZJA+Z1draKv@mail.gmail.com>
Content-Type: text/plain; charset="euc-kr"
SGkgYWxsIGx1YSBsb3ZlcnMhCgpmZXcgd2Vla3MgYWdvIEkgbmVlZCBsaWIgd2hpY2ggYmVoYXZl
IGxpa2UgalF1ZXJ5IG92ZXIgbHVhIHRhYmxlLgpJIHNlYXJjaCBpdCBidXQgY2Fubm90IGZpbmQu
IHRoZW4gSSBjb2RlZCBpdCBmb3IgbWUuCkFuZCBJIGd1ZXNzIGl0IG1heSB1c2VmdWwuCmJlbG93
IGlzIHNhbXBsZS4KSXQgdXNlcyBMcGVnKDAuOSkKYW55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gZnI6ZWFjaCgpIGRvCglwcmludCgndDInLHQpCmVuZAoKZnIgPSBscXJv
b3Q6ZmluZCgnL1t0YWc9ImEiXS9bdGFnPSJjIl0nKQoKZm9yIHQgaW4gZnI6ZWFjaCgpIGRvCglw
cmludCgndDMnLHQpCmVuZAoKZnIgPSBscXJvb3Q6ZmluZCgnL2EvYSBjJykKCmZvciB0IGluIGZy
OmVhY2goKSBkbwoJcHJpbnQoJ3Q0Jyx0KQplbmQKCmZyID0gbHFyb290OmZpbmQoJyNxcScpCgpm
b3IgdCBpbiBmcjplYWNoKCkgZG8KCXByaW50KCd0NScsdCkKZW5kCgpmb3IgdCBpbiBscXJvb3Q6
ZmluZCgnLmInKTplYWNoKCkgZG8KCXByaW50KCd0NicsdCkKZW5kCgpmciA9IGxxcm9vdDpmaW5k
KCcuYycpCgpmb3IgdCBpbiBmcjplYWNoKCkgZG8KCXByaW50KCd0NycsdCkKZW5kCgoKLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KCgotLSAKwNPDosH4KHJpbS5jaGFuZy5qaW4p
Ci0tLS0tLS0tLS0tLS0tIG5leHQgcGFydCAtLS0tLS0tLS0tLS0tLQpBIG5vbi10ZXh0IGF0dGFj
aG1lbnQgd2FzIHNjcnViYmVkLi4uCk5hbWU6IGxxdWVyeS5sdWEKVHlwZTogYXBwbGljYXRpb24v
b2N0ZXQtc3RyZWFtClNpemU6IDY5OTAgYnl0ZXMKRGVzYzogbm90IGF2YWlsYWJsZQpVcmwgOiBo
dHRwOi8vdmxpc3RzLnBlcHBlcmZpc2gubmV0L2NnaS1iaW4vbWFpbG1hbi9wcml2YXRlL2x1YS1s
LWxpc3RzLmx1YS5vcmcvYXR0YWNobWVudHMvMjAxMDEyMjcvYWJiYTQ3OWUvbHF1ZXJ5LTAwMDEu
b2JqCg==
------------------------------
Message: 4
Date: Sun, 26 Dec 2010 20:19:45 -0700
From: HyperHacker <hyperhacker@gmail.com>
Subject: Re: jQuery like lua table query lib
To: Lua mailing list <lua-l@lists.lua.org>
Message-ID:
<AANLkTikMFUSqymxh-MSSSnU=ko4G-ucBb69vhqoc5=LG@mail.gmail.com>
Content-Type: text/plain; charset=EUC-KR
2010/12/26 임창진(callin) <callin2@gmail.com>:
> Hi all lua lovers!
>
> few weeks ago I need lib which behave like jQuery over lua table.
> I search it but cannot find. then I coded it for me.
> And I guess it may useful.
> below is sample.
> It uses Lpeg(0.9)
> anybody can use/improve it freely. feedback is welcome.
> --------------------------------
>
> require "lquery"
> require "base" -- this is optional for table pretty print
>
> -- table for test
> local root = {tag='a',
> {tag='c', 1,2,3},
> {tag='a',b='xxx',
> {tag='c',id='qq',age=33, class='a b c'},
> {tag='c',id='qq123',age=34, class='a b'},
> },
> }
>
> local lqroot = lquery.new(root)
> assert( lqroot:get(1) == root , 'it must be equal')
>
> --[[
> '=' : equal
> '^=' : startwith
> '$=' : endWith
> '~=' : contains
>
>
>
> '/a/c' ===> '/[tag="a"]/[tag="c"]'
> 'c' ===> '*[tag="c"]'
> '#xxx' ===> '*[id="xxx"]'
> '.xxx' ===> '*[class~="xxx"]'
>
> ]]
>
>
> local fr = lqroot:find('c')
>
> for t in fr:each() do
> print('t1',t)
> end
>
> print( fr:get(3)) -- {age=34,name=qq123,tag=c}
>
> fr = lqroot:find('/a/c')
>
> for t in fr:each() do
> print('t2',t)
> end
>
> fr = lqroot:find('/[tag="a"]/[tag="c"]')
>
> for t in fr:each() do
> print('t3',t)
> end
>
> fr = lqroot:find('/a/a c')
>
> for t in fr:each() do
> print('t4',t)
> end
>
> fr = lqroot:find('#qq')
>
> for t in fr:each() do
> print('t5',t)
> end
>
> for t in lqroot:find('.b'):each() do
> print('t6',t)
> end
>
> fr = lqroot:find('.c')
>
> for t in fr:each() do
> print('t7',t)
> end
>
>
> -----------------------------------
>
>
> --
> 임창진(rim.chang.jin)
>
It looks quite useful, but I think "~=" will be confusing for some,
because it means "does not equal" in Lua.
--
Sent from my toaster.
------------------------------
_______________________________________________
lua-l mailing list
lua-l@lists.lua.org
http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/lua-l-lists.lua.org
End of lua-l Digest, Vol 5, Issue 130
*************************************