GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • crossa-script
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles

This view

  • Original page
  • New address

GeezerVison is showing github.com — Crossa Script

README.md
Crossa — Compiler-Powered Native Runtime

Crossa

Build once. Execute natively. Ship everywhere.

Crossa is a compiler-powered native runtime platform that turns shared .cra definitions into high-performance Android and iOS APIs backed by a common C++ runtime.


C++ Android iOS Kotlin Swift


What is Crossa?

Mobile applications often implement the same backend layer twice:

Backend
   │
   ├── Android → DTOs, networking, parsing, errors
   └── iOS     → Models, networking, parsing, errors

Crossa replaces that duplication with a shared compiler and native runtime.

.cra Source
     │
     ▼
Crossa Compiler
     │
     ▼
Typed Crossa IR
     │
     ▼
C++ Native Runtime
     │
 ┌───┴────┐
 ▼        ▼
Kotlin   Swift
 │        │
 ▼        ▼
Android  iOS

The expensive work — networking, serialization, parsing, scheduling, memory ownership, and native models — stays in C++.

Android and iOS receive clean generated APIs.


Write Once

model User(
    id: Int,
    name: String
)

@AsyncAfter
fun getUser(id: Int): User {
    re CrossaRequest {
        path: "/v1/users/#id",
        method: GET
    }
}

Crossa compiles this into a native request plan:

Android / iOS
      │
      ▼
Generated API
      │
      ▼
Crossa C++ Runtime
      │
      ├── Request encoding
      ├── Networking
      ├── Response buffering
      ├── Native parsing
      ├── Native models
      └── Error / async state
      │
      ▼
Success(User)
Failed(CrossaError)
Cancelled

No separate Retrofit, Ktor, or URLSession implementation is generated.


Why Crossa?

Crossa is designed around a few core principles:

  • C++ owns the hot path
  • One shared execution model
  • Native request and response processing
  • Thin Kotlin and Swift bindings
  • Fewer allocations and memory copies
  • Fewer JNI / native boundary crossings
  • Compile-time specialization over runtime reflection
  • Deterministic generated APIs
  • Native-backed models and collections
  • Shared behavior across Android and iOS

Compiler Pipeline

.cra
 │
 ▼
Lexer
 │
 ▼
Parser
 │
 ▼
AST
 │
 ▼
Semantic Analysis
 │
 ▼
Typed IR
 │
 ▼
Optimization + Linking
 │
 ├───────────────┐
 ▼               ▼
Native Runtime   Generated APIs
                 │
            ┌────┴────┐
            ▼         ▼
          Kotlin     Swift

.cra is parsed once by the canonical C++ frontend.

Kotlin and Swift never implement their own Crossa parser or runtime semantics.


Android & iOS

Android iOS
API Kotlin Swift
Core C++ C++
Distribution AAR XCFramework
Networking Native Native
Parsing Native Native
Scheduling Native Native
Platform layer Thin binding Thin binding

More Than Networking

Networking is the first production Crossa module, but the runtime is designed as a larger native platform.

                  Crossa Runtime
                        │
        ┌───────────────┼───────────────┐
        ▼               ▼               ▼
   Networking       Database        Realtime
                                    │
                              ┌─────┴─────┐
                              ▼           ▼
                         WebSocket      Sockets

Future runtime capabilities can include:

Database · WebSocket · Raw Sockets · Binary Protocols · Streaming · Cache · Files · Compression · Crypto · Telemetry

All built on the same compiler, runtime core, scheduler, memory model, and native ABI.


What Crossa Is Not

Crossa is not:

  • a Kotlin Multiplatform replacement
  • a UI framework
  • a general-purpose programming language
  • a Retrofit or Ktor clone
  • an OkHttp or URLSession replacement implemented twice
  • a generic JSON library

Crossa is a compiler-powered native runtime platform with generated platform APIs.


One compiler. One runtime. Native everywhere.

Crossa

Pinned Loading

  1. Crossa Crossa Public

    Scripting Language that Execute, Translate Scripts from Crossa Language to Native Libraries

    C++

  2. website website Public

    Crossa Website Written in React.js, Tailwind CSS

    TypeScript

Repositories

Loading
Type
Language
Sort
Showing 6 of 6 repositories
  • Crossa Public

    Scripting Language that Execute, Translate Scripts from Crossa Language to Native Libraries

    Uh oh!

    There was an error while loading. Please reload this page.

    crossa-script/Crossa's past year of commit activity
    C++ 0 Apache-2.0 0 0 0 Updated Sep 9, 2026
  • website Public

    Crossa Website Written in React.js, Tailwind CSS

    Uh oh!

    There was an error while loading. Please reload this page.

    crossa-script/website's past year of commit activity
    TypeScript 0 Apache-2.0 0 0 0 Updated Sep 9, 2026
  • crossa-script.github.io Public

    The Crossa Website

    Uh oh!

    There was an error while loading. Please reload this page.

    crossa-script/crossa-script.github.io's past year of commit activity
    HTML 0 0 0 0 Updated Sep 9, 2026
  • android-example Public

    Android Demo Application That read Crossa Files, Generate Library via CLI and Test

    Uh oh!

    There was an error while loading. Please reload this page.

    crossa-script/android-example's past year of commit activity
    Kotlin 0 Apache-2.0 0 0 0 Updated Sep 9, 2026
  • ios-example Public

    IOS Example Build Testing for Crossa Compiler

    Uh oh!

    There was an error while loading. Please reload this page.

    crossa-script/ios-example's past year of commit activity
    Swift 0 Apache-2.0 0 0 0 Updated Sep 9, 2026
  • .github Public

    Global Readme for Crossa Script

    Uh oh!

    There was an error while loading. Please reload this page.

    crossa-script/.github's past year of commit activity
    0 0 0 0 Updated Sep 8, 2026

People

@Yazan98

Top languages

Loading…

Uh oh!

There was an error while loading. Please reload this page.

Most used topics

Loading…

Uh oh!

There was an error while loading. Please reload this page.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.