Home Update Google’s Logica language addresses SQL’s flaws

Google’s Logica language addresses SQL’s flaws

246
Google’s Logica language addresses SQL’s flaws


Google has unveiled the open supply Logica programming language, a logic programming language designed to “solve problems of SQL” through the use of syntax of mathematical propositional logic slightly than pure language.

Introduced on April 12 as a successor to Google’s Yedalog language, Logica is a Datalogic-like logic language. Meant for engineers, knowledge scientists, and different specialists, it compiles code to SQL and runs on the Google BiqQuery cloud-based knowledge warehouse, with experimental help for PostgreSQL and SQLite. But Logica is extra concise and helps reusable abstractions not like SQL. It additionally helps modules and imports, can be utilized from an interactive Python pocket book, and makes testing queries straightforward and pure, Google builders wrote in a weblog submit.

Logica solves issues of SQL through the use of syntax of mathematical logic slightly than pure English language. Google cited points with SQL such because the verbosity of setting up statements from English phrases and restricted help for abstraction. Logica extends classical logic programming syntax, notably with aggregation. It is billed as a declarative language for knowledge manipulation.

The Google builders behind the Logica open supply venture encourage its use within the following situations:

  • Where logic programming is already getting used however a person wants extra computational energy
  • Where SQL is getting used however the person just isn’t glad with its readability
  • Where builders need to be taught logic programming and apply it to large knowledge processing

Google has arrange a tutorial to assist builders be taught Logica. To run logic packages on Google Cloud BigQuery, builders might want to open a Google Cloud Project. Once a venture is established, builders can run Logica packages in Colab by offering a venture ID. To run Logica domestically, builders want Python 3.

Copyright © 2021 IDG Communications, Inc.



Source hyperlink

LEAVE A REPLY

Please enter your comment!
Please enter your name here