DocumentCode :
2458579
Title :
A Deep Embedding of Queries into Ruby
Author :
Grust, Torsten ; Mayr, Manuel
Author_Institution :
Dept. of Comput. Sci., Univ. Tubingen, Tubingen, Germany
fYear :
2012
fDate :
1-5 April 2012
Firstpage :
1257
Lastpage :
1260
Abstract :
We demonstrate SWITCH, a deep embedding of relational queries into Ruby and Ruby on Rails. With SWITCH, there is no syntactic or stylistic difference between Ruby programs that operate over in-memory array objects or database-resident tables, even if these programs rely on array order or nesting. SWITCH\´s built-in compiler and SQL code generator guarantee to emit few queries, addressing long-standing performance problems that trace back to Rails\´ Active Record database binding. "Looks likes Ruby, but performs like handcrafted SQL, " is the ideal that drives the research and development effort behind SWITCH.
Keywords :
SQL; program compilers; query processing; relational databases; Rail Active Record database binding; Ruby on Rails; Ruby program; SQL code generator; SWITCH; array order; built-in compiler; database-resident tables; in-memory array object; nesting; relational query deep embedding; stylistic difference; syntactic difference; Arrays; DSL; Databases; Rails; Runtime; Switches; Syntactics;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering (ICDE), 2012 IEEE 28th International Conference on
Conference_Location :
Washington, DC
ISSN :
1063-6382
Print_ISBN :
978-1-4673-0042-1
Type :
conf
DOI :
10.1109/ICDE.2012.121
Filename :
6228182
Link To Document :
بازگشت