lineiform VS strop

Compare lineiform vs strop and see what are their differences.

strop

Stochastically generates machine code (by omarandlorraine)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
lineiform strop
8 31
155 97
- -
0.0 5.4
about 1 year ago about 1 month ago
Rust Rust
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

lineiform

Posts with mentions or reviews of lineiform. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-16.
  • JITting functions in Rust for runtime performance flexibility
    4 projects | /r/rust | 16 Dec 2022
    Sounds similar to lineiform. Which isn't all that stable or actively developed, but it is a cute approach to writing a meta-jit in rust. It's a weird approach, but IMO it's worth more experimentation.
  • What’s everyone working on this week (9/2022)?
    10 projects | /r/rust | 27 Feb 2022
    Working on Lineiform, my meta-JIT library, some more.
  • Lineiform, a meta-JIT library for Rust interpreters
    1 project | /r/rust | 17 Feb 2022
    In response to Cranelift, switching to my own Tangle IR won't be using Cranelift at all (it uses raw dynasm-rs for emitting instructions). I go into a bit in https://github.com/chc4/lineiform/issues/19, but Cranelift specifically has some rules about iflags, the type they use to conceptualize processor flags effects (e.g. add's carryout or overflow). You can only have one iflags value live at a time, and it can't overlap with any other math operation. This is a problem because the x86 we're lifting doesn't always follow that rule, so if we just emit Cranelift as we go it will panic and say we built an invalid function.
    2 projects | news.ycombinator.com | 15 Feb 2022
    I go into a bit in https://github.com/chc4/lineiform/issues/19, but it's less a problem with its optimizer and more a problem with its IR constraints. Cranelift specifically has some rules about `iflags`, the type they use to conceptualize processor flags effects (e.g. add's carryout or overflow). You can only have one `iflags` value live at a time, and it can't overlap with any other math operation. This is a problem because the x86 we're lifting doesn't always follow that rule, so if we just emit Cranelift as we go it will panic and say we built an invalid function.

    The iflags design in general is kinda awkward too, and was being rethought a few months ago when I was first getting this working; I think they're planning on redesigning the add carryout interface and things to be slightly more streamlined. I suspect that any redesigned interface will have similar problems with mismatch between what I want from Cranelift and what 90% of other uses of Cranelfit want, though, and so I decided to just make my own IR instead.

  • What's everyone working on this week (3/2022)?
    7 projects | /r/rust | 17 Jan 2022
    Working on the codegen backend for Lineiform again. I sketched out a plan on how to implement register allocation in a way that hopefully doesn't have horrible behavior in the majority of cases, and implemented ~half of it last week, and hopefully I'll implement the other half and instruction scheduling this week.
  • HN: == Happy New Year HN == (What is your “plans” for the new year?)
    2 projects | news.ycombinator.com | 31 Dec 2021
    Yup, https://github.com/chc4/lineiform. It's not usable at all yet - I was building it on top of Cranelift, which turned out to be a fairly bad idea, so I'm going to have to essentially rewrite all of it with my own codegen backend I think. I've been hacking on it on and off but it's been much slower progress due to work (and writing a codegen backend is hard...)
  • What's everyone working on this week (32/2021)?
    7 projects | /r/rust | 9 Aug 2021
    I got struck by either a very dumb or very good idea a few days ago, and finally have a working (minimal) proof-of-concept for it: Lineiform is a meta-JIT library to nearly automatically get an optimizing method JIT from a Rust interpreter. It does dynamic recompilation on closures by lifting from x86 to Cranelift IR for runtime function inlining and constant propagation.

strop

Posts with mentions or reviews of strop. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-08.
  • Why isn't clippy warning me?
    4 projects | /r/learnrust | 8 Jun 2023
    I am completely rewriting strop, (the code sucks, and I know Rust a lot better than when I started, so I wanted to make it a bit better structured and more idiomatic). And I like to have static analysis make sure my code has certain qualities, so I stick this:
  • What's everyone working on this week (16/2023)?
    19 projects | /r/rust | 17 Apr 2023
    Do you think it's an architecture for strop then? It has a focus on code-generation on platforms not well supported by mainstream compilers
  • strop v0.1.1
    2 projects | /r/rust | 5 Sep 2022
    Here is a project for generating code for CPUs that do not have much support from mainstream compilers. Currently supported are the 6502 and the STM8 (I'll possibly be adding others in the future, feature requests welcome).
  • Willing to work for free on rust projects
    3 projects | /r/rust | 9 Aug 2022
    I could use some help on my project strop. Feel free to take a look and see if it's the kind of thing you feel you could contribute to! but be aware that the quality of the codebase is poor. There's a pull request to address this though.
  • Why aren't my things turning up in my library?
    2 projects | /r/learnrust | 1 Aug 2022
    It is my first time of making a Rust library. Actually, my project strop has been a binary crate and only recently have I started trying to use it from a different crate. This is happening on the breakapart branch.
  • What's everyone working on this week (31/2022)?
    11 projects | /r/rust | 1 Aug 2022
    Still working on a big rewrite of strop.
  • Want to volunteer for your projects
    1 project | /r/embedded | 19 Jul 2022
    If you're offering free help, then I could use some help with my project strop. (TL;DR: instead of compiling code, it's evolving code. And it has a focus on architectures that don't have good support from mainstream compilers, but I'm open to adding other architectures as well).
  • Are PIC controllers still used in industries?
    1 project | /r/embedded | 19 Jul 2022
    My frustration with this kind of situation (and PICs are not unique here, the 6502, CP1600 and other very low end chips have similarly problematic toolchaining) led me to invent strop, for evolving code sequences. It has some basic PIC support.
  • Rust's Option and Result. In Python.
    6 projects | /r/rust | 25 Jun 2022
    Hadn't thought of this. I even encountered it recently too.
  • What's everyone working on this week (23/2022)?
    6 projects | /r/rust | 6 Jun 2022
    I am still working on strop. (TL;DR alternative to compiled code, it's evolved code. Tell it which function you want and which registers to use, and it'll randomly generate an assembly language program that does what you wanted)

What are some alternatives?

When comparing lineiform and strop you can also consider the following projects:

soundfingerprinting - Open source audio fingerprinting in .NET. An efficient algorithm for acoustic fingerprinting written purely in C#.

nvim-bacon - bacon's companion for neovim

cranelift-jit-demo - JIT compiler and runtime for a toy language, using Cranelift

hlbc - Hashlink bytecode disassembler, analyzer, decompiler and assembler.

augmented-audio - Rust - Augmented Audio Libraries

uom - Units of measurement -- type-safe zero-cost dimensional analysis

Nova - Implementation of "Ray Tracing in One Weekend": https://raytracing.github.io/books/RayTracingInOneWeekend.html

rtrb - A realtime-safe single-producer single-consumer (SPSC) ring buffer

rust-rocksdb - rust wrapper for rocksdb

indicatif - A command line progress reporting library for Rust

cargo-mutants - :zombie: Inject bugs and see if your tests catch them!