crystalline VS zig

Compare crystalline vs zig and see what are their differences.

crystalline

A Language Server Protocol implementation for Crystal. đź”® (by elbywan)

zig

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. (by ziglang)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
crystalline zig
3 857
453 36,744
1.1% 4.3%
6.3 10.0
3 months ago 2 days ago
Crystal Zig
MIT License 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.

crystalline

Posts with mentions or reviews of crystalline. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-08.
  • Speed & LSP
    3 projects | /r/crystal_programming | 8 Aug 2022
    I just tried to get crystalline working, and it seems to be working surprisingly well. Performance is and always will be an issue with LSP for Crystal, though. Crystal by its nature compiles slowly. Although, perhaps this will be helped by the new "interpreted" mode?
  • Lucky question (cross-post)
    1 project | /r/crystal_programming | 11 Jun 2022
    what about vscode + https://github.com/elbywan/crystalline jetbrains also ok with plugin for crystal
  • Crystal 1.1.0 Is Released
    9 projects | news.ycombinator.com | 21 Jul 2021
    There's a few LSP implementation that are very usable: https://github.com/crystal-lang-tools/scry, https://github.com/elbywan/crystalline

    Beginning of a tree-sitter parser here too: https://github.com/keidax/tree-sitter-crystal

zig

Posts with mentions or reviews of zig. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-24.
  • Ask HN: What are some software projects with impressive websites?
    5 projects | news.ycombinator.com | 24 Jan 2025
    I am looking for some inspiration at websites for software projects that do a very good of job explaining their product right from the get go. Things like programming language or database home pages/docs or open source projects with good git READMEs.

    Though I've never used it, I think https://ziglang.org/ is a great example as it explains what makes the language unique, gives a code example right at the beginning, and makes it clear where to find more samples so I can quickly judge the features of the project without having to go through the entire docs.

    Maybe this is debatable, but I feel like https://kubernetes.io/ is a counter example. It's one of my favorite tools, but the home page doesn't tell me much. I think I would have liked to see code snippets about Deployments or some sort of architecture diagram that explains what it does in terms of different well established protocols like cri-o or cgroups or something.

    You might disagree with my examples above, but I'm still curious to see what other people consider "good".

  • LLDB for Zig
    1 project | news.ycombinator.com | 24 Jan 2025
  • Development Environment Configuration
    20 projects | dev.to | 19 Jan 2025
    Programming Languages: Go, Rust, Zig
  • TIL: Ghostty — a new and quite promising terminal emulator
    7 projects | dev.to | 18 Jan 2025
    At the same time, in the internal Slack of the company I work for, my colleague asked the security team whether we have any policies about the apps, as they'd like to start using Ghostty as their terminal emulator. I took a look at it, and it immediately caught my attention: a fresh look, a zero-config setup, platform-native UI (discovered in details in the “Ghostty Is Native—So What?” post by Gregory Anders) and GPU acceleration, and FOSS with very permissive MIT license (here is the GitHub repo). I googled the author (Mitchell Hashimoto), and discovered that he is a co-founder of HashiCorp, that brought Terraform, Vargant, Consult, Vault, and others to the world. That's quite a list. And, last but not the least, Zig as the main programming language was an interesting factor as well.
  • C++ or Rust? I'd stick to my good old C++
    1 project | dev.to | 14 Jan 2025
    I'm not sure which language will be more mainstream in the future between these two. Maybe Zig(https://ziglang.org) can be some contender in the future, but not now at least - it could be a good contender at least it shows OOP grammar as simple as Python, internalizing vtable. For C++ and Rust, at least for me Rust is more like "you MUST do this" while C++ is like "you CAN do it also in this way." While one is highly opinionated, the other is unopinionated at all(that is to say, at least for me. your opinions are always welcome). And that may be one of the reasons that I don't like Qt? :D Maybe C++ is still superset of Rust in some way (it's just "in some way", because there are things unique in Rust language itself. For example, Rust trait can be mimicked with template class and combination of C++ enum and template class can behave like class-associated Rust enum, but C++ doesn't have anything equivalent or similar to borrow checker).
  • Flattening ASTs (and Other Compiler Data Structures)
    4 projects | news.ycombinator.com | 10 Jan 2025
    Zig compiler pipeline (AST, Zir, Air, Sema) does exactly this on all layers. Not only contiguous, but instead of array-of-structs it is struct-of-arrays, so walking the tree is even more cache friendly. For AST see: https://github.com/ziglang/zig/blob/master/lib/std/zig/Ast.z...
  • I Wrote a Game Boy Advance Game in Zig
    4 projects | news.ycombinator.com | 30 Dec 2024
    Yes, please read the comment linked at the issue description: https://github.com/ziglang/zig/issues/16270#issuecomment-161...
  • When Zig Is Safer and Faster Than Rust
    5 projects | news.ycombinator.com | 30 Dec 2024
    A few notes:

    1) Lack of a garbage collector does not make your program faster, it makes the performance more easily predictable in terms of latency.

    It also makes it more friendly for memory bandwidth, CPU cache and to overall memory usage, which in turn results in better performance in real-case scenarios vs synthetic/toy benchmarks. This is particularly noticeable in constrained environments (like embedded systems).

    2) Zig was never about memory safety, and it is not a memory-safe language.

    It might have better plumbing than C, it might add better way to implement and abstract concepts.. but so does C++, for instance.

    The more striking differences between C++ and Zig, IMHO, are syntax and the ability to use the same language instead of a separate one to do meta-programming (templates vs comptime).

    3) Aliasing enforcement in Rust is there for a reason.

    Two examples I quickly found on Zig's issue tracker:

    https://github.com/ziglang/zig/issues/3696

  • Enum of Arrays
    3 projects | news.ycombinator.com | 21 Dec 2024
    I'll tell you my experience with Zig. I don't have any. I saw maybe Primagen talking about it and I see your post here. I watched 10 minutes of your vimeo video. I see it has 30k+ stars on github. So now I have to try to understand it in a nutshell.

    First like any language, I go to indeed.com and put in "Zig" to see if there are any jobs listed which use it. I don't see any.

    Then I click to https://ziglang.org/ and it describes Zig as "robust, optimal and reusable". Well that doesn't really say much of anything.

    I read the example listed, which appears to be a test case, and I wonder how the 'try' mechanism works without a 'catch'

    Then I go to https://ziglang.org/documentation/master/ and see that it says:

  • Zon – object notation like JSON in Zig
    1 project | news.ycombinator.com | 28 Nov 2024

What are some alternatives?

When comparing crystalline and zig you can also consider the following projects:

tree-sitter-crystal

Odin - Odin Programming Language

crystal-libraries-neede

v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io

fib - Performance Benchmark of top Github languages

ssr-proxy-js - A Server-Side Rendering Proxy focused on customization and flexibility!

scry - Scry is a code analysis server for https://crystal-lang.org

Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

crystal-libraries-needed - A list of libraries that are needed or wanted for the Crystal-Language

go - The Go programming language

crystal - The Crystal Programming Language

rust - Empowering everyone to build reliable and efficient software.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Crystal is
the 61st most popular programming language
based on number of references?