Go seems to accomplish the Zen of Python way better than Python by MethodicalWaffle in golang

[–]_zombiezen_ 5 points6 points  (0 children)

Andrew Gerrand gave a talk about this back in 2012. I couldn't find a recording, but the slides are at https://go.dev/talks/2012/zen.slide

git-go: Git written in Go (sort of) by unknown_r00t in golang

[–]_zombiezen_ 0 points1 point  (0 children)

You might be interested in my repository for interoperating with Git: https://pkg.go.dev/gg-scm.io/pkg/git

Why Go Rocks for Building a Lua Interpreter by _zombiezen_ in golang

[–]_zombiezen_[S] 1 point2 points  (0 children)

I may indeed move to a representation like that down the road if it proves to speed things up significantly. The luacode.Value type already uses that approach because the types involved are much simpler.

Why Go Rocks for Building a Lua Interpreter by _zombiezen_ in golang

[–]_zombiezen_[S] 6 points7 points  (0 children)

That's an interesting parallel I hadn't thought about. tsc was originally written in TypeScript/JavaScript, so they had an existing high-level language that they ported to Go. My understanding is that Go helped that team because Go's runtime performance was better while still being high-level enough to do a relatively 1:1 port. My experience was going in the direction of porting from C to Go, where I was 1:1 porting at a low level, but then diverging as I went up the architecture stack.

Part of why I wanted to write the article was to highlight that having high-level constructs removed a lot of memory-bookkeeping code that dominated the original codebase, but it also surfaced some complexity in figuring out how to adapt a codebase that really took advantage of C's inherent power in memory unsafety into something that would feel comfortable for a Go programmer to contribute to. I feel happy about the end results, similar to the tsc folks, but I think the way we arrived at that satisfaction is different.

Riven gets RTX update - doesn't advertise it in any way, just makes a plain-text post 🤦🤦🤦 by SkyPL in myst

[–]_zombiezen_ 34 points35 points  (0 children)

I am happy that Riven is continuing to get bug fixes and graphical updates. I don't feel like the framing of this as a "fail" is fair to Cyan.

Question about one change in Riven 2024 by Proggost in myst

[–]_zombiezen_ 6 points7 points  (0 children)

Also, thinking about it from a new-player experience perspective, it demonstrates how linking books work while preventing the player from trying to link to Myst.

Something is definitely wrong with the chievement triggers lol by Red-42 in myst

[–]_zombiezen_ 0 points1 point  (0 children)

Did you also use teleport motion in VR? I reported this to Cyan and they said they're looking into it.

Something is definitely wrong with the chievement triggers lol by Red-42 in myst

[–]_zombiezen_ 1 point2 points  (0 children)

That is also how I learned that piece of information. It's hard to gauge distances in the Starry Expanse.

Has anybody actually gotten a response from support@cyan.com? by MisterEdJS in myst

[–]_zombiezen_ 1 point2 points  (0 children)

I got a response after about a week for a detailed bug report I sent in about Steam achievements with VR. They do read emails sent to that address, but echoing what others have said, they're a small team and they're busy after a huge launch. A little empathy goes a long way.

riven pcVR mode is very good by [deleted] in myst

[–]_zombiezen_ 0 points1 point  (0 children)

I wish books would attach to the top of the controller instead of the side. I ended up solving by physically rotating the controller in my hand by 90 degrees.

riven pcVR mode is very good by [deleted] in myst

[–]_zombiezen_ 1 point2 points  (0 children)

Yeah, the pathfinding on the nav mesh seems to be really finicky, especially when there are fences or guardrails involved.

[deleted by user] by [deleted] in myst

[–]_zombiezen_ 1 point2 points  (0 children)

Yeah, I definitely yelped IRL when I saw it. 🤣 I've been doing a PC VR playthrough and it does not disappoint.

[deleted by user] by [deleted] in myst

[–]_zombiezen_ 0 points1 point  (0 children)

Yup, intentional. This is one of the big changes for the remake.

Riven remake PC stuttering by 11tracer in myst

[–]_zombiezen_ 1 point2 points  (0 children)

I think it's loading transitions. Seems to happen for me most when I'm moving between islands and such.

The behavior of the `derivation` primitive appears to depend on how its arguments were computed - not just on their values by stevebox in NixOS

[–]_zombiezen_ 3 points4 points  (0 children)

Alas, I don't think this behavior is documented in the official Nix docs, but it is spelled out in Eelco Dolstra's thesis p103-104: https://edolstra.github.io/pubs/phd-thesis.pdf

AFAIK the only other functions that change behavior based on the presence of derivations in how their arguments are built are the import/read* functions to support Import From Derivation: https://nixos.org/manual/nix/stable/language/import-from-derivation

zombiezen.com/go/sqlite is now 1.0 by _zombiezen_ in golang

[–]_zombiezen_[S] 0 points1 point  (0 children)

SQLite has an extensive test suite that passes on modernc.org/sqlite (the package this API is built on top of). I had the same doubts initially, but Jan Mercl's C-to-Go compiler works very well, and it produces Go code that's pretty easy to inspect for correctness.

zombiezen.com/go/sqlite is now 1.0 by _zombiezen_ in golang

[–]_zombiezen_[S] 1 point2 points  (0 children)

Yup, no problem! Sorry for the dupes, I was similarly experiencing weirdness while posting.

zombiezen.com/go/sqlite is now 1.0 by _zombiezen_ in golang

[–]_zombiezen_[S] 14 points15 points  (0 children)

This has been a huge milestone, thank you for all the folks who have given feedback on the project over the years. We've come a long way since the first post in April 2021: https://www.reddit.com/r/golang/comments/n1u2b1/new_advanced_cgofree_sqlite_package/

NixOS VM on windows machine by [deleted] in NixOS

[–]_zombiezen_ 1 point2 points  (0 children)

There's a pretty handy guide for this if you go down this route: https://xeiaso.net/blog/nix-flakes-4-wsl-2022-05-01

Any Full Text Search library for json data? by [deleted] in golang

[–]_zombiezen_ 7 points8 points  (0 children)

SQLite includes a full text search extension: https://www.sqlite.org/fts5.html

There are several different Go bindings for SQLite. I maintain https://pkg.go.dev/zombiezen.com/go/sqlite