advent_of_code_ex VS scryer-prolog

Compare advent_of_code_ex vs scryer-prolog and see what are their differences.

advent_of_code_ex

Advent of Code solutions in Elixir, and a bunch of musings on them. (by epiccoleman)

scryer-prolog

A modern Prolog implementation written mostly in Rust. (by mthom)
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
advent_of_code_ex scryer-prolog
2 42
0 1,904
- -
7.0 9.7
6 months ago 10 days ago
Elixir Rust
- BSD 3-clause "New" or "Revised" 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.

advent_of_code_ex

Posts with mentions or reviews of advent_of_code_ex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-01.
  • Advent of Code 2023 is nigh
    19 projects | news.ycombinator.com | 1 Dec 2023
    > Test your code as you go. Printing the output of intermediate steps to the console is a great way of catching bugs.

    Honestly, just set up whatever you need to be able to write unit tests in your lang of choice. These problems are _so_ amenable to a piecewise approach driven by tests. I'm not like a big TDD advocate or anything, but these problems are great practice for that style of coding - it's just so damn useful to know each of your small pieces of code work.

    Parameterized tests are amazing for AoC, because you can get a handful of test cases basically for free from the puzzle description. If your code doesn't work once you've got all the samples working, you either have some weird edge case that you didn't consider, or you've got one of the brute-force killer puzzles.

    Even for today's, I wound up with 43 different test cases. The vast majority of those are from the puzzle text, and adding them didn't really make the puzzle take that much longer. (Obviously, if you're optimizing for solve speed, you probably wouldn't bother with this approach, but I'm not).

    https://github.com/epiccoleman/advent_of_code_ex/blob/master...

    Another thing of note is that every puzzle basically operates on a list of strings, so it's pretty easy to genericize certain parts of the work of solving puzzles. I have a script which generates a module for the solution in my repo, with separate functions for each part that receive the input, and a test file that has tests for part 1 and part 2. The tests read the input file and pass it as a list of strings (lines) to the part_1 and part_2 functions, so that all the boilerplate is already done, and I get to just focus on writing the guts of the part_1 and part_2 functions (which usually get broken down into several other functions, which can also be tested individually).

scryer-prolog

Posts with mentions or reviews of scryer-prolog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-05.

What are some alternatives?

When comparing advent_of_code_ex and scryer-prolog you can also consider the following projects:

advent2023 - scribblings at advent of code 2023

swipl-devel - SWI-Prolog Main development repository

advent-of-code - Advent of Code 2022 solutions

logica - Logica is a logic programming language that compiles to SQL. It runs on Google BigQuery, PostgreSQL and SQLite.

tanenbaum - OCaml Advent of Code starter project

differential-datalog - DDlog is a programming language for incremental computation. It is well suited for writing programs that continuously update their output in response to input changes. A DDlog programmer does not write incremental algorithms; instead they specify the desired input-output mapping in a declarative manner.

kino_aoc - A helper for Advent of Code (a smart cell) for Elixir Livebook

materialize - The data warehouse for operational workloads.

AdventOfCode2023

tau-prolog - An open source Prolog interpreter in JavaScript

fs_playground - F# Playground

prolog - The only reasonable scripting engine for Go.