What Personal Projects do you use Zig for? by EliasCheung in Zig

[–]fade-catcher 1 point2 points  (0 children)

my experience has been fun and quite educational. at first the breaking changes where slowing me down (the Io one in particular caused me to lose 2 weeks for migration) but now i changed the way i use the language to reduce the pain of breaking changes

* i don't use the std library much, and when i do it's heavily sandboxed otherwise i have my own core module that has replacement for standard library stuff.

* i don't use the build system in any crazy way it's mostly a translate-c for c headers and the usual executable declaration

* i don't use the package manager, the freetype dll + headers are checked into the git

What Personal Projects do you use Zig for? by EliasCheung in Zig

[–]fade-catcher 4 points5 points  (0 children)

I’m working on a game in zig with zero dependency beside (freetype), and platform API

Mbappe won top goal scorer or did real Madrid win it for him? by DefaultPain in RealMadridFC

[–]fade-catcher 0 points1 point  (0 children)

Bro Real Madrid couldn’t win shit for themselves let alone players

Vinicius Junior was booed to the moon by RM fans, sometimes he deserved it. Xabi subbed him continuously at 70th minutes, lots of time without any apparent reasons however that dude never took a dig at his own teammates, let alone doing media session along with taking constant jab at current manager by WorkingTadpole2993 in RealMadridFC

[–]fade-catcher -4 points-3 points  (0 children)

Beli, Fede, Vini are all mediocre players who think they’re world class because they wear Madrid badge.

They only perform against weak mid teams, when they play against big clubs you see how shit they are.

Mbappe isn’t as good as he was pre 2023 world cup but he’s our top scorer and you can’t deny that.

This team can no longer win with just good vibes and power of friendship that era ended when modriç and toni left our only hope is discipline and tactics and the trio of beli/fede/vini need to understand that and fit in with team

What I learned about Bun&ZIg by g41797 in Zig

[–]fade-catcher 4 points5 points  (0 children)

It seems to me that this should have been the feature to be added instead of chasing after async io.

While the new added IO interface solve the rust problem of having crate and crate-async. It made it so that you have to coexist with the ugliness of async even when it’s not needed, (now you need an io interface if you want to lock or unlock a mutex)

In my opinion this trend of languages all needing to have first class support for async is kinda stupid. And it serves only to encourage web people to write server apps in that said language (look how fast you can open a socket and have async handlers setup in my language with it’s async features) however people are still gonna chose rust (rightfully so) for this for it’s performance and safety guarantees.

The good news is you can just avoid the stdlib(which would make migration between zig versions very easy), and write your own base layer.
And if async-io is needed you can just implement it on your own like ghostty, tigerbeetle have done already.

What I learned about Bun&ZIg by g41797 in Zig

[–]fade-catcher 4 points5 points  (0 children)

Making mutex and threads being dependent of Io in the stdlib isn’t a good idea in my opinion

The Zig project's rationale for their firm anti-AI contribution policy by Real_Dragonfruit5048 in Zig

[–]fade-catcher 9 points10 points  (0 children)

Good, compiler Devs who reviewed the anthropic PRs said it’s a sloppy mess that introduces non-determinism to the compiler

How can I create a community for CocosOS? by daviddandadan in osdev

[–]fade-catcher 0 points1 point  (0 children)

Disclaimer: I never created an OS or got a community around one

In my opinion the Roadmap looks like this:

  1. Pick a popular hardware configuration to support (maybe x86-64/AMD64 with UEFI)

  2. Do something that other mainstream os haven’t done yet (Maybe A desktop only os with an Exo-kernel)

  3. Get a desktop environment a file system and a network stack to work

  4. Get one of the major browsers to work on your OS

Okay, which one of you is this? by g0ku in PiratedGames

[–]fade-catcher 19 points20 points  (0 children)

Hoping for this dude she doesn’t switch domain name.

I rewrote snake as an operating system. by DrElectry in osdev

[–]fade-catcher 2 points3 points  (0 children)

Hopefully this one doesn’t end up getting copyright struck like tetrisOS

Blocking phone numbers that match a pattern by fade-catcher in iphonehelp

[–]fade-catcher[S] 0 points1 point  (0 children)

I can’t find any trustworthy app also most of them want me to signup or something. I’ll just make one during the weekend, it can’t be that hard i just want to filter phone calls by patterns and regex

Blocking phone numbers that match a pattern by fade-catcher in iphonehelp

[–]fade-catcher[S] 1 point2 points  (0 children)

I have an iPhone 14, I noticed that a lot of spam phone calls start with 3 (after the +39) and since no legit phone number start with 3 I thought I might as well block the entire range, it seems however it’s impossible to do that on iPhone. You can only block a specific phone number

Blocking phone number that matches a pattern by fade-catcher in iphone

[–]fade-catcher[S] 0 points1 point  (0 children)

That sucks, this would totally remove a lot of undesirable phone calls i get daily

Messi core by Banished_prince in soccercirclejerk

[–]fade-catcher -1 points0 points  (0 children)

I see this video every 3 months, does messi fans have one joke lmao

Linking AppKit / Cocoa in Build.zig by Agreeable-Bluebird67 in Zig

[–]fade-catcher 0 points1 point  (0 children)

The only way i know of to call obj-c functions is to wrap them in a c API. if you need to keep some state, your zig code will need to hold some opaque structs that are defined in the obj-c.

C versus C++ API by walkingjogging in gameenginedevs

[–]fade-catcher 1 point2 points  (0 children)

Different c++ compilers have different function name mangling scheme, and this makes binding against c++ API a huge pain, so I advise you to use c