sail VS riscv-profiles

Compare sail vs riscv-profiles and see what are their differences.

sail

Sail architecture definition language (by rems-project)
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
sail riscv-profiles
2 21
546 87
6.0% -
9.5 8.0
4 days ago about 1 month ago
Isabelle Makefile
GNU General Public License v3.0 or later Creative Commons Attribution 4.0
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.

sail

Posts with mentions or reviews of sail. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-28.
  • How to improve the RISC-V specification
    9 projects | news.ycombinator.com | 28 Apr 2024
    Sail is pretty similar to ASL (both current ASL and ASL 1.0) except that (1) it has a more expressive type system, so that bitvector lengths can all be statically checked, (2) it has proper tagged unions and pattern matching, and (3) there's a wide range of open-source tooling available, for execution, specification coverage, generating emulators, integrating with relaxed concurrency models, generating theorem-prover definitions, etc. We've recently updated the Sail README, which spells some of this out: https://github.com/rems-project/sail .

    As Alastair Reid says, one of the main things missing in the current RISC-V specification documents is simply that the associated Sail definitions are not yet interspersed with the prose instruction descriptions. The infrastructure to do that has been available for some time, in the Sail AsciiDoc support by Alasdair Armstrong (https://github.com/Alasdair/asciidoctor-sail/blob/master/doc...) and older LaTeX versions by Prashanth Mundkur and Alasdair (https://github.com/rems-project/riscv-isa-manual/blob/sail/r...).

  • Candy – a minimalistic functional programming language
    5 projects | news.ycombinator.com | 24 Feb 2024
    That's completely feasible and there are languages that do this. It doesn't really eliminate the need to run your program unless the inputs to your program are also completely restricted types like One, Two, Three. In which case yeah, you don't need to run it and the type system can just tell you the answer.

    I believe you can do that sort of thing in loads of type systems, e.g. Typescript, but there are languages that intentionally support it. I use a niche DSL that has fancy types like this called Sail. https://github.com/rems-project/sail

    In my experience the downsides of these fancy "first class type systems" are

    1. More incomprehensible error messages.

    2. The type checker moves from a deterministic process that either succeeds or fails in an understandable way, to SMT solvers which can just say "yep it's ok" or "nope, couldn't prove it", semi-randomly, and there's little you can do about it.

    Still my experience of Sail is that it's very comfortable to go a little bit further into SMT land, and my experience of Dafny is that it's very unpleasant to go full formal-verification at the moment.

    I've done a fair bit of hardware formal verification too and that's a different story - very easy and very powerful. I'm hoping one day that software formal verification is like that.

riscv-profiles

Posts with mentions or reviews of riscv-profiles. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-28.

What are some alternatives?

When comparing sail and riscv-profiles you can also consider the following projects:

riscv-platform-specs - RISC-V Profiles and Platform Specification

xuantie-yocto - Yocto project for Xuantie RISC-V CPU

openc906 - OpenXuantie - OpenC906 Core

riscv-v-spec - Working draft of the proposed RISC-V V vector extension

volk - The Vector Optimized Library of Kernels

riscv-bitmanip - Working draft of the proposed RISC-V Bitmanipulation extension

linux-on-litex-vexriscv - Linux on LiteX-VexRiscv

riscv-code-size-reduction

VisionFive2

openc910 - OpenXuantie - OpenC910 Core

herdtools7 - The Herd toolsuite to deal with .cat memory models (version 7.xx)

PSn00bSDK - The most powerful open source SDK for the PS1 (as far as open source PS1 SDKs go). Not recommended for beginner use.