Videos
Just want to pick a new language for a new project. Specially with good support for Gui toolkit and should be natively compiled
Last week, I posted this benchmark in the rust and golang subreddit and the community made suggestions that sped up the code...So I thought it'd be fair to post it here to get some feedback as zig isn't doing too well and I'm sure it can be optimized.
Repo: https://github.com/jinyus/related_post_gen
Have you tried Rust before picking up Zig? What made you pick up Zig if so?
My choice for bare metal is either Rust or Zig, and I find Rust too complicated, even though I can code in pretty much any language out there.
There’s just too much of “oh, just use…” with Box, Rc, Arc, traits, types, etc. that’s being used to paper over complexity. Only Haskell is more complicated than Rust, IMO, and there I can choose OCaml instead. I’m wondering if OCaml is to Haskell what Zig is to Rust.
We wrote a blockchain in Rust once upon a time. It was rock-solid but I couldn’t fix/improve it later. Also, I’ve been reversing drone firmware C/C++ binaries for close to 3 years now. I also picked up Forth and I’m writing a disassembler CPU module for an obscure arch I never knew existed.
I have an appreciation for how things look at the lowest level and they are very straightforward. Rust, on the other hand, is almost solving a social problem, complexity be damned! Likely because you can’t enforce memory safety in decent-sized teams and someone somewhere is bound to slip up.
I’m looking to write drone firmware.
Thread here as well:
https://x.com/joelreymont/status/1848069555425530361?s=46
Hi Everyone,
I am a self taught fullstack javascript developer. I wanted to deepen my knowledge and was thinking of learning one C level language (C#, Go or Zig). I was thinking of doing my DSA in one of these languages to understand low level programming.
My first preference is not Job (My JS is enough for that) but to build my own Devops/CyberSecurity Products. Which path would you suggest would be better.
I was thinking of Go but the realised that for general purpose apps NodeJS is marginally infirior to Go. I am leaning towards Zig because of no Garbage collection, which i felt provides it an exponential edge over NodeJS as compared to Golang.
I maybe wrong, as am still learning would really appriciate if fellow developers could guide me in right direction.
Thanks
https://lewiscampbell.tech/blog/250117.html
TL;DR is the title.
Hi, I'm a huge Gopher, Go is in my opinion, the best programming language, When I heard of Zig, I instantly got interested, After writing a few trivial programs with it, I decided to port my NES Emulator (That's written in Go) to Zig, now, my question is, What are the major differences between Go and Zig?
I've been deep in Zig for the last 3 years and have loved every step. Yet, from around the corner, Rust always seems to poke its head out; and several times I have built tools and projects in Rust to try to get 'into it', yet it has never really clicked like Zig.
Rust is getting more-and-more popular. Is it worth going ten toes deep? Or should I ride the storm with Zig?
I'm a Go developer and I do like a lot the simplicity of Zig because it looks like Go. At the same time Rust has some really nice reasons to be used given it's safety. So if I'm looking for a low level language why should I use Zig and not Rust? They're equally fast, use the same backend LLVM, equally low level Rust is safer, etc...
I am planning on becoming fluent in a low level language, already have 5+ year programming experience.
I’ve been seeing online discussion regarding both lately, so I wanted to ask your opinions in the pros and cons of both. What do you think?
Last week, I posted this benchmark in the rust and golang subreddit and the community made suggestions that sped up the code...So I thought it'd be fair to post it here to get some feedback.
I made a direct port of the go version for c# and it's not performing as expected. It's getting beat by dart, swift, f# etc. so there's obviously something wrong. Nothing sticks out to me though so I hope someone here can optimize it.
nb: This is my first time writing c#.
Repo: https://github.com/jinyus/related_post_gen