nowfound

Alternatives

Products that do what My pl/0 compiler implemented in Rust (for college curruculum design) does

I've implemented a `pl/0 compiler` in `rust-lang` to fulfill the curriculum design for `Principles of Compiler Design` in my college (NUAA, China). Here's the GitHub repository url: https://github.com/DrEden33773/pl_0 As far as I know, `Rust` is not well adpated (even known) by college students around the world. So, this project is to prove that it's totally possible to design a complete & usable project in Rust for a beginner. This implementation has a complete error handling strategy, which means it could find as many errors as possible in one run, instead of being…

  1. 1IM

    An implementation of a dynamic programming language in Rust. Includes: Parser/Compiler, REPL, Virtual Machine, Bytecode Disassembler This started out as a learning project to teach myself Rust. It has grown into a decently substantial piece of software and I've learned quite a bit in the process! Some neat things: + A garbage collector that can store dynamically sized types without any double-indirection (i.e. I have my own Box implementation with manual alloc/dealloc) + The smart pointer used to reference GCed data is a thin pointer. The ptr metadata needed for DSTs is stored in…

    2022 · github.com

  2. 2CA
  3. 3GI

    Hi all! I'm going into my freshman year, and figured that the best way to prepare for the intro to programming Racket course would be to implement my own garbage-collected, dynamically typed, functional programming language in C ;) Anyways... here's the repo: https://github.com/liam-ilan/crumb I started learning C over the summer, so I still have a whole lot to learn... Any feedback would be greatly appreciated! :D

    2023

  4. 4OC

    Hello. I wanted to share what I had been working on for the past couple of months or so. It's an optimizing C compiler for a large subset of the C programming language written in Rust. It's basically a Rust implementation of the C compiler from Nora Sandler's book[1]. It has been a great educational exercise and I wholeheartedly recommend it to everyone. [1]: https://nostarch.com/writing-c-compiler

    2024 · github.com

  5. 5AM

    "Game" is a stretch, but I put together this repo containing a pure Rust app which uses SDL2 and compiles to WASM (and can be run in a browser). Older resources were a bit out of date and a bit too verbose for my purposes, so here's a minimal working example.

    2024 · github.com

  6. 6RC
  7. 7HT

    Basically wrap your data struct in Option>> Better yet, use your custom type that provides few helper functions that make using it as nice as old C++ pointers. Obviously there's no pointer arithmetic, but it works great for dynamically allocated structures like trees or linked lists. Please comment how it's a horrible idea that will bring doom to me and my family. fn main() { struct Data { pub number: i32 } // struct Data { int number; }; let mut p:Pointer = Pointer(None); // Data *p = NULL; println!("{}", p.is_none()); // printf(p == NULL ? "true\n" :…

    2022

  8. 8RB

    May 2026 · github.com

  9. 9AR
  10. 10PA

    I’m sure many of you are familiar, but there’s a treacherous gap between finding (or building) a model that works in PyTorch, and getting that deployed into your application, especially in consumer-facing applications. I’ve been very interested in solving this problem with a great developer experience. Over time, I gradually realized that the highest-impact thing to have was a way to go from existing Python code to a self-contained native binary—in other words, a Python compiler. I was already pretty familiar with a successful attempt: when Apple introduced armv8 on the iPhone 5s, they…

    2025 · blog.fxn.ai

  11. 11UR

    This project is inspired by some of the asserts in Unreal engine. Due to reliance on core_intrinsics it is necessary to develop using nightly Rust, but there are stubs in place so a production build will not require nightly. I recently released version 0.2 which includes no_std support and adds optional log message arguments to the ensure macro.

    2024 · github.com

  12. 12LR
  13. 13AF
  14. 14CA
  15. 15AE
  16. 16

    I wrote libcorrect in C in 2016 and wanted to revisit it in Rust. Instead of doing just a direct conversion, I went down the rabbit hole of making Rust's std::simd work for me. I ended up with a templated, generic Viterbi decoder for convolutional codes that dispatches the decode at runtime depending on which instruction sets are available. For small rates and orders, the entire decode lives in registers. Larger codes work through memory but take advantage of some acceleration structures. I also spent some time building a tool to find optimal (max d_free) conv codes for a given rate and…

    Aug 2026 · github.com

  17. 17CA
  18. 18RS
  19. 19MA

    Ever since childhood I've wanted to play around with modular synthesis, so now I'm building an application to do just that!

    2023 · github.com

  20. 20AF

    Serialization framework with some interesting numbers: 10-20x faster on nested objects than json/protobuf. Technical approach: compile-time codegen (no reflection), compact binary protocol with meta-packing, little-endian layout optimized for modern CPUs. Unique features that other fast serializers don't have: - Cross-language without IDL files (Rust ↔ Python/Java/Go) - Trait object serialization (Box) - Automatic circular reference handling - Schema evolution without coordination Happy to discuss design trade-offs. Benchmarks:…

    Oct 2025 · fory.apache.org

  21. 21AT
  22. 22

    Hi HN, I'm new to Rust and, after half of `The Rust Programming Language` I decided to delve into a project I would actually use: a markdown to html compiler that actually serves my micro-blog (I started just right after publishing the project hehe). The project is intentionally small and one-file contained: I wanted to have the full picture in mind. I'm open to comments, suggestions and PRs. If you asked me more convincing arguments to "why did you do it?" rather than "to learn Rust" I would respond with: LLMs are effectively a new type of web users today and will be more and more present…

    Jul 2026 · andreadimatteo.com

  23. 23RF

    Alternative to magic.h and infer. Zero dependencies. Fully extensible. Works in no_std, async, and embedded contexts.

    2025 · crates.io

  24. 24TA

    Hi community, we just released https://github.com/tonbo-io/typed-arrow. When working with arrow-rs, we noticed that schemas are declared at runtime. This often leads to runtime errors and makes development less safe. typed-arrow takes a different approach: - Schemas are declared at compile time with Rust’s type system. - This eliminates runtime schema errors. - And introduces no runtime overhead — everything is checked and generated by the compiler. If you’ve run into Arrow runtime schema issues, and your schema is stable (not defined or switched at runtime), this project…

    2025 · github.com

Ranked by how close each launch is in meaning, then by votes. Refine with a description →