HackerTrans
TopNewTrendsCommentsPastAskShowJobs

generichuman

no profile record

Submissions

No-One Is Going to Buy Your Videogame

illomens.itch.io
25 points·by generichuman·قبل 29 يومًا·2 comments

Pico GPU is a 300KB memory GPU intended to learn and experiment with shaders

ncannasse.github.io
2 points·by generichuman·قبل 6 أشهر·0 comments

[untitled]

1 points·by generichuman·قبل 6 أشهر·0 comments

Producing Open Source Software – 2nd edition

producingoss.com
1 points·by generichuman·قبل 8 أشهر·0 comments

NJVL: Nim's New Intermediate Representation

github.com
78 points·by generichuman·قبل 8 أشهر·9 comments

Detour: Dynamic linking on Linux without Libc

github.com
79 points·by generichuman·قبل 9 أشهر·8 comments

comments

generichuman
·قبل 13 يومًا·discuss
You can use GLM in OpenCode with a z.ai subscription by default as well. Also it'd be good if you mentioned you were involved with nemesis8.
generichuman
·قبل 5 أشهر·discuss
That's cool. I imagine I could also maintain a MinGW package that can be downloaded through the Zig package manager and statically linked without involving the zig libc? (Such that the user doesn't need to install anything but zig)

That's a good way to sell moving over to the zig build system, and eventually zig the language itself in some real-world scenarios imo.
generichuman
·قبل 5 أشهر·discuss
This is very exciting for zig projects linking C libraries. Though I'm curious about the following case:

Let's say I'm building a C program targeting Windows with MinGW & only using Zig as a cross compiler. Is there a way to still statically link MinGW's libc implementation or does this mean that's going away and I can only statically link ziglibc even if it looks like MinGW from the outside?
generichuman
·قبل 6 أشهر·discuss
Check Detour out: https://github.com/graphitemaster/detour?tab=readme-ov-file#...

I suspect with combination of Detour & Zapps it could be possible.
generichuman
·قبل 6 أشهر·discuss
Can you build GUI programs with this? I'm thinking anything that would depend on GPU drivers. Anything built with SDL, OpenGL, Vulkan, whatever.
generichuman
·قبل 8 أشهر·discuss
If your use case is generating html, MathML is supported in all modern browsers: https://developer.mozilla.org/en-US/docs/Web/MathML#browser_...
generichuman
·قبل 8 أشهر·discuss
I will be even more impressed with linux syscall stability if your implication is that (some) people need to recompile their software for each major update on all other UNIXes.
generichuman
·قبل 8 أشهر·discuss
I'm only thinking in terms of Linux distributions since I never needed to deploy software on other UNIXes (excluding macOS, but Apple constantly forces changes anyway).

Do other UNIXes have any problems similar to glibc ABI problems that Linux users experience, or do they stabilise the libc ABI similar to how Linux keeps syscalls stable?
generichuman
·قبل 8 أشهر·discuss
That doesn't give you independence from the libc, does it? By extension you lose distro-independence too (not sure if Detour supports musl-based ones, need to run tests).

Agree that IPC will be more secure and stable though.

I imagine Detour is mostly targeting closed source projects trying to run on as many distros as possible.
generichuman
·قبل 9 أشهر·discuss
That's only true if you're making CRUD software and easily replaceable by any random programmer. For anything more serious LLMs are only useful as a better search engine.
generichuman
·قبل 10 أشهر·discuss
Keep in mind there _may_ be a negative feedback loop there.

If you're building your software in a way that won't be able to perform better with superior disk/db/network performance, then it isn't worthwhile to ever upgrade to a more performant disk/db/network.

If it is possible, make sure your software will actually be faster on a faster disk rather than just testing on a slow disk and thinking "well we're I/O bound anyway, so no need to improve perf".