Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use hx-lua-simdjson for Lua json parsing #9885

Merged
merged 2 commits into from
Sep 11, 2020
Merged

Conversation

jdonaldson
Copy link
Member

This commit turns on the new simdjson parsing feature for Lua.
Simdjson is a fast json parsing library leveraging advanced SIMD instructions:
https://github.com/simdjson/simdjson

We use a haxe-specific lua wrapper to support the special Haxe array/object behaviors:
https://github.com/jdonaldson/hx-lua-simdjson

@jdonaldson
Copy link
Member Author

The CI tests passed on an early run. I'll rebase and squash to keep this clean.

@jdonaldson jdonaldson merged commit 5fdb166 into development Sep 11, 2020
@skial skial mentioned this pull request Sep 14, 2020
1 task
@shakesoda
Copy link

@jdonaldson heads up, this breaks stuff with -D lua-vanilla/anywhere binary deps are a no-go.

back2dos pushed a commit to back2dos/haxe that referenced this pull request Oct 5, 2021
* [lua] update with hx-lua-simdjson

* [lua] bump haxe-deps
tobil4sk added a commit to tobil4sk/HaxeManual that referenced this pull request Apr 2, 2023
tobil4sk added a commit to tobil4sk/HaxeManual that referenced this pull request Apr 5, 2023
Simn pushed a commit to HaxeFoundation/HaxeManual that referenced this pull request Apr 5, 2023
* Update bit dependency docs for lua

Lua 5.1 requires installing bit32 manually. [0]

Lua 5.2 provides bit32 natively. [1]

Lua 5.3 still has it natively, though it is deprecated in favour of
native operators. [2]

Lua 5.4 removes this library from the standard installation, so it must
be installed again. [3]

[0]  HaxeFoundation/haxe#10923
[1] https://www.lua.org/manual/5.2/manual.html#6.7
[2] http://www.lua.org/manual/5.3/manual.html#8.2
[3] http://www.lua.org/manual/5.4/manual.html#3.4.2

* Add luasec dependency

HaxeFoundation/haxe#10593

* Remove environ dependency

HaxeFoundation/haxe@9d75bec

* Add hx-lua-simdjson dependency

HaxeFoundation/haxe#9885
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants