About the Cassandra compiler
Distributed NoSQL database. Runs on VM backend. Run Cassandra code in your browser with no install and no signup — the editor, the input and the output share one screen. Cassandra compiles and runs on your own device through WebAssembly, so once the page has loaded it keeps working without a network connection.
Press Run to execute the program, edit it and press Run again, or paste your own code over it. Everything you type stays in the page; the editor caches your work locally so a reload does not lose it.
A Cassandra example
This is the program the Cassandra editor opens with — run it as it is, then change it.
-- Cassandra: Distributed NoSQL database
-- Create keyspace and table
CREATE KEYSPACE IF NOT EXISTS demo WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
USE demo;
CREATE TABLE IF NOT EXISTS users (
id UUID PRIMARY KEY,
name TEXT,
email TEXT,
age INT
);
-- Insert data
INSERT INTO users (id, name, email, age) VALUES (uuid(), 'Alice', '[email protected]', 28);
INSERT INTO users (id, name, email, age) VALUES (uuid(), 'Bob', '[email protected]', 32);
INSERT INTO users (id, name, email, age) VALUES (uuid(), 'Charlie', '[email protected]', 25);
-- Query data
SELECT name, email, age FROM users;
More Databases compilers
Browse all 109 languages — the same editor runs each of them, in the browser or on a shared runner.