Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Simon Brooke
Simon Brooke
@simon_brooke@mastodon.scot  ·  activity timestamp 6 days ago

I have a really big software project which is stalled because I'm hitting bugs I can't resolve trying to write it in C. So I've been thinking for some years about using a different implementation language, and was leaning towards #Rust. Recently, I've started looking seriously at #Zig.

Comparisons between Rust, #Go and Zig:

https://sinclairtarget.com/blog/2025/08/thoughts-on-go-vs.-rust-vs.-zig/
https://dev.to/dev_tips/zig-rust-go-i-tried-3-low-level-languages-and-heres-what-im-sticking-with-4gpp
https://betterstack.com/community/guides/scaling-go/rust-vs-go-vs-zig/
https://ziglang.org/learn/why_zig_rust_d_cpp/

/Continued

Why Zig When There is Already C++, D, and Rust?
⚡
Zig Programming Language
3 more link(s)
Simon Brooke
Simon Brooke
@simon_brooke@mastodon.scot replied  ·  activity timestamp 6 days ago

But! Compiling the `master` branch of Zig requires LLVM 21, which is not available from @Debian for #Debian13trixie, and the #apt repository at https://apt.llvm.org, which does have the package, has a dodgy signature, so the package won't install.

So either I have to move to an unstable operating system release, which I could do but doesn't thrill me, or I have to compile LLVM 21 from scratch, which seems like a major side project.

Here be dragons.

  • Copy link
  • Flag this comment
  • Block

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About · Code of conduct · Privacy ·
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct