Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@philpax
Copy link
Collaborator

@philpax philpax commented Dec 18, 2025

Add the following atomic types as predefined primitives that can be used in .pyxis type definitions:

  • AtomicBool (1 byte)
  • AtomicU8, AtomicI8 (1 byte)
  • AtomicU16, AtomicI16 (2 bytes)
  • AtomicU32, AtomicI32 (4 bytes)
  • AtomicU64, AtomicI64 (8 bytes)

The Rust backend maps these to their std::sync::atomic equivalents. The JSON backend outputs them as-is (no special handling needed).

Closes #11

Add the following atomic types as predefined primitives that can be
used in .pyxis type definitions:
- AtomicBool (1 byte)
- AtomicU8, AtomicI8 (1 byte)
- AtomicU16, AtomicI16 (2 bytes)
- AtomicU32, AtomicI32 (4 bytes)
- AtomicU64, AtomicI64 (8 bytes)

The Rust backend maps these to their std::sync::atomic equivalents.
The JSON backend outputs them as-is (no special handling needed).

Closes #11
@philpax philpax merged commit f52e456 into main Dec 18, 2025
2 checks passed
@philpax philpax deleted the claude/add-atomic-types-QgAsN branch December 18, 2025 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add atomic types

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.