Skip to content

Remove ffix integration#161

Open
bycruz wants to merge 33 commits into
masterfrom
no-ffix
Open

Remove ffix integration#161
bycruz wants to merge 33 commits into
masterfrom
no-ffix

Conversation

@bycruz

@bycruz bycruz commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

The reason why it was integrated was out of the need for lde to run itself without clashing with its own ffi symbols and not being able to update.

However it has become problematic for several reasons

  • Pain to maintain
  • Adds significant overhead to some ffi operations (ideally should only be using constructors though still)
  • Still doesn't work entirely

Since this doesn't really seem necessary to users I'll ditch it and figure out an alternative. For now, my option is likely going to be using https://github.com/lde-org/lua-sys to create an isolated lua state to lde run with instead of pseudo-sandboxing with setfenv. It will also increase security to introduce this.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 6, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
lde af1a635 Commit Preview URL

Branch Preview URL
Jul 08 2026, 04:33 AM

@bycruz

bycruz commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator Author

To integrate lua-sys, need windows symbols to be exported: #147

@bycruz

bycruz commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator Author

Blocked by some odd regression? at some point. Nondeterministic segfaults when running the compile step. Related to previous issue about linker / libc implementation freeing luajit ffi objects.

But happens on master branch as well so unrelated to changes here.

@bycruz bycruz force-pushed the no-ffix branch 7 times, most recently from 14cf565 to f88d86d Compare July 8, 2026 04:30
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.

1 participant