repairwheel
ZQuestClassic
repairwheel | ZQuestClassic | |
---|---|---|
3 | 11 | |
29 | 453 | |
- | 0.4% | |
7.1 | 9.9 | |
18 days ago | 1 day ago | |
Python | C++ | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
repairwheel
-
Ask HN: What rabbit hole(s) did you dive into recently?
I got into cross-compiling Python wheels (e.g., building macos wheels on linux and vice versa). Zig's `zig cc` does much of the heavy lifting, but one step in building a portable wheel is the "repair" process which vends native library dependencies into the wheel, necessitating binary patching (auditwheel does this for linux, delocate for macos).
I wanted to be able to do this cross platform, so I re-implemented ELF patching and Mach-O patching and adhoc signing in Python, and wrapped them into a tool called repairwheel: https://github.com/jvolkman/repairwheel
-
Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
I'll plug some work I've been doing to (attempt to) enable cross compilation of Python wheels. I put together a small example [1] that builds the zstandard wheel, and can build macos wheels on linux and linux wheels on macos using zig cc.
macos wheels must still be adhoc signed (codesign) and binary patched (install_name_tool), so I re-implemented those functions in Python [2].
[1] https://github.com/jvolkman/bazel-pycross-zstandard-example
[2] https://github.com/jvolkman/repairwheel/tree/main/src/repair...
-
Sunday Daily Thread: What's everyone working on this week?
I mixed auditwheel, delocate, and delvewheel into a single tool called repairwheel and reimplemented all of the required external tools (patchelf, otool, codesign, etc.) in pure python.
ZQuestClassic
-
Ask HN: What rabbit hole(s) did you dive into recently?
I've been doing some modernization on an old scripting language used by the game engine I work on [1]. Added a garbage collector, simplified how internal symbols are defined, added a VS code extension with some niceties like syntax highlighting, "Go to Definition", and doc tooltips. Also recently added support for websockets and plan to tackle JSON soon.
https://github.com/ZQuestClassic/ZQuestClassic
-
Lessons from Open-Source Game Projects
ZQuest Classic - Engine to play and create games like the original Zelda. C++, OpenGL
-
Ask HN: Show me your half baked project
Developing a new website for the open source game engine I work on. Nearly finished with it.
https://zquestclassic.com
It's a Zelda-like game engine with some 1000ish games made in it over 20 years. Used to be called Zelda Classic, but we renamed it this year.
-
A forum engine written in Assembly
Thanks, that was a silly oversight. Your comment is appreciated, as it saved an instruction in my game engine's JIT compilation :)
https://github.com/ArmageddonGames/ZQuestClassic/commit/0a78...
-
Show HN: Using C++23 <stacktrace> to get proper crash logs in C++ programs
I found Sentry's crash reporting (which uses crashpad) simple enough to configure into an existing CMake build within an afternoon.
Building Sentry/crashpad from source in a few lines of CMake: https://github.com/ArmageddonGames/ZQuestClassic/commit/3471...
And a few lines in the main function: https://github.com/ArmageddonGames/ZQuestClassic/commit/3471...
-
Ask HN: Examples of desktop software with 20+ years of longevity?
My hobby is working on a 20+ year game engine. Still occasionally delete DOS-only code in it. https://github.com/ArmageddonGames/ZQuestClassic
-
MSVC: The Devourer of Const
```
The `Hero.{x,y}` properties here are a custom fixed precision number class with some implicit conversions to int, which I suspect being relevant to the crash.
[1] https://github.com/ArmageddonGames/ZQuestClassic/blob/e678e9...
-
Ccache – a fast C/C++ compiler cache
https://github.com/ArmageddonGames/ZQuestClassic/commit/641d...
Using it locally too, works great on Mac, but on Windows ccache has some problems caching debug builds. IIRC the embedded debug symbols use absolute paths, so the presence of this particular flag (/Z something...) disables cache eligibility.
-
An evolution of handhelds. 1989-2022
i love zelda. if interested in custom quests on pc, go to zeldaclassic.com 100s of custom quests
-
Nintendo games I have played in my life. Rate my taste.
If you'd like to try custom quests on computer, go to http://zeldaclassic.com
What are some alternatives?
tensorflow-windows-wheel - Tensorflow prebuilt binary for Windows
shellrunner - Write safe shell scripts in Python.
cibuildwheel - 🎡 Build Python wheels for all the platforms with minimal configuration.
nature - 🍀 The Nature Programming Language, may you be able to experience the joy of programming.
twine - Utilities for interacting with PyPI
react-gamin - A rockin' React library for makin' games!
py2exe - Create standalone Windows programs from Python code
rascal - RAnsac Assisted Spectral CALibration
htmx - </> htmx - high power tools for HTML
icecream - Distributed compiler with a central scheduler to share build load
goreleaser-cross - Docker image for Golang cross-compiling with CGO
esther - Dear Esther, you're about to become an idea for a diary app that embeds an LLM.