๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ u โ€บ drh3xx โ€บ 1492 captured on 2023-11-04 at 16:26:13. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2023-09-28)

โžก๏ธ Next capture (2023-11-14)

๐Ÿšง View Differences

-=-=-=-=-=-=-

Comment by ๐Ÿ drh3xx

Re: "Zig and Vlang?"

In: s/OpenBSD

@jeang3nie yeah I can use const; the (admittedly only potential) problems are when you forget to use const and then either yourself or a contributor change a var/pointer/etc... which should never have been changable. Imutability by default is just another nice safety net but not essential. The fact Zig has a nice built in test framework is a big plus for it. Defer is definately a nice addition to any language. I think I'm leaning more toward Zig even though it's going to need work on OpenBSD; I did spot the Capy UI toolkit which needs some work too but seems usable for basic GUI cross platform even now.

๐Ÿ drh3xx

2023-06-03 ยท 5 months ago

2 Later Comments โ†“

๐Ÿฆ€ jeang3nie

@drh3xx capy is using gtk3 under the hood, but doesn't provide anywhere near the functionality of using gtk directly. I had hand written bindings to gtk3 and vte that were being used in Zterm, but I always knew that was a dead end. The best gtk path in Zig right now is zig-gobject. It's doing what I really should have done and using gobject-introspection to machine generate the zig bindings.

โ€” https://github.com/ianprime0509/zig-gobject

๐Ÿ drh3xx

@jeang3nie thanks for the link I'll check it out later.

Original Post

๐ŸŒ’ s/OpenBSD

Zig and Vlang?

๐Ÿ’ฌ drh3xx ยท 11 comments ยท 1 like ยท 2023-06-02 ยท 5 months ago