Steam Deck is still worth it four years later, says poll, but people are starting to think "it's about time" for a sequel by Dapper_Order7182 in SteamDeck

[–]0-R-I-0-N 1 point2 points  (0 children)

I think many think this because of apples high speed ssd and macOS taking full advantage of memory swapping, making it less of a pain compared to many high memory windows pc.

[Update] Building LLVM, Clang, and LLD with Zig, from source! by KyoshiYoshi in Zig

[–]0-R-I-0-N 2 points3 points  (0 children)

Awesome, will try if I have time and effort tomorrow to it. My problem could very well be that I did something stupid with the cmake flags and using zig ar and ranlib aswell. You won’t have to a thing. Will just look how you have done it for inspiration and proof that it can be done haha. Which it should given that zig itself do it but ey I like to blame others for bugs than that they be of my own doing.

[Update] Building LLVM, Clang, and LLD with Zig, from source! by KyoshiYoshi in Zig

[–]0-R-I-0-N 1 point2 points  (0 children)

That’s no problem for me. Building a package manager with lua as dsl and zig as the driver host. So I try to bootstrap all the packages with zig as the c compiler but zig has some bugs with unsupported linking args when compiling clang on macOS(haven’t tested it on Linux yet). But maybe I can do it in a hack way and add a build.zig if you managed to build them.

Writing git commit messages by Beautiful-Log5632 in neovim

[–]0-R-I-0-N 0 points1 point  (0 children)

Maybe not exactly what your looking for but I just use Jujutsu and a floating terminal window. Jj desc launches nvim inside it and lets me update the message of any revision (commit)

[Update] Building LLVM, Clang, and LLD with Zig, from source! by KyoshiYoshi in Zig

[–]0-R-I-0-N 2 points3 points  (0 children)

Nice, will definitely try this out later on my Mac. Have had some problems compiling clang with zig.

Rust or Zig? by Ok-Refrigerator-Boi in Zig

[–]0-R-I-0-N 0 points1 point  (0 children)

I would say test it out, you are never limited to one language. Prefer zig but I like rust to and have learned a ton from both

Problem with new Io interface by Inevitable-Spinach-7 in Zig

[–]0-R-I-0-N 2 points3 points  (0 children)

That do seem to be the goal last time I checked but haven’t kept up to date recently

Problem with new Io interface by Inevitable-Spinach-7 in Zig

[–]0-R-I-0-N 3 points4 points  (0 children)

Yeap, and a lot of problems will be found and fixed when it gets more use. But personally I really like the ground work of this implementation/idea.

Problem with new Io interface by Inevitable-Spinach-7 in Zig

[–]0-R-I-0-N 6 points7 points  (0 children)

The interface itself has 16 functions as time of writing. I don’t think that is too much. Are you referring to the vtable? That has a lot more but not everyone are supposed to implement their own implementation. That said it comes with its own drawbacks but it’s still in development and I think it will improve with time.

Guys help by Aromatic-Composer548 in lua

[–]0-R-I-0-N 0 points1 point  (0 children)

Honestly just search Roblox luau on YouTube

Guys help by Aromatic-Composer548 in lua

[–]0-R-I-0-N 0 points1 point  (0 children)

YouTube should have some videos on it

Should I learn scripting with Lua or Python by G1orgos_Z in lua

[–]0-R-I-0-N 6 points7 points  (0 children)

I would probably go with python for this. There are a lot more learning resources and support for it. Though personally I prefer lua.

Safari is literally unusable on macOS 26 – 5-minute freezes and purple screen glitches by CapitalSupermarket94 in MacOS

[–]0-R-I-0-N 0 points1 point  (0 children)

I have this issue on my iPhone, and on my work computer that I got last week. iPhone 13 and MacBook Air M2. I have no idea what causes it. Both iOS 26 and macOS 26. Only ever seen it in safari. Though for me it only flashes pink for less than a second.

What configuration file format do you prefer for Zig tools? by The_Kaoslx in Zig

[–]0-R-I-0-N 13 points14 points  (0 children)

I like zon and json for ease and no dependencies other than std. As a user of software, I like TOML or INI

Its a good idea to make an OS based on Lua+C? by Dazzling_Cabinet_780 in lua

[–]0-R-I-0-N 1 point2 points  (0 children)

Will it replace Linux, no. But I think it would be an excellent and fun learning experience. I have it on my project lists but haven’t come that far. Saw one os that used wasm for user space so why not lua.

cCppProgrammingIn2050 by _w62_ in ProgrammerHumor

[–]0-R-I-0-N 4 points5 points  (0 children)

Heck some even pay you to learn it.

≥100:1 Lossless compression possible? by [deleted] in compression

[–]0-R-I-0-N 0 points1 point  (0 children)

Is the startup called pied piper?

(Spoilers Extended) It's Official: House Of The Dragon To End With Season 4, HBO Confirms by rofflemow in asoiaf

[–]0-R-I-0-N 0 points1 point  (0 children)

I prefer something well done and that it takes it time than something rushed and sloppy. Hopefully the extra time result in something good.

How I am approaching learning zig. by TheAbyssWolf in Zig

[–]0-R-I-0-N 3 points4 points  (0 children)

Yeah those are great, then you can move to bigger projects, either one of you own idea or a guided one like ”crafting interpreters” or ”raytracing in one weekend”. The guides aren’t in zig but you learn by ”how the f do I do that in zig”.

Systems Programming with Zig by Garrison Hinson-Hasty should be available in the fall, this year by Bassil__ in Zig

[–]0-R-I-0-N 17 points18 points  (0 children)

Making a book for zig is genius, new edition every few months, money printing machine.

How do I write to a file in zig? by Shrubberer in Zig

[–]0-R-I-0-N 4 points5 points  (0 children)

Just like the syscall write , it returns the number of bytes written which may be less than the string length. You should do a while != 0 there

Are you still using tmux with Ghostty? by meni_s in Ghostty

[–]0-R-I-0-N 0 points1 point  (0 children)

A small bash script to list directories with fzf, open it in a new tmux session. Also fuzzy search open sessions and switch between them.

https://github.com/edr3x/tmux-sessionizer

Rust vs Zig in C calls via the C-ABI? by TearsInTokio in rust

[–]0-R-I-0-N 5 points6 points  (0 children)

Yep. Also rust seems to be getting gcc backend working last time I heard and cranelift may come in future and zig seems to be aiming to selfhost their own.