Compatibility haxe 4.3.7 + hashlink 2.0 for hlc
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- c
- Domain
- backend, build-system
Research direction
Start by comparing the referenced Haxe commits with HashLink's hl/c code generation and compile paths; the issue does not name specific files or tests. Reproduce a compile failure with Haxe 4.3.7 and HashLink 2.0 using hlc, then check that this combination compiles while the existing hl/jit behavior remains working.
Written by the indexing model from the issue text.
Description
Since vobj change
- append virtual table at end of HOBJ type, faster virtual dispatch c04f88977c5c5775410183b76f48fd16681e740e
- rename vobj_proto to vobj_table to prevent hl/c crash with older haxe 8c21e7689a685dbd2c5a6b12518eca13c6382455
- [hl] support for hlv2 & backward compat hl/c gen https://github.com/HaxeFoundation/haxe/commit/b34720791899416e3336b95c793d8ea78c6e954d
Haxe 4.3.7 + Hashlink 2.0 for hl/c no longer compile (hl/jit still works). And I think it won't cost that much to support this combination.
I was trying to figured out a claude fix, but I didn't have enough time to challenge and review it, so I think let an issue here is better
- Dominant language
- C
- Stars
- 911
- Forks
- 207
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 13
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HaxeFoundation/hashlink
-
sys_full_path on Windows copies only half of each path part's case on diskPossibly taken @dimensionscape claimed this 1 day ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
HaxeFoundation/hashlink#1026 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
HaxeFoundation/hashlink#1016 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug]hl_get_ustring() dereferences a NULL code->ustrings when the string table is empty (CWE-476)Possibly taken @1820893135-pixel claimed this 29 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
HaxeFoundation/hashlink#997 · 3 comments ·
Maintainers usually reply within 1 day
-
[Bug]hl_code_read(): unvalidated negative string-table size corrupts the bump allocator, leading to an out-of-bounds memset in hl_zalloc() (CWE-787 / CWE-190)Possibly taken @1820893135-pixel claimed this 29 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
HaxeFoundation/hashlink#996 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 64/100
HaxeFoundation/hashlink#397 · 2 comments ·
Maintainers usually reply within 1 day
All issues in HaxeFoundation/hashlink
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
SanderMertens/flecs#2446 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kornelski/rust-lcms2#27 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
zmkfirmware/zmk#3571 ·
Maintainers usually reply within 10 days
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Stream parser writes past `esc_buff` after an invalid escapePossibly taken @benmandrew claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100