rollbrettklauen, to Blog German

Hey, everyone 🫶

Was reading a few blog posts today and was wondering, if anyone is interested to share their favourite #blog or #article

My favs are:

https://blog.orhun.dev by @orhun, mostly about #Linux, #Rust and a cool series called #Zig Bits

https://words.filippo.io by @filippo, about everything #cryptography and a bit of #Golang

I like reading about #serenityos from time to time on https://awesomekling.github.io

What are yours? :)

(Boost for exposure? :blobcatheartbongo:)

drewdevault, to random
@drewdevault@fosstodon.org avatar

Mercury docs improvements

Updated README:

https://git.sr.ht/~sircmpwn/mercury

Updated Mercury library docs and configured automatic deployments:

https://mercury.ares-os.org

Still some work to do, notably around improving ipcgen to generate more doc comments for generated protocol code

seeg,

@drewdevault Interesting times, having #hare, #vlang, #zig in development. These are all great and hopefully they'll replace #golang. Anyways, I think hare is sometimes a bit too simple. How would one implement a generic map type? I guess with union types? Do you have an example somewhere?

guidoschmidt, to ZigLang
@guidoschmidt@genart.social avatar

TIOBE Index for June 2023: Will AI Affect Python's Dominance?

https://www.techrepublic.com/article/tiobe-index-language-rankings/

#zig #programming #coding #languages

amodm, to zig

Andrew's comment here strikes such a good balance between listening to the community and exercising the authority needed to make significant changes.

https://github.com/ziglang/zig/issues/16270#issuecomment-1616115039

surabax, to zig

Wow, the lead developer of Zig proposed to ditch LLVM: https://github.com/ziglang/zig/issues/16270

It seems to be a pretty radical change, and not everyone is happy with it. There are users that rely on the C++ interop enabled by LLVM.

#Zig #ZigLang #LLVM #Cpp #ProgrammingLanguages #Compilers #Programming #Tech #Technology

toxi, to zig
@toxi@mastodon.thi.ng avatar

Just updated all https://thi.ng/wasm-api packages, related example projects & build scripts to work with the latest #Zig v0.11-dev version. Due to recent Zig syntax changes[1] and to keep things simple on my end, I've had to discontinue support for older Zig versions (incl. v0.10.1)

[1] https://github.com/ziglang/zig/pull/16163

#ThingUmbrella #Ziglang #WebAssembly

toxi, to zig
@toxi@mastodon.thi.ng avatar

- I could really need some help/advice to work around some recent breaking changes in the build system: https://ziggit.dev/t/zig-build-specifying-install-path-for-static-library/952 🙏

baadc0de, to rust

Will people stop comparing Zig's comptime to Rust's macros? They are not the same!

Sure, there is some overlap, but comptime can do things macros can't do (such as really nice assertion checks), and macros can do things that comptime can't do (such as code generation).

#rust #rustlang #zig

yujiri, to random

has made me really dislike . it's not the worst thing ever but there are so many awkward bits, random special cases, and pointless footguns.

jbzfn, to random
@jbzfn@mastodon.social avatar

🦎 I think Zig is hard...but worth it
➥ ratfactor

"Zig is trying to help. C and assemblers don’t much care what I do with my memory, so they make it "easy" to write code that performs actions regardless of type. But if I get it wrong (and I will), the program will segfault. The language won’t get in my way, but it won’t help me either. Zig makes you get it right, and that’s a good thing. Slower and more tedious, especially at first, but good."

#Zig #ZigLang https://ratfactor.com/zig/hard

nixCraft, to random
@nixCraft@mastodon.social avatar

What's your favourite programming language for side (hobby) project? ✨

farcaller,
@farcaller@hdev.im avatar

@nixCraft #rust used to be fun but apparently I do way more stuff in #dart because it's fast, easy, and not #javascript

I want to take a closer look at #zig one of these days.

yujiri, to random

yooo! #zig seems to have fixed a long-standing issue where building the compiler using its build.zig directly instead of cmake+make would always produce a non-working executable for me, even with the same version.

yujiri, to random

excited for the #WebAssembly build of #SpacestationDefense! Almost all the pieces are in the place, I've figured out how to wrangle #emscripten into cooperating. I just need the #zig folks to release async support and then I can write the necessary websocket API.

mitchellh, to random

Over the weekend I published a blog post describing how I integrate Zig with SwiftUI. This enables me to create cross-platform apps with native GUI experiences while a vast majority of the code remains shared/platform-neutral. https://mitchellh.com/writing/zig-and-swiftui #zig #ziglang

requiem, to random

I’m really enjoying so far. First-class support for SIMD built right into the language is really cool, but especially because they though it was important enough to put into a language that is deliberately kept small.

https://ziglang.org/documentation/master/#Vectors

I have a number of projects that will benefit from this once I get more proficient with the language itself.

LGUG2Z, to rust
@LGUG2Z@hachyderm.io avatar

Does anyone know of any good "intro to #Zig for #Rust devs" articles or videos? 🤔

karlos, to random German
@karlos@en.osm.town avatar

Is there anyone knowing how to use #ZigLang on #macOS ?
What means a "shell startup script" ? (to extend the PATH)
I think, #Zig may be a good language for OpenStreetMap tools.

janriemer, to rust

I've just seen the following comment 😅

"I Zigged so much to the point that I left my compiler in the rain and got Rust"

#Zig #Rust #RustLang #Funny #ZigLang

lorddimwit, to programming
@lorddimwit@mastodon.social avatar

My 18yo nephew asked me what my favorite #ProgrammingLanguage is and I don’t actually know the answer.

I use #C and #Go for applications. I write #Python for data munging and scripts and small apps. I’ve written many thousands of lines of each. I sponsor #Zig.

But is one of them my favorite?

I think my favorite would probably be something like #APL or #BQN or #Lisp or #Prolog or #PostScript or #Forth or #REXX or #Tcl or #Eiffel or #REBOL or #Oberon or #HyperTalk or #TutorialD or…

appliedgo, to random

With Go's toolchain, cross-compiling is a breeze. But what if your repo contains C++ code as well?

Faced with the outlook of setting up and maintaining 15 LLVM toolchains (three host architectures multiplied by five targets), a team at Uber decided to build a C++ version of Go's cross-compiling toolchain.

Their toolchain is based on Zig, which is more lightweight than an LLVM or GCC solution and supports all targets at once. So they only need one toolchain per host.

Result: "Since January 2023, the Zig toolchain compiles all of the C and C++ code in Uber’s Go Monorepo for Linux targets."

Kudos!

https://www.uber.com/en-US/blog/bootstrapping-ubers-infrastructure-on-arm64-with-zig/?utm_source=appliedgo-mastodon

#golang #zig #uber

thomasreggi, to programming

Who is someone you follow on mastodon that is a programmer and posts regularly about new technologies? Looking for people to follow.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • Durango
  • ethstaker
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • Leos
  • osvaldo12
  • tacticalgear
  • cubers
  • cisconetworking
  • anitta
  • provamag3
  • modclub
  • mdbf
  • GTA5RPClips
  • tester
  • megavids
  • normalnudes
  • lostlight
  • All magazines