From: Jak Sprats <jakspr...@gmail.com>
Date: Thu, 28 Oct 2010 18:23:18 -0700 (PDT)
Local: Thurs, Oct 28 2010 9:23 pm
Subject: Re: 'Crazy' new commands idea.
I see this all related to some other posts
"Lists of hashes" http://groups.google.com/group/redis-db/browse_thread/thread/2ea22f14... "Pipe the results of a command as arguments to another" http://groups.google.com/group/redis-db/browse_thread/thread/d7ec7df9... How can we extend redis to do some new stuff w/o totally obfuscating
I am a fan of IF statements, they can minimise sequential request
I am a bigger fan of what I call EVAL (what other people called
What is cool about bash, is this actually works: (EVAL in bash)
On Oct 28, 5:52 pm, qyloxe <qyl...@gmail.com> wrote:
> Surely it would be tempting to have embedded python or java or ruby
> BUT as I can see it, it's not that level of abstraction. > Python, Java, Ruby are precompiled to bytecodes which runs on their > own virtual machines. > I consider Redis is a virtual machine, too, so it's one level below > those languages. > Redis does excellent job as a VM for data structures. It has
> On 29 Paź, 02:08, Josiah Carlson <josiah.carl...@gmail.com> wrote:
> > If you're going to have a programming language embedded in there, why
> > - Josiah
> > On Thu, Oct 28, 2010 at 4:57 PM, qyloxe <qyl...@gmail.com> wrote:
> > > Please, write the Example 1 in the language of your choice and let it
> > > On 29 Paź, 01:10, Dvir Volk <dvir...@gmail.com> wrote:
> > >> On Fri, Oct 29, 2010 at 12:46 AM, Xiangrong Fang <xrf...@gmail.com> wrote:
> > >> > 2010/10/29 qyloxe <qyl...@gmail.com>:
> > >> >> Conditionals:
> > >> >> IF operand_type_1 operand_1 operator operand_type_2 operand_2
> > >> >> operand_type_1,operand_type_2 -> ["key","value","list"...]
> > >> >> block -> single command or:
> > >> >> BEGIN
> > >> >> BEGINPROCEDURE proc_name args
> > >> >> CALL proc_name args
> > >> >> ====================
> > >> >> IF key mykey1 = value "xx"
> > >> >> ====================
> > >> >> BEGINPROCEDURE myswap key1 key2
> > >> >> CALL myswap mykey1 mykey2
> > >> >> ==============================
> > >> >> REDIS as a virtual machine - wow!
> > >> >> What you think?
> > >> >> --
> > >> > --
> > > --
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||