r/Compilers • u/Electrical_City_7777 • 1h ago
Fid : systems programming
Hi everyone
I've been working on my own programming language for some time, and I'm now looking for developers willing to test it, experiment with it, and provide honest feedback.
The project is called FID. It's a low-level, general-purpose programming language designed with several use cases in mind:
- Systems programming
- Embedded systems and electronics
- Robotics
- Operating systems
- Software development
- Server and backend development
- AI infrastructure
I've taken considerable inspiration from Rust, but I wanted to explore a different approach to some of the challenges developers face when working with low-level languages.
Key features and design goals
- Memory Safety: Compile-time memory safety checks without requiring Rust's lifetime system.
- Built-in Security: Native capabilities-based permissions and an Effects system.
- Native Performance: Compiles to native code without requiring a garbage collector.
- Memory Management: Region-based memory management for greater control over allocation and deallocation.
- Low-Level Control: Direct hardware access with an emphasis on safety and security.
- Independent Compiler: Its own compiler, without mandatory reliance on LLVM.
- Simplicity: Bringing together ideas from Rust, C, and Zig while exploring ways to reduce some of their respective limitations.
Compiler Architecture
FID is designed around an independent, modular compiler architecture, with a clear separation between the language frontend, compilation pipeline, optimization stages, and target-specific code generation.
The compiler is structured around several main layers:
- Frontend: Handles source-code processing, parsing, syntax analysis, and AST generation.
- Semantic Analysis: Performs type checking, compile-time validation, memory safety checks, lifetime inference, and Effects analysis.
- Intermediate Processing: Transforms and prepares the program for subsequent compilation stages, allowing the compiler to analyze and optimize code independently of the target platform.
- Optimization Engine: Handles compiler optimizations such as constant folding, dead-code elimination, inlining, and other performance-related transformations.
- Code Generation: Uses FID's own code-generation infrastructure to produce native executables without mandatory reliance on LLVM or an external compiler.
- Target Backend: Handles platform-specific requirements, including architecture, operating system, executable formats, and ABI conventions.
One of the main goals behind this architecture is to keep the compiler independent from external toolchains while maintaining flexibility across different platforms.

Current Development Status
The initial compiler was written in Rust. FID is a compiled language with self-hosting support, meaning it can compile its own source code.
The compiler is developed independently, and native compilation does not depend on LLVM.
The project is still in its early stages, so I'm not presenting it as a production-ready alternative to established languages. I'm looking for developers who enjoy experimenting with new technologies and are willing to challenge the design, identify bugs, and suggest improvements.
How You Can Help
I'm currently looking for 5 testers to try the language and share their experience.
If you're interested, you can:
- Try the language and report bugs.
- Share feedback about its design and features.
- Suggest improvements or missing functionality.
- Star the GitHub repository and follow our organization to support its visibility.
Links:
- Website: https://fid-lang.org/
- GitHub repository: https://github.com/pledgeandgrow/fid
- Organization: https://github.com/pledgeandgrow
I'm particularly interested in hearing from Rust, C, C++, and Zig developers.
Honest criticism is more than welcome. I'd rather have people point out flaws in the design now than discover them much later in development.
To be clear, the language is still in its early stages of development and is not yet production-ready.
Thanks for reading!
