Skip to content

Funding and Sponsorship

Ivan Ogasawara edited this page Nov 26, 2026 · 2 revisions

ArxLang — 12-month implementation plan

Technical companion to the funding pitch | November 2026
Duration: 12 months from funding start. Capacity: one full-time maintainer.
Ivan Ogasawara · Author and lead maintainer · ivan.ogasawara@gmail.com

1. Objective and scope

Deliver a first-generation Apache Arrow-native data infrastructure for Arx and the compiler, language, native interoperability and scientific library foundations needed to use it independently. Arrow is the primary deliverable, not a requirement that every Arx container use Arrow storage. Dense tensor algorithms may use appropriate numerical libraries. Complete means satisfying a bounded, published capability matrix, not wrapping every Arrow C++ API.

The existing compiler and native Arrow foundations will be reused. The architecture proposal #215, modularity proposal #145 and language milestones #142 guide the work. These are proposals or historical snapshots, not proof of current implementation status. At funding start, audit main at a pinned commit, including tests, manifests, CI, native ABI and open/merged issues; publish the baseline and reconcile the scope. No funding milestone depends on rewriting completed work.

2. Architecture

Arx / ArxJIT frontends -> ASTx
                         -> IRx analysis
                         -> verified semantics
                         -> target-neutral transforms / normalization
                         -> LLVM code generation
                         -> registered native runtime features / linking
                                  |-- Arrow C++
                                  |-- native-library adapters
                                  `-- task / parallel runtime

Arx libraries: numerical foundation, SciArx, Vizx, ADBCx reference adapter, optional ML integration
Interchange: Arrow C Data / C Stream / IPC; explicit dense buffer adapters

ASTx stays language-agnostic. IRx analysis owns types, symbols, conversions, imports and ownership; hosts discover source modules. Verification and transforms consume resolved records, and LLVM codegen does not rediscover semantics. Reuse semantic sidecars and CompilationSession, introducing separate structures only where justified. Preserve legacy APIs and registered native feature boundaries. Arrow C++ remains behind opaque handles and C ABI adapters; generated LLVM never embeds Arrow C++ layouts.

3. Work packages and capacity

The program allocates 48 working weeks (1,920 hours at 40 hours/week), with four calendar weeks outside this allocation. The work packages account for 44 weeks of planned engineering and four working weeks of reserve for technical uncertainty.

WP Scope Weeks
1 Apache Arrow data infrastructure 12
2 Compiler architecture modernization 6
3 Core language, standard library and packaging 6
4 Native-library interoperability 4
5 Asynchronous and parallel execution 3
6 Numerical foundation and SciArx 5
7 Vizx 3
8 Quality, releases, documentation and community 5
Engineering reserve 4
Total 48

These are effort allocations, not simultaneous staffing assignments. Quality activities also form part of each feature's completion criteria. Optional ML, Dataset or expanded coverage work is undertaken only after core acceptance, using capacity freed by completed work or separately funded extensions.

WP1 — Apache Arrow data infrastructure (12 weeks)

Deliver an interoperable CPU data stack with a common set of native resource and status contracts. Establish a type/operation matrix in Month 1; prioritize existing implementations and extend coverage based on reference applications.

Area Required first-generation scope Conditional or deferred
Data types Booleans, selected integer/floating widths, UTF-8, nullability; binary and temporal subset where needed for demonstrations Comprehensive nested, decimal, dictionary, extension and device types
Containers Existing Series, DataFrame, RecordBatch, arrays/chunked arrays; supported dense tensor shapes and views Comprehensive tensor operations, sparse and GPU containers
Compute Arithmetic, comparison, null handling, selection/filter/take, casts, core reductions and basic sorting; documented supported type combinations Broader string, temporal and statistical kernel coverage
Data I/O Supported CSV, Parquet and Arrow IPC read/write paths; bounded RecordBatch streams Full Dataset scanning, Acero query plans, direct Flight clients, broad ADBC driver coverage (WP4 owns the reference adapter)
Interchange Arrow C Data and C Stream import/export; schema, offsets, nulls and release callbacks; IPC across process boundaries Device data interchange and every third-party adapter

Prefer Arrow Compute over duplicate native kernels where its numerical and null semantics match Arx. Reject unsupported combinations explicitly; use status checks before reading output slots. Document copy, borrow, retain and transfer rules; verify release on success and failure. C Data and C Stream are in-process contracts, not distributed transport, and do not by themselves define general dense-tensor interchange. Use explicit shape/stride/ownership adapters for dense tensors where needed.

Acceptance: native application round-trips supported schemas and data with PyArrow, plus a second external producer or consumer (candidate: DuckDB); compatible zero-copy paths demonstrated and lifetime-tested; bounded-memory streaming measured at increasing input sizes; empty/null/chunked/offset/error and ownership cases tested. Provide public extension instructions and a reproducible example that requires no Python in the standalone Arx executable.

WP2 — Compiler architecture (6 weeks)

Implement the minimum useful separation from issue #215: verified semantic program boundary, metadata validity and invalidation, backend-neutral verification, LLVM generator isolation and one safe semantic transformation (e.g. integer constant folding). Add normalization only when a concrete operation benefits. Align with #145 where useful rather than duplicating refactors.

Acceptance: verify representative supported programs without invoking LLVM; reject incomplete/stale records; compare transformed and baseline execution; preserve existing builder APIs, structured errors and native/linking behavior. No alternative backend or wholesale semantic tree rewrite is required.

WP3 — Core language and tooling (6 weeks)

Prioritize real blockers from the current issue backlog and library prototypes: local inference, typed calls and imports, ownership and cleanup, collection access and iteration, numeric semantics, binary I/O and diagnostics. Reconcile #149, #147, and #164 with current main before planning changes. Improve ArxPM dependency/native build workflow enough to distribute the reference libraries. Preserve ArxPy integration; ArxJIT native dispatch and general lazy-value support are conditional.

Acceptance: build and test an independent Arx package using typed numerical sequences and native dependencies; compile representative applications without compiler-internal workarounds. Document the supported language subset and remaining limitations.

WP4 — Native-library interoperability (4 weeks)

Establish typed C ABI declarations, opaque handles, buffer access, error/status handling, destruction and native dependency linking. Reuse registered runtime features; expose a narrow, validated extension mechanism. Use C wrappers for C++ and existing C interfaces for Rust and Fortran where appropriate. Evaluate header-driven tooling only if it reduces demonstrated work; a standalone ArxBind package is not required.

Develop ADBCx, an independent library built on ADBC (Arrow Database Connectivity), as the separately packaged reference integration, rather than adding a database-specific compiler feature. The initial package will connect through an existing ADBC C-compatible driver, execute a read-only query, and import the resulting ArrowArrayStream into the existing Arx batch-processing API. Use a local deterministic database (e.g. SQLite) for the required end-to-end test; target an existing Flight SQL driver and a controlled Flight SQL endpoint as a follow-on within available capacity. Dremio is a prospective interoperability target, not a project dependency or assumed partner.

Responsibility boundaries:

  • IRx analysis and registered native runtime features: generic FFI validation, typed resource/status contracts, Arrow C Data/C Stream import/export and safe ownership transfer via opaque handles. No SQL or ADBC-specific semantic rules or LLVM visitors.
  • Arx standard library: reusable Arrow container and reader APIs, checked stream adoption and resource/iteration abstractions. No mandatory ADBC, database driver, Flight SQL or network dependency. Keep raw C ABI access in the trusted native bridge rather than exposing C++ layouts to ordinary Arx code.
  • Independent ADBCx package: connection/statement lifecycle, driver selection and packaging, query execution, driver errors, options and credentials/TLS configuration when applicable; adopt returned streams through the reusable standard-library/runtime boundary. Reuse existing native drivers; do not implement a new SQL engine or wire protocol. The package and import name is adbcx.
  • ArxPM: native dependency declarations, build/link configuration and reproducible distribution for the independent package.

Acceptance: the independently packaged ADBCx example and a BLAS/LAPACK-backed example build and run without adding per-function LLVM visitors. The ADBCx example processes local query results as Arx record batches without a Python runtime. Test ABI mismatch, empty/null results, unsupported schemas, driver/query errors, early stream termination, statement/connection lifetime, release exactly once and output-slot validity. Document where copies occur and demonstrate compatible buffer transfer; do not promise end-to-end network zero-copy. Provide a repeatable integration recipe. A Flight SQL/Dremio demonstration is conditional on compatible driver/server versions, authentication and available test infrastructure.

WP5 — Asynchronous and parallel execution (3 weeks)

Provide a restricted CPU task/executor API with typed results, waiting, failure propagation and a clear shutdown/lifetime model. Implement a bounded parallel loop or map and at least one reduction over supported data; use an existing runtime such as OpenMP where it fits. Distinguish task concurrency from true nonblocking I/O: the latter and dedicated async/await syntax are conditional. Define permitted task captures and avoid unsafe shared mutation; document thread limits and Arrow/BLAS oversubscription.

Acceptance: serial/parallel result agreement, deterministic integer reduction under defined overflow rules, documented floating-point tolerance, worker failure/cleanup and bounded scheduling. MPI, general distributed execution and automatic parallelization are deferred.

WP6 — Numerical foundation and SciArx (5 weeks)

Reuse existing Arx arrays/tensors; establish dense shape/stride rules and a small numerical API. Bind selected BLAS/LAPACK routines for vector/matrix operations and linear systems. Build SciArx (scientific + Arx) around a coherent workflow: basic statistics, a linear solve or fit, root finding and basic quadrature within the optional scope. Prefer established algorithms over full SciPy compatibility.

Acceptance: numerical reference comparisons with documented tolerances, shape mismatch and singular/error cases, and an end-to-end analysis example. No separate incompatible array representation is required.

WP7 — Vizx (3 weeks)

Build on existing visualization work. Deliver a small plotting API consuming typed numerical/Arrow-derived sequences, line/scatter/bar charts, axes and labels, and SVG export. Histograms and PNG export are outside the required scope and depend on rendering and binary I/O readiness.

Acceptance: reproducible charts from the SciArx and data-processing examples, validated output files and clear errors for invalid input. Do not duplicate data infrastructure in the chart library.

WP8 — Quality, adoption and sustainability (5 weeks across year)

Maintain public progress, quarterly milestone releases and reference applications. Run focused earliest-layer tests, affected package CI, full project CI and docs build as applicable. Preserve typed APIs, strict runtime checking, Python compatibility targets (audit actual support for 3.10–3.14), native ownership sanitizer coverage and release/manifest consistency. Maintain reproducible performance measurements with pinned versions, data, toolchains and comparable work. Target three external pilot users or collaborators, not a guaranteed adoption commitment. Publish contribution and maintenance guidance.

4. Monthly milestones and decision gates

Month Main deliverable
1 Pinned baseline, capability matrix, verified-boundary design; identify Arrow gaps and library blockers
2 Semantic verification and incremental LLVM separation; Arrow ownership and ABI audit
3 Compiler milestone, first semantic transform, priority language fixes; begin Arrow integration slices
4 Arrow containers, schema handling and selected compute kernels
5 C Data/C Stream bridges, PyArrow tests and IPC integration
6 Bounded streaming, data I/O and second external interoperability demonstration; Arrow milestone
7 Reusable native packaging and C ABI binding workflow; begin independent ADBCx reference adapter
8 ADBCx local-query acceptance; parallel loop/reduction and numerical binding prototype
9 Restricted asynchronous task coordination and numerical foundation integration; runtime milestone
10 Numerical and SciArx reference workflow
11 Vizx release and integrated scientific demonstrations
12 Stabilization, benchmark reproduction, release, documentation and annual report

Quarterly gates: Q1 verified compiler boundary; Q2 required Arrow scope and two interoperability demonstrations; Q3 independent ADBCx reference package, numerical binding example and restricted task/parallel runtime; Q4 SciArx, Vizx, three reference applications and annual report. If Q2 slips, defer optional work first, then agree any changes to non-Arrow scope with sponsors. Maintain correctness and ownership tests. The Month 1 capability matrix records the supported scope for acceptance.

Sponsor recognition and milestone reporting

ArxLang will acknowledge sponsors on its official website, GitHub repositories and social media channels, and in relevant technical publications, videos, community events, release announcements and project reports. Recognition respects sponsor preferences, including anonymity and approval of logo usage. Sponsorship does not confer technical control.

5. Reference applications and success measures

Application Demonstration
Scientific analysis Read measurements from Parquet, compute statistics or fit a model, render a Vizx chart
Data processing Query a local database through ADBCx, process returned Arrow batches with Arrow Compute, exchange results with an external Arrow consumer; optional Flight SQL endpoint demonstration
Numerical modeling Solve a small numerical problem using native linear algebra, with reference comparison and plotted results

Year-end evidence: four quarterly reports and milestone releases; three runnable documented applications; two external Arrow interoperability demonstrations; at least two native binding examples (ADBCx and numerical bindings); one verified target-neutral transform; one restricted CPU task/parallel API; initial SciArx and Vizx releases; capability and compatibility matrices; reproducible benchmarks. Establish performance targets after baseline measurement, not unsupported speedup promises.

6. Institutional partnership and funding administration

Open Science Labs is ArxLang’s institutional partner and provides access to its fiscal sponsor, Open Source Collective. ArxLang has participated in Google Summer of Code through Open Science Labs, benefiting from contributor engagement and project development. This existing relationship supports the program’s community and sustainability strategy.

Funding is administered through the existing fiscal sponsorship relationship, with grant-specific payment arrangements addressed as needed. Financial contributions and project expenditures are publicly recorded through Open Collective. The schedule and budget do not depend on future GSoC participation or funding.

Technical communication and developer adoption

Publish 12 technical articles, six demonstration videos, four online workshops, six tutorials, four release announcements, four quarterly reports and an annual report. Include community discussions in the four online events. Quarterly themes: compiler and onboarding; Arrow interoperability; native and parallel computing; SciArx, Vizx and reference applications. All materials will be publicly accessible.

The $6,000 communication allocation funds editorial support ($1,800), video editing and captions ($2,000), online events ($1,000), educational illustrations/materials ($800) and publishing tools ($400). Maintainer writing and presentation time is included in WP8 and the engineering budget; external support avoids double-counting.

Funding budget (USD)

Item Amount
Full-time lead maintainer (12 × $8,000) $96,000
Infrastructure and continuous integration $3,000
Development equipment and cross-platform validation $2,000
Conferences and technical travel $3,000
Technical communication and developer adoption $6,000
External technical review $1,000
Payment processing and international transfers $1,320
Net project budget $112,320
Fiscal sponsorship fee (10% of gross receipts) $12,480
Gross funding request $124,800

Engineering: 1,920 hours at $50/hour. The ADBCx reference adapter replaces the generic external native-package example within WP4; its initial scope is limited to fit the existing allocation, with no additional budget or mandatory remote service integration. The $112,320 net budget plus the $12,480 OSC fee (10% of gross receipts) yields $124,800. Gross quarterly funding averages $31,200. The four-week engineering time reserve remains. Full and partial sponsorship are welcome; multiple sponsors may fund distinct activities without overlapping costs.

7. Risks and scope control

Risk Mitigation
One-maintainer capacity and maintenance demand 4-week working reserve; narrow initial capability matrix; quarterly scope reviews
Arrow ownership/ABI or numerical correctness defects Explicit lifetimes, failure-path tests, sanitizers, reference comparisons
Compiler refactor expands Preserve APIs, migrate incrementally, no speculative new backend
Native dependency/platform variability Pin tested toolchains and declare support matrix; use deterministic local ADBCx tests, keep external endpoint tests optional
Task/parallel safety Restrict captures and shared mutation; test failure/cleanup and thread budgets
Library readiness or adoption delays Build small vertical slices early; solicit pilot feedback without promising partners
Funding and eligibility constraints Adapt distinct work packages to sponsor requirements; address grant-specific terms

Deferred or stretch: full Arrow API parity; advanced Dataset/Acero, direct Flight clients, broad ADBC driver support, remote Flight SQL/Dremio validation beyond the local ADBCx reference adapter; distributed computing/MPI; GPU; complete binding generator; LibTorch/ArxTorch CPU inference prototype; comprehensive SciPy or PyTorch API coverage; new compiler backend. Any stretch work requires core milestone acceptance and available capacity. ML integration is an ecosystem direction, not a funded baseline promise.

8. Technical references